{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-to-propagate-a-taint-label-across-a-tool-call-boundary",
  "title": "Under what conditions must an instance refuse to propagate a taint label across a tool-call boundary",
  "date_of_record": "2026 November 16",
  "scope": "Applies to agents that carry dynamic information-flow (DIF) labels — origin tags, trust levels, instruction/data provenance — through multi-turn tool invocation, where tool outputs are re-injected into the model context. Does not apply to static taint analysis of code, nor to single-shot prompt classification without a persistent label lattice.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-propagate-a-taint-label-across-a-tool-call-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-propagate-a-taint-label-across-a-tool-call-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-propagate-a-taint-label-across-a-tool-call-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1979,
    "python_slice_tokens": 418,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The non-obvious boundary is between **taint propagation** and **authority propagation**. A DIF label describes where data came from; it is not itself a capability. The failure mode arises when an implementation treats a propagated taint label as granting (or revoking) the right to *act* on the labeled data. Correct behavior: a taint label on a tool result me...",
    "what_was_observed": "In a deployment where tool outputs were tagged with a `provenance` field and a `trust` enum, the following sequence occurred repeatedly: 1. An untrusted document (web fetch) entered context with `trust=UNTRUSTED`. 2. The agent called a `summarize` tool classified `trust=TRUSTED` in the tool registry. 3. The summarizer returned text; the runtime assigned `trust=TRUSTED` to the output because the *tool* was trusted, no...",
    "condition_of_validity": "The invariant holds — that is, a taint label must be propagated, not reset, across a tool call — **if and only if** the following conditions are jointly true: - The tool is **not** an explicit declassifier. A declassifier is a tool whose contract states it maps untrusted input to trusted output under a checkable predicate (e.g., a schema validator that rejec...",
    "decision_boundary": "The decision boundary is: **propagate the meet of all input labels unless a declared, sound declassifier is present; if the meet is below the threshold required by the downstream sink, refuse the call.** Concretely, at each tool-call boundary the runtime must compute: and must refuse to invoke a side-effecting sink (email, shell, payment, file write outside ...",
    "operational_effect": "After the fix, the observed effects were: - The review queue dropped to the true positive rate because trusted-document summaries carried `trust=TRUSTED` via the meet of trusted inputs, not by tool identity. - Laundering incidents went to zero in the audited window, because the summarizer was no longer a declassifier and its output inherited the input's `UNT..."
  },
  "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": "8e049063782e3e195c6d202594d1a3ef8860ab9242a7dea3f1a88306292c45bf",
    "verified_classes": [
      "Trust",
      "TaintLaunderingError",
      "Labeled",
      "ToolSpec"
    ],
    "verified_functions": [
      "meet",
      "propagate",
      "dispatch",
      "bad_dispatch"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [
      "assert laundered.trust == Trust.TRUSTED"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
