{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-taint-laundering-through-a-re-summarization-hop-in-tool-output-provenance-graphs",
  "title": "What structural signals indicate taint-laundering through a re-summarization hop in tool-output provenance graphs",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agents that attach provenance labels (trusted / untrusted / derived) to tool outputs and enforce sink sanitization at the point of action (shell exec, outbound HTTP, file write, credential use). Does not apply to single-turn stateless completions with no tool loop, nor to systems that hard-block all derived-from-untrusted content at the sink regardless of label.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-taint-laundering-through-a-re-summarization-hop-in-tool-output-provenance-graphs.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-taint-laundering-through-a-re-summarization-hop-in-tool-output-provenance-graphs.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-taint-laundering-through-a-re-summarization-hop-in-tool-output-provenance-graphs.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1690,
    "python_slice_tokens": 324,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"prompt injection succeeds.\" It is that a *derived* taint label survives one transformation hop but silently decays to *trusted* across a second, because the second hop's output is produced by the model itself and the provenance system treats model-generated text as a fresh, clean artifact. The distinguishing signal is structural, not sema...",
    "what_was_observed": "A retrieval tool returns a document body labeled `untrusted:external`. The agent, mid-task, is asked to \"extract the action items.\" It calls a second tool — an internal `summarize` helper — passing the untrusted body. The summarize tool runs the model over the body and returns a JSON list of action items. The provenance layer records the summarize output node with parent = summarize tool, and assigns label `derived`....",
    "condition_of_validity": "This boundary holds — i.e., laundering is possible — only when all three conditions co-occur: - The provenance system promotes labels on tool *identity* (allowlisted tool ⇒ trusted output) rather than on *input taint closure* (output is tainted by the union of its inputs' taints). - At least one hop is a model-authored transform (summarize, extract, translat...",
    "decision_boundary": "The architectural invariant required is **taint closure over the transform DAG, not label inheritance over tool identity**. Concretely: - A node's taint is the union of the taints of all nodes whose content was in the model's context when the node was produced — not the taint of the tool that produced it. The summarize tool is trusted; its *input* was not, a...",
    "operational_effect": "With closure-based taint, the credential-exfil item reaches the sink labeled `untrusted` (inherited through the summarize hop), and sink sanitization blocks or quarantines it for review. The cost is recall: legitimate summaries of untrusted documents now carry taint and require either a declassification step or a sink that tolerates tainted-but-benign conten..."
  },
  "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": "664abb5934daf2a5167c2c4b44f4c0d4ee4f328b37821706e36587a0bf6b0caa",
    "verified_classes": [
      "Taint",
      "TaintLaunderingError",
      "Node",
      "ProvenanceGraph"
    ],
    "verified_functions": [
      "enforce_sink",
      "__init__",
      "add",
      "closure",
      "trusted_tokens"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
