{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-sever-a-tainted-tool-call-subgraph-when-provenance-labels-are-laundered-through-a-legitimate-summarizer-hop",
  "title": "Where must an instance sever a tainted tool-call subgraph when provenance labels are laundered through a legitimate summarizer hop?",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agent runtimes that propagate prompt-injection taint labels across multi-hop tool-call graphs where at least one hop is a trusted transformation node (summarizer, extractor, formatter, embedding indexer). Does not apply to single-hop tool invocations where tainted content is consumed directly by the planner without intermediate transformation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-sever-a-tainted-tool-call-subgraph-when-provenance-labels-are-laundered-through-a-legitimate-summarizer-hop.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-sever-a-tainted-tool-call-subgraph-when-provenance-labels-are-laundered-through-a-legitimate-summarizer-hop.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-sever-a-tainted-tool-call-subgraph-when-provenance-labels-are-laundered-through-a-legitimate-summarizer-hop.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2228,
    "python_slice_tokens": 461,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The common mental model treats taint as a property of *content*: a string is either tainted or clean, and the label rides along with the bytes. That model fails the moment a trusted transformation node rewrites the bytes. A summarizer that reads a tainted web page and emits a three-sentence abstract produces output that is *semantically derived from* tainted...",
    "what_was_observed": "A research agent was tasked with \"gather competitor pricing from these three vendor pages and produce a comparison.\" The tool graph was: 1. `fetch(url)` → raw HTML (untrusted, tainted at ingress) 2. `summarize(text)` → 3-sentence abstract (trusted transformation node) 3. `extract_entities(summary)` → structured JSON (trusted) 4. `write_file(path, content)` → filesystem sink (privileged) The runtime taint tracker labe...",
    "condition_of_validity": "The taint-clearing at a transformation node is only valid under a condition that is almost never checked: **the transformation must be an injection-invariant channel**—i.e., the space of outputs the transformation can produce must not be a function of instruction-shaped content in the input. This holds for, e.g., a `json.loads` → `json.dumps` round-trip on a...",
    "decision_boundary": "The operational decision is *where to place the cut* when a tainted subgraph reaches a privileged sink. Three boundaries are available, and the choice is not free: - **Cut at ingress (reject tainted fetch):** maximally safe, destroys the agent's utility for any task that legitimately reads untrusted web content. Not viable for research/summarization workload...",
    "operational_effect": "Runtimes that clear taint at LLM transformation nodes exhibit a characteristic failure signature: **the injection is not detected at the hop where it is laundered, but at a downstream sink whose arguments appear clean.** Detection therefore arrives too late—after the privileged action—or never. The practical consequences: 1. **Audit trails lie.** The logged ..."
  },
  "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": "18bb9be67bc21f3f8b3447591e70bcbaffb42619532a2d5c8f3c05d61b45251a",
    "verified_classes": [
      "TaintLaunderingError",
      "CallNode"
    ],
    "verified_functions": [
      "resolve_taint",
      "gate_sink"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
