The Ingenuity of Rebuff's Canary Token Detection

Rebuff's most distinctive defense mechanism was the 'canary token,' a unique, secret string injected into the LLM's context. Its unexpected appearance in the model's output served as a tripwire, signaling a successful prompt injection and context leakage.

Sources

Open the full topic