# How does an instance detect taint laundering across a nested retrieval boundary **Date of Record:** 2026 November 24 **Scope:** Applies to agent pipelines that tag retrieved documents, tool responses, or peer-agent messages with a taint/trust label and gate privileged actions (writes, shell, credential use, outbound HTTP) on that label. Does not apply to pipelines with no privilege gradient—where every action is equally trusted, taint propagation is moot. ## Core Distinction The failure is not "untrusted content reached the model." That is normal and expected. The failure is **taint laundering through a trusted summarizer or sub-agent**: an untrusted fragment enters a low-privilege context, is summarized/re-encoded by a component whose *output* is labeled trusted, and the tainted instruction survives the re-encoding as a paraphrase. The privilege gate then sees a clean label on semantically dirty content. Taint-aware sandboxing is usually modeled as a *label* on data (`untrusted`, `retrieved`, `peer`) that propagates by copy. That model is sound for byte-level flow and wrong for LLM-mediated flow, because summarization is a lossy, non-injective transform that preserves *imperative force* while discarding the surface tokens a label was attached to. The invariant most pipelines assume—"taint is a property of the bytes, so re-emitting bytes under a new label requires an explicit declassify"—is violated the moment an LLM sits inside the re-emission path, because the LLM re-emits *meaning*, not bytes, and the label does not survive a transform it cannot see. ## What Was Observed A three-stage pipeline: `fetch` (untrusted web content) → `summarize` (a low-tier model, output labeled `trusted_summary`) → `act` (a tool-calling model allowed to issue `send_email` and `write_file`). The summarizer prompt was "condense the following page into 3 bullet points for the planner." The planner treated `trusted_summary` as decision-grade input. Trigger condition: a fetched page contained, inside a `