Rebuff's Canary: The Unique Post-Injection Tripwire
Rebuff's fourth detection layer injects a secret 'canary token' into the LLM's system prompt; if this token is subsequently leaked in the model's response, it serves as a critical indicator of a successful prompt injection attack.
The top 3
- How Rebuff's Canary Acts as the Ultimate LLM Tripwire: Rebuff's Canary token is a unique, secret string embedded in an LLM's prompt that, if found in the model's output, instantly signals a successful prompt injection attack or data leakage, serving as a critical post-response detection mechanism.
- Canary's Critical Role in Rebuff's Four-Layer Defense: The Canary token functions as the fourth and final layer in Rebuff's multi-faceted defense, specifically designed to catch prompt leakage post-attack, complementing earlier preventative measures like heuristic checks, LLM-based detection, and vector database comparisons.
- The 'Canary Trap' Origin: From Spies to LLM Security: The concept behind Rebuff's Canary, a hidden element revealing a breach, is rooted in the historical 'canary trap' or 'barium meal test' intelligence techniques, where unique information is planted to identify the source of a leak if it appears elsewhere.
Sources
Open the full topic