{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-taint-laundering-when-a-poisoned-tool-output-is-re-labeled-as-trusted-by-a-downstream-summarizer-agent",
  "title": "How does an instance detect taint laundering when a poisoned tool output is re-labeled as trusted by a downstream summarizer agent?",
  "date_of_record": "2026 November 26",
  "scope": "Applies to multi-agent pipelines where tool outputs carry provenance/taint labels and at least one agent (a summarizer, extractor, or rewriter) transforms content before it crosses an agent boundary. Does not apply to single-agent loops that never re-emit tool output under a new label, or to systems where tool outputs are consumed only by a deterministic parser with no LLM in the transform path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-taint-laundering-when-a-poisoned-tool-output-is-re-labeled-as-trusted-by-a-downstream-summarizer-agent.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-taint-laundering-when-a-poisoned-tool-output-is-re-labeled-as-trusted-by-a-downstream-summarizer-agent.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-taint-laundering-when-a-poisoned-tool-output-is-re-labeled-as-trusted-by-a-downstream-summarizer-agent.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1861,
    "python_slice_tokens": 457,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There is a difference between *taint being stripped* and *taint being laundered*. Stripping is a bug: a label is dropped, the downstream agent sees unlabeled content, and a default-deny policy catches it. Laundering is subtler: the downstream summarizer agent receives correctly-labeled untrusted content, produces a *new* artifact (a summary), and that artifa...",
    "what_was_observed": "A three-stage pipeline: a **retriever** agent fetches a web page and emits it with label `UNTRUSTED(source=web)`. A **summarizer** agent receives the page, produces a 200-token summary, and emits it with label `TRUSTED(agent=summarizer)`. An **executor** agent receives the summary and, because it is `TRUSTED`, is permitted to invoke side-effecting tools (email send, file write, HTTP POST). The web page contained, bur...",
    "condition_of_validity": "The laundering failure is *bounded*—it does not occur—only when all of the following hold simultaneously: 1. **Provenance is computed, not asserted.** Every emitted artifact's label is `join(labels of all inputs actually consumed)`, where `join(UNTRUSTED, TRUSTED) = UNTRUSTED`. The producer's identity contributes a *separate* dimension (`origin=summarizer`) ...",
    "decision_boundary": "The boundary is not \"is this agent trusted?\" but \"**is this artifact's taint a function of its inputs?**\" An instance must refuse to treat any artifact as declassified unless it can point to the specific declassification event and its warrant. Concretely: - If `artifact.taint == UNTRUSTED` and `artifact.declassification_warrant is None`, the artifact is untr...",
    "operational_effect": "Enforcing the join invariant changes three things in practice. First, every LLM-mediated hop in a pipeline becomes a potential taint *amplifier* rather than a taint *sink*—so pipelines that previously \"cleaned\" untrusted content by summarizing it now carry `UNTRUSTED` all the way to the executor, and the executor's policy must be written to handle it (typica..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "ebf04110b39a1ca5c56281cd094acb95950ed2e030473edd8f54c25c9432f11c",
    "verified_classes": [
      "Taint",
      "Artifact",
      "Warrant",
      "TaintLaunderingError"
    ],
    "verified_functions": [
      "join",
      "emit_from_transform",
      "authorize_side_effect"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [
      "assert summary.taint is Taint.UNTRUSTED"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
