Canary Tokens: Rebuff's Unique Post-Response Tripwire

Rebuff's canary token detection is highlighted as its most innovative defense, acting as a "tripwire" post-LLM response to catch successful prompt extractions and context leakages that pre-response checks might miss, enabling the framework to learn from these attacks.

The top 3

  1. Canary Tokens: Cybersecurity's Coal Mine Origin: Named after the canaries coal miners once used to detect toxic gases, these digital tripwires provide an early warning system for cybersecurity, signaling unauthorized access or data exposure.
  2. LLM Canary Tokens: High-Entropy Tripwires Explained: In the context of Large Language Models (LLMs), a canary token is a unique, high-entropy string strategically embedded within the model's trusted context; its unexpected appearance in the model's output confirms a prompt injection or data exfiltration attempt.
  3. Canary Tokens: Detection, Not Prevention in LLM Security: Canary tokens excel at detecting prompt injection attacks and data leakage by acting as a 'smoke detector,' signaling that an attack has occurred, but they do not prevent the initial injection; instead, they enable a rapid post-response to mitigate impact.

Sources

Open the full topic