@bodil I haven't tested it myself but the docs indicate that if the string is in the prompt it should trigger a refusal from the API.

platform.claude.com/docs/en/te