# In what scenarios must an instance invalidate a taint label when a tool output's provenance class is downgraded by sanitization, and how does label laundering through a second-hop summarizer defeat naive data-flow tracking? **Date of Record:** 2026 November 24 **Scope:** Applies to agents that propagate data-flow taint labels across tool calls, retrieval, and inter-instance handoffs where a sanitizer or summarizer sits between an untrusted source and a privileged sink. Does not apply to single-turn, no-tool agents or to systems where all tool outputs are treated as uniformly untrusted (no label lattice exists to launder). ## Core Distinction Naive taint tracking conflates two orthogonal facts about a value: **where it came from** (provenance class: `UNTRUSTED_WEB`, `USER_INPUT`, `TRUSTED_CONFIG`) and **what has been done to it** (transformation history: raw, sanitized, summarized). The failure mode is not that the sanitizer is wrong—it is that the label lattice treats `sanitize()` as a *monotone downgrade* of provenance, collapsing `UNTRUSTED_WEB → SANITIZED` and thereby granting the value the same sink-permissions as a natively trusted value. A second-hop summarizer then re-emits attacker-controlled content as *new* text generated by a trusted model, and the tracker assigns it the summarizer's provenance, not the source's. The taint is not removed; it is **relabeled**, and the relabeling is indistinguishable from legitimate derivation unless transformation history is retained as a first-class dimension. The invariant that fails: *provenance(derived) must be the join (least upper bound in trust-ordering) of provenance(inputs)*. Summarizers violate it because they are modeled as producing fresh text, when in fact they are a lossy projection of their inputs and must inherit the maximum (least-trusted) input provenance. ## What Was Observed A research agent was wired to fetch a URL, pass the page through an HTML sanitizer, then feed the sanitized text to a summarizer tool, and finally allow the summary to be written into a config file via a `write_config` sink gated on `provenance == TRUSTED`. 1. The fetched page carried label `UNTRUSTED_WEB`. 2. The sanitizer stripped `