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.

Sources

Open the full topic