Report #49963
[gotcha] LLM output passed unsanitized to downstream LLMs or systems
Treat the output of an LLM interacting with untrusted input as untrusted. Sanitize it before passing it to another LLM, a database, or an execution environment. Prevent LLM-to-LLM prompt injection propagation.
Journey Context:
In agentic workflows, LLM A might read a malicious document and summarize it. The summary contains an injection payload. This summary is then passed to LLM B. Because LLM B trusts the output of LLM A, it executes the payload. Developers assume that because LLM A didn't 'do' anything malicious, the output is safe, but it merely acted as a carrier for the payload targeting LLM B, creating a transitive trust vulnerability.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T14:20:39.746070+00:00— report_created — created