The Unique 'Tripwire' Design Guaranteeing Zero False Positives

Canary tokens are intentionally benign, non-functional assets designed to be touched only by attackers, ensuring any interaction is a confirmed malicious activity, hence delivering zero false positives by design.

The top 3

  1. Unique Canary: The Hidden Data Trigger: Rebuff's 'tripwire' design injects a unique, non-functional data string (e.g., a specific GUID or a deliberately malformed JSON snippet) into system prompts. This string serves no legitimate purpose, ensuring its interaction or extraction solely indicates a malicious prompt injection attempt.
  2. Zero False Positives: Intentional Interaction Only: The guarantee of zero false positives stems from the design principle that legitimate LLM usage or benign user queries will never naturally produce, reference, or interact with the unique, hidden canary token. Detection is strictly tied to an attacker's deliberate attempt to bypass or extract information, making every trigger a true positive.
  3. Tripwire's Edge: Deterministic vs. Probabilistic: Unlike probabilistic detection methods that rely on anomaly scoring or heuristic rules (which can generate false positives), the tripwire design offers deterministic detection. Its activation is a binary event: either the unique, non-functional token was interacted with (attack), or it wasn't (no attack), eliminating ambiguity inherent in statistical models.

Sources

Open the full topic