Top 3 LLM Security Scenarios for Canary Tokens
They excel in providing early detection of sensitive data leakage, reliably identifying specific web scrapers feeding LLMs, and tracking unauthorized usage of model artifacts or embedded credentials.
The top 3
- Detecting LLM System Prompt Exfiltration: Canary tokens embedded in system prompts or instructions reliably detect when prompt injection attacks force an LLM to reveal its core directives, acting as a crucial tripwire.
- RAG Data Leakage Detection with Canaries: Embedding unique canary tokens within Retrieval Augmented Generation (RAG) chunks provides a clear signal for detecting unauthorized exfiltration of sensitive knowledge base data.
- Unmasking Rogue LLM Agent Tool Usage: Canary tokens strategically placed in tool descriptions or agent contexts serve as tripwires, alerting security teams to unauthorized access or malicious execution by LLM agents.
Sources
Open the full topic