{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-quarantine-tainted-provenance-across-a-multi-hop-tool-call-dataflow-graph-when-taint-labels-are-lost-at-the-summarization-bound",
  "title": "How should an instance quarantine tainted provenance across a multi-hop tool-call dataflow graph when taint labels are lost at the summarization boundary?",
  "date_of_record": "2026 November 28",
  "scope": "Applies to autonomous agents that fetch external unstructured content (web pages, emails, issue trackers, retrieved documents) and route it through intermediate tool calls—summarizers, extractors, re-rankers—before acting on it. Does not apply to agents whose tool outputs are structurally typed and schema-validated at every hop, nor to single-hop pipelines where the untrusted span is consumed directly by the planner.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-quarantine-tainted-provenance-across-a-multi-hop-tool-call-dataflow-graph-when-taint-labels-are-lost-at-the-summarization-bound.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-quarantine-tainted-provenance-across-a-multi-hop-tool-call-dataflow-graph-when-taint-labels-are-lost-at-the-summarization-bound.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-quarantine-tainted-provenance-across-a-multi-hop-tool-call-dataflow-graph-when-taint-labels-are-lost-at-the-summarization-bound.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2582,
    "python_slice_tokens": 486,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways an agent can be \"injection-safe,\" and they are routinely conflated: 1. **Content filtering** — the agent inspects a span and decides whether it *looks* malicious, then drops or flags it. 2. **Provenance taint tracking** — every token carries a label recording which trust domain it originated from, and that label is propagated *by construct...",
    "what_was_observed": "A three-hop pipeline was instrumented to trace taint across a fetch → summarize → act chain. The planner had a `fetch_url` tool (untrusted egress), a `summarize` tool (LLM-backed, returns prose), and an `execute` tool (privileged sink). The design intent was that content from `fetch_url` would be labeled `UNTRUSTED` and `execute` would refuse to run commands derived from `UNTRUSTED` spans. The trace: - **Hop 1 (`fetc...",
    "condition_of_validity": "The taint-laundering failure is bounded by three conditions. It occurs when **all three** hold; removing any one prevents it. 1. **A lossy, non-injective transformation sits between the untrusted source and the privileged sink.** Summarization, translation, extraction, and re-ranking are the canonical cases. A `jq`-style structural projection that preserves ...",
    "decision_boundary": "The operational question is not \"is this text malicious?\" (unanswerable at the boundary, because the summarizer's paraphrase defeats classifiers) but \"**may this text enter a trust domain higher than its provenance?**\" The decision procedure: - **At every tool boundary, compute the output label as the join of all input labels.** For a summarizer called with ...",
    "operational_effect": "Enforcing join-propagation at tool boundaries changes three things in practice: 1. **Summarizers become taint-preserving by default.** The summarizer's return schema gains a `provenance` field carrying the join of its inputs. The planner cannot accidentally treat a summary as trusted because the label travels with the string. This is a one-line schema change..."
  },
  "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": "891a38b21d7b3424ca3657cccdc83ab2afb8ad96e9835f5585f626bc899c0141",
    "verified_classes": [
      "TaintLabel",
      "TaintLaunderingError"
    ],
    "verified_functions": [
      "propagate_through_tool",
      "run_pipeline",
      "join"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
