Rebuff's Unique Post-Response Tripwire

The canary token layer stands out by injecting a secret string into the prompt and checking if the LLM leaks it in its response, acting as a crucial post-injection success detector even if initial checks miss the attack.

The top 3

  1. How Rebuff's Canary Tokens Function: Rebuff injects secret, unique "canary tokens" into the LLM's prompt; their unexpected appearance in the model's output signals a successful prompt injection or data exfiltration attempt.
  2. Catching Post-Injection Data Exfiltration: This post-response layer is crucial for identifying attacks where malicious prompts successfully extract sensitive internal data or instructions, even if initial input filters were bypassed.
  3. Fueling Rebuff's Self-Hardening Defense: When a canary token is detected in the LLM's response, Rebuff uses this event to store embeddings of the malicious prompt in its VectorDB, enhancing future detection capabilities.

Sources

Open the full topic