Rebuff's Canary: The Post-Injection Detection Edge
Unlike other protective layers, Rebuff's Canary acts as a unique "tripwire," detecting successful prompt injection attacks *after* the LLM has generated an output that includes the hidden canary token, even if initial defenses were bypassed.
The top 3
- Canary Tokens: The Secret Tripwire for LLM Leaks: Rebuff's Canary embeds a unique, secret word or phrase within the LLM's prompt that should never appear in its output. If this hidden token surfaces, it acts as a digital tripwire, signaling a successful prompt injection and potential data leakage from the model's internal instructions.
- Post-Leak Intelligence: Rebuff's Self-Hardening Defense: Upon detecting a canary word leakage, Rebuff automatically captures and stores embeddings of the malicious incoming prompt in its VectorDB. This 'self-hardening' mechanism allows the system to learn from each attack, strengthening its future defenses against similar prompt injection attempts.
- Canary's Edge: Detecting Beyond Initial Filters: While Rebuff employs multi-layered defenses including heuristics and LLM-based pre-filters, the Canary token provides a crucial post-injection detection edge. It activates *after* a malicious prompt has potentially bypassed initial safeguards, offering a last line of defense by identifying actual leakage from the LLM's output.
Sources
Open the full topic