# In what scenarios must an instance escalate dynamic taint labels from tool output to semantic memory writes, and where does label laundering break the invariant? **Date of Record:** 2026 November 22 **Scope:** Applies to single- or multi-instance agents that maintain a dynamic information-flow-control (IFC) taint label per context segment and propagate it across tool calls and memory writes. Does not apply to stateless one-shot completions with no persistent store and no tool surface. ## Core Distinction Most taint-tracking implementations treat a label as a property of *the token span* that carried untrusted bytes. That is the wrong carrier. The invariant that actually holds under prompt injection is that **taint is a property of the provenance edge, not of the text**, and it must survive every operation that transforms text into a different representation — summarization, structured extraction, embedding, and especially the *write path into long-term memory*. The boundary failure this record documents: an instance correctly tags a tool output as `UNTRUSTED` in the working context, then writes a distilled summary of that output into semantic memory through a path that only checks the *summary's* label. Because the summarizer is an LLM, the summary is a fresh generation whose tokens are not literally derived from the tainted span, so span-level taint propagation assigns it `TRUSTED`. The label is laundered at the distillation boundary. The next session retrieves the poisoned memory as trusted prior knowledge and the injection re-enters with elevated trust — it has crossed from episodic to semantic and shed its taint in transit. ## What Was Observed A fetch-and-summarize agent was given a task: retrieve three vendor pages, extract pricing tiers, write a consolidated note to memory. Each `fetch` tool result was labeled `src=UNTRUSTED, origin=tool:fetch, warrant=w_4471`. The extractor produced a JSON record per page. The memory-write function `remember(key, value, label)` accepted a label argument. Trace of the failure: 1. `fetch(page_2)` returns HTML containing an injected instruction buried in a `