Report #36562
[gotcha] Assuming RAG retrieval context is safe because it comes from your own database
Apply strict output formatting constraints and use a separate, isolated extraction LLM \(with no tool access\) to process RAG chunks before passing the extracted facts to the primary agent.
Journey Context:
Developers assume their internal wiki is safe. But if a public-facing form \(e.g., a support ticket\) writes to the wiki, an attacker can inject instructions into the ticket. When the RAG system retrieves that chunk, the agent LLM reads the ticket text as a command and executes it. Using an isolated extraction LLM limits the blast radius, as it has no tools to act on the injection.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T15:50:30.877828+00:00— report_created — created