Behavioral Override Without Canary Echo

Canary tokens primarily detect prompt *extraction* by monitoring for their unique string in the output. They cannot prevent or detect attacks that successfully override system instructions to alter the LLM's behavior (e.g., generating harmful content or ignoring safety rules) without explicitly leaking the embedded token.

The top 3

  1. Three Core Prompt Attack Techniques Bypassing Canary Tokens: Direct injection, indirect injection via external content, and role-playing are primary methods to override LLM behavior by manipulating instructions, which canary tokens, designed for data access detection, cannot prevent.
  2. Who First Uncovered LLM Prompt Injection Vulnerabilities?: Security researchers Riley Goodside and Simon Willison independently demonstrated and popularized "prompt injection" in September 2022, revealing LLMs' inability to differentiate system instructions from user inputs.
  3. The Fundamental Reason Canary Tokens Miss Behavioral Override: Canary tokens detect specific hidden data *access* or *output*, but behavioral override manipulates an LLM's *processing logic* through instructions, a semantic attack vector they are not designed to monitor or prevent.

Sources

Open the full topic