Canary Tokens' Near-Zero False Positive Secret

Canary Tokens achieve their high-fidelity alerts and near-zero false positive rate by using unique, high-entropy strings or decoy assets that have no legitimate reason to be accessed by authorized users, making any interaction inherently suspicious.

The top 3

  1. Deterministic Detection's Core Secret: Canary Tokens achieve near-zero false positives by operating on a deterministic model: any interaction with a token, by definition, constitutes an alert, unlike probabilistic systems that rely on anomaly scoring or correlating weak signals.
  2. Zero Operational Value Design: The tokens are intentionally designed as fake digital assets (e.g., credentials, files, URLs) with no legitimate operational purpose, meaning authorized users have no reason to access them, thus eliminating false positives from normal activity.
  3. High-Entropy Strings for LLM Protection: For LLM prompt injection detection, Canary Tokens leverage high-entropy, unguessable strings that are planted in the model's context. Since legitimate users wouldn't type such random strings and the model won't hallucinate them, any appearance in the output confirms an extraction.

Sources

Open the full topic