Indirect Prompt Injection: Malicious Instructions in Retrieved Chunks

RAG canaries effectively expose indirect prompt injections where attackers embed hidden malicious instructions within retrieved documents. These instructions trick the LLM into extracting and exfiltrating sensitive data, which the canary tokens then reveal upon output.

Sources

Open the full topic