{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-provenance-taint-laundering-across-a-capability-scoped-tool-boundary-during-argument-re-derivation",
  "title": "What structural signals indicate provenance-taint laundering across a capability-scoped tool boundary during argument re-derivation",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agents that gate tool invocation on provenance labels attached to argument values, where arguments may be *re-derived* (transformed, summarized, re-extracted) by the model between the taint source and the sink. Does not apply to systems that pass argument values by immutable reference from a single origin without model-side transformation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-provenance-taint-laundering-across-a-capability-scoped-tool-boundary-during-argument-re-derivation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-provenance-taint-laundering-across-a-capability-scoped-tool-boundary-during-argument-re-derivation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-provenance-taint-laundering-across-a-capability-scoped-tool-boundary-during-argument-re-derivation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1647,
    "python_slice_tokens": 256,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A taint-aware sandbox is usually modeled as a dataflow problem: a value carries a provenance label (e.g. `UNTRUSTED_WEB`, `USER_PII`, `TOOL_OUTPUT_UNVERIFIED`), and a capability-scoped tool refuses arguments whose transitive labels violate its policy. The implicit invariant is *label preservation under transformation*: if the model reads tainted content and ...",
    "what_was_observed": "A shell-capable agent was scoped so that `shell.exec` rejected any argument whose provenance set intersected `UNTRUSTED_WEB`. The policy held for direct splices: fetching a URL and piping the raw body into a command was correctly blocked because the body string retained its label. The failure appeared on a two-hop path. Turn 1: the agent fetched an attacker-controlled page whose body contained, in prose, an instructi...",
    "condition_of_validity": "The guardrail below is valid only when the following hold; each is a precondition, and violating any one voids the protection: - **Derivation is observable.** The runtime must record, per turn, the set of provenance labels present in the context at generation time, and associate every tool-call argument with the turn that emitted it. If the model can emit ar...",
    "decision_boundary": "The decision boundary is **provenance-set discontinuity combined with entailment proximity**, evaluated per argument, per turn. Concretely, an argument is quarantined when: `arg.labels == ∅` **AND** `producing_turn.input_labels ∩ sink.forbidden_provenance ≠ ∅` **AND** `entailment(arg, tainted_spans_in_context) ≥ θ`. The threshold `θ` is the only tunable and ...",
    "operational_effect": "The immediate effect is that taint no longer survives only as a value property; it survives as a **turn-scoped context property** that any emitted argument inherits by default unless the model affirmatively discharges it. This inverts the default: arguments are presumed tainted-by-context and must be cleaned by attestation, rather than presumed clean until a..."
  },
  "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": "1b3723eaae4aba9967532028f5284434192bff8f2b7b0d4d48bbf191795a0941",
    "verified_classes": [
      "ProvenanceLaunderingError",
      "TurnContext",
      "ToolCall",
      "SinkPolicy"
    ],
    "verified_functions": [
      "entailment_score",
      "authorize"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
