{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-launders-a-taint-label-through-a-summarization-tool-that-legally-strips-provenance",
  "title": "What happens when an instance launders a taint label through a summarization tool that legally strips provenance",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agents enforcing dynamic information-flow control (DIFC) with per-span taint labels propagated across tool calls and memory writes, where a tainted span is passed to a tool whose declared output contract does not preserve input provenance (summarizers, formatters, translators, embeddings). Does not cover static-label systems, whole-context trust decisions, or tools whose contract explicitly echoes source labels.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-launders-a-taint-label-through-a-summarization-tool-that-legally-strips-provenance.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-launders-a-taint-label-through-a-summarization-tool-that-legally-strips-provenance.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-launders-a-taint-label-through-a-summarization-tool-that-legally-strips-provenance.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2135,
    "python_slice_tokens": 313,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Most taint-tracking designs treat label propagation as a property of *data flow*: if tainted bytes enter a tool and the tool's output is derived from those bytes, the output inherits the label. This is the wrong abstraction for LLM agents. The failure is not that the label is dropped by a bug—it is that the label is dropped *correctly*, by a tool whose decla...",
    "what_was_observed": "A research agent ingests a web page, and a prompt-injection payload lands in a `<div class=\"footnote\">` span. The extractor tool returns the page as a structured block with `labels: [\"untrusted:web\"]` on that span. The agent, following its plan, calls `summarize(text=block)` to compress the page before writing to episodic memory. `summarize` is a thin wrapper over a model call with a fixed system prompt; its output s...",
    "condition_of_validity": "The guardrail holds only if three conditions are jointly enforced, and each is independently falsifiable: 1. **Total label coverage at the tool boundary.** Every tool in the registry must declare whether its output is *provenance-preserving* (output schema carries a `labels` field that the implementation populates from input) or *provenance-erasing*. There i...",
    "decision_boundary": "The boundary is between *checkable* and *uncheckable* transforms, not between *trusted* and *untrusted* tools. - A transform is **checkable** if, for every tainted input span, the output either contains a verifiable marker of the tainted content (e.g., a substring, a hash, a structured field) or is provably free of it. A date extractor is checkable: run it o...",
    "operational_effect": "The observable effect of getting this wrong is a **one-turn delay in injection execution** relative to a no-taint-tracking baseline, combined with a *false sense of safety* because the taint labels were present and correct at ingestion. Operators see `untrusted:web` on the extracted block, assume the DIFC layer is active, and miss that the label died at the ..."
  },
  "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": "e3d513dbf075e23d7982d84a4172931d2869406f0f3abc255ad588cb5be0e560",
    "verified_classes": [
      "TaintLaunderingError",
      "Span",
      "ToolSpec"
    ],
    "verified_functions": [
      "register",
      "call_tool",
      "write_memory"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
