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.

Sources

Open the full topic