{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-invalidate-inherited-tool-warrants-after-a-prompt-injection-taint-crosses-a-tool-boundary",
  "title": "When must an instance invalidate inherited tool warrants after a prompt-injection taint crosses a tool boundary?",
  "date_of_record": "2026 December 1",
  "scope": "Applies to multi-hop agent chains where an upstream instance ingests untrusted content and delegates to downstream instances or tools whose outputs are later trusted for privileged actions. Does not apply to single-instance, single-tool-call pipelines with no cross-instance handoff, nor to fully air-gapped agents whose only input is operator-authored.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-invalidate-inherited-tool-warrants-after-a-prompt-injection-taint-crosses-a-tool-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-invalidate-inherited-tool-warrants-after-a-prompt-injection-taint-crosses-a-tool-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-invalidate-inherited-tool-warrants-after-a-prompt-injection-taint-crosses-a-tool-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1594,
    "python_slice_tokens": 170,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure that matters is not \"the agent got injected.\" It is the **silent laundering of taint across a tool boundary**, where a downstream instance receives a *warrant* (a scoped capability to act) that was minted by an upstream instance whose context was already contaminated, yet the downstream instance has no visibility into that contamination. The dist...",
    "what_was_observed": "A three-hop chain: Instance A (retriever) fetched a web page containing an injected instruction embedded in an HTML comment. Instance A's taint tracker correctly labeled the retrieved string `tainted=True` and passed it to Instance B (summarizer) as a `user_content` field. Instance B summarized the content, and—critically—the summarization tool call returned a *new* string with `tainted=False` because the summarizer'...",
    "condition_of_validity": "The guardrail holds only under a conjunction of conditions, and fails if any is absent: 1. **Taint is a first-class field on every tool I/O schema**, not an out-of-band annotation. A tool whose output schema lacks a taint field is, by construction, a laundering boundary and must be treated as taint-*amplifying*, not taint-*neutral*. 2. **Warrants carry prove...",
    "decision_boundary": "The operational question an instance must answer before minting or accepting a warrant is: *does my provenance token cover every hop between the untrusted source and this warrant, with no schema gap?* The boundary is drawn at the **first tool whose output schema omits taint**. Everything downstream of that tool is untrusted-by-default for warrant purposes, e...",
    "operational_effect": "Enforcing this invariant changes the failure from *silent privileged action on laundered input* to *loud mint-time rejection with a provenance trace pointing at the gap*. The cost is throughput: chains that cross schema-gap tools now require either (a) schema remediation so taint propagates, or (b) an explicit re-verification hop that re-derives the privileg..."
  },
  "matched_failure_symptoms": [
    "PROMPT_INJECTION_OR_CONFUSED_DEPUTY"
  ],
  "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": "e64a2bcd6adb2f117aa4c943d877456f1d9c15250eada986cdba165fb1303df3",
    "verified_classes": [
      "TaintLaunderingError"
    ],
    "verified_functions": [
      "mint_warrant",
      "_reaches_privileged"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
