{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-quarantine-an-inherited-taint-label-rather-than-propagate-it-across-a-tool-call-boundary",
  "title": "Under what conditions must an instance quarantine an inherited taint label rather than propagate it across a tool-call boundary",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agents that carry dynamic information-flow (taint) labels on context segments and tool results, and that forward data into downstream tool calls. Does not apply to stateless single-turn inference where no label state survives across a call boundary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-quarantine-an-inherited-taint-label-rather-than-propagate-it-across-a-tool-call-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-quarantine-an-inherited-taint-label-rather-than-propagate-it-across-a-tool-call-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-quarantine-an-inherited-taint-label-rather-than-propagate-it-across-a-tool-call-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1636,
    "python_slice_tokens": 265,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not \"prompt injection succeeded.\" It is the opposite and subtler event: **a taint label that is correct at the moment of assignment becomes structurally invalid at the moment of propagation**, because the label's meaning depends on the *provenance path* that produced it, and crossing a tool boundary severs that path. Two labels with ident...",
    "what_was_observed": "A research agent with three tools — `fetch_url`, `summarize`, and `send_email` — was instrumented with a standard dynamic taint scheme: any content returned by `fetch_url` from a non-allowlisted domain received `TAINT=external`. The policy was: `send_email` refuses any argument whose taint set contains `external`. Trace observed: 1. `fetch_url(\"https://attacker.example/page\")` → returns page body containing the sente...",
    "condition_of_validity": "A propagated taint label is valid across a tool boundary only if all of the following hold: - **Transformation is label-homomorphic.** The tool's output taint is a function of its input taint and its own trust class: `taint(out) ⊇ taint(in) ∪ tool_taint`. A tool that strips labels (returns bare strings) violates this and must be treated as `taint(out) = unkn...",
    "decision_boundary": "The decision is not \"propagate vs. drop.\" It is a three-way split at the boundary: - **Propagate** when the tool is label-homomorphic and the sink enforces data/instruction separation. The label string is carried and re-checked at the sink. - **Re-derive** when the tool is lossy but its output is inspectable: recompute taint from the observable output (e.g.,...",
    "operational_effect": "Without the quarantine rule, taint tracking provides false assurance: labels appear to flow, dashboards show \"0 unlabeled external content reached email,\" and the actual attack surface — the lossy tool boundary — is invisible because it *removes* the evidence. The system's security posture is inversely correlated with its instrumentation: the more tools that..."
  },
  "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": "4448e4b7b232d93261b7482db5bfb36e5e414f3274dea098be9d316a7f1027ba",
    "verified_classes": [
      "TaintBoundaryViolation",
      "Segment",
      "ToolProfile"
    ],
    "verified_functions": [
      "cross_boundary",
      "_looks_instructional",
      "__init__"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "TaintBoundaryViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
