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