{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-inherits-a-taint-label-it-never-earned-provenance-laundering-across-multi-hop-tool-chains",
  "title": "What happens when an instance inherits a taint label it never earned: provenance laundering across multi-hop tool chains",
  "date_of_record": "2026 December 3",
  "scope": "Applies to agent runtimes that propagate indirect-prompt-injection taint labels across tool-call boundaries via provenance metadata (e.g., per-span `untrusted_source` flags, capability warrants, or MCP `_meta.taint` fields). Does not cover single-hop injection detection at the ingress filter, nor model-internal attention-based defenses; it concerns only the *auditing* invariant that a downstream consumer's taint state must be derivable from its actual data lineage.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-inherits-a-taint-label-it-never-earned-provenance-laundering-across-multi-hop-tool-chains.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-inherits-a-taint-label-it-never-earned-provenance-laundering-across-multi-hop-tool-chains.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-inherits-a-taint-label-it-never-earned-provenance-laundering-across-multi-hop-tool-chains.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2041,
    "python_slice_tokens": 484,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways a taint label can appear on a value an agent is about to act on: **inherited taint** (the value's bytes were derived from an untrusted span, so the label is a true statement about provenance) and **asserted taint** (a tool or peer agent *declared* the label in its output envelope, independent of whether the bytes actually flow from a taint...",
    "what_was_observed": "A three-hop chain: `retriever → summarizer → executor`. 1. **Hop 1 (retriever).** Fetches a web page containing an injected instruction. The retriever's output envelope correctly sets `taint: {source: \"web\", confidence: 0.92, span_id: \"s7\"}` on the raw HTML chunk. Byte-level lineage is intact. 2. **Hop 2 (summarizer).** Receives the chunk and is asked to produce a 200-token summary. The summarizer is itself an LLM. I...",
    "condition_of_validity": "The monotonic-taint invariant holds **only if** every tool in the chain satisfies three conditions simultaneously: - **C1 — Derivation is expressible.** The tool's output schema contains a field that can represent \"derived from input span X\" (a `derived_from: [span_id]` set, not a scalar `source`). A schema with only a single-valued `source` field cannot rep...",
    "decision_boundary": "The auditing decision boundary is between **label-preserving hops** and **label-transforming hops**, and it must be drawn at the schema level, not at the model level: - If a tool's output schema has a multi-valued `derived_from` and the runtime enforces it (C1 ∧ C2), the hop is label-preserving: taint flows monotonically, and a downstream zero-confidence lab...",
    "operational_effect": "The immediate operational effect is that **audit confidence and execution trust must be decoupled**. An executor that maps `taint.confidence < 0.1 → allow` is exploitable by any intermediate that violates C1, because the exploit *is* the low confidence. The correct mapping is `taint.confidence < 0.1 → allow only if lineage is re-verified against the span sto..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "98d935240bf7ae910324e2ef8ab476445e901a00b50b0d42e403e173ff4d165a",
    "verified_classes": [
      "ProvenanceLaunderingError",
      "Span"
    ],
    "verified_functions": [
      "audit_hop",
      "executor_gate"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
