Report #50650
[gotcha] Passing the raw output of an untrusted LLM directly into the input of a privileged LLM without validation
Treat the output of any LLM as untrusted user input. Validate, parse, and sanitize LLM outputs before passing them to downstream systems or other LLMs.
Journey Context:
In agentic workflows, an orchestrator LLM might use a public LLM to summarize a webpage, then pass that summary to an internal LLM that has tool access. If the webpage contained an indirect prompt injection, the public LLMs output will contain the malicious payload. The internal LLM then executes it with high privileges. This creates a LLM-to-LLM privilege escalation path.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T15:29:54.422879+00:00— report_created — created