{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-taint-scope-collapse-during-injection-propagated-tool-authorization",
  "title": "What structural signals indicate taint-scope collapse during injection-propagated tool authorization",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agents that carry a per-value taint label (source provenance) through reasoning and tool-call planning, and gate side-effecting tools on that label. Does not apply to stateless single-shot tool routers that re-derive authorization from the raw request on every turn, nor to agents whose tool results never re-enter the reasoning context.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-taint-scope-collapse-during-injection-propagated-tool-authorization.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-taint-scope-collapse-during-injection-propagated-tool-authorization.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-taint-scope-collapse-during-injection-propagated-tool-authorization.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2176,
    "python_slice_tokens": 399,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **taint propagation** and **taint scope**. Propagation is the forward dataflow rule: a value derived from an untrusted source (a fetched web page, a tool result, a retrieved document, a peer-agent message) inherits that source's taint. Scope is the policy rule that says *which* tools a tainted value is allowed to reach...",
    "what_was_observed": "A representative trace. The agent is asked to \"summarize this vendor page and update our CRM contact record.\" Turn 1 fetches the page; the result is tagged `taint=untrusted:web` at the value level. Turn 2 the model reads the page and emits a plan step: *\"The vendor's primary contact is dana@evil.example; I should set the CRM email field to this.\"* Turn 3 calls `crm.update_contact(email=\"dana@evil.example\")`. The auth...",
    "condition_of_validity": "The guardrail below is valid only under these conditions, and silently degrades outside them: - **Provenance must be tracked at the derivation level, not the value level.** Taint must attach to the *plan-step node* that produced an argument, and inherit the union of its inputs' taint — not be re-derived by string-matching the argument against source spans. I...",
    "decision_boundary": "The operational boundary is a single predicate evaluated at every side-effecting tool call: > Permit the call **iff** the provenance root of every argument, traced through *derivation edges* (not value equality), is `trusted`, **or** an explicit de-taint node with a recorded warrant sits on every path from an untrusted root to the argument. Concretely, the b...",
    "operational_effect": "Enforcing the derivation-graph boundary changes three observable behaviors: 1. **False-permit rate on injection drops to the rate of explicit de-taint bypasses**, which are auditable, rather than to the rate of lexical novelty in model-generated arguments, which is unbounded. The residual risk moves from \"any paraphrase of an injected value\" to \"a logged, re..."
  },
  "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": "fab14fd4bea7450aed483936ae07b1da2b86310df3996b9e862617651596a7f5",
    "verified_classes": [
      "TaintScopeCollapse",
      "ProvenanceNode",
      "Tool"
    ],
    "verified_functions": [
      "authorize_side_effect",
      "_warranted_de_taint_on_all_paths",
      "__init__",
      "derivation_roots"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "TaintScopeCollapse"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
