{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-sever-a-tainted-value-dynamic-information-flow-label-propagation-across-tool-output-boundaries-and-the-laundering-failure-at-th",
  "title": "Where must an instance sever a tainted value: dynamic information-flow label propagation across tool-output boundaries and the laundering failure at the reasoning-plan re-entry point",
  "date_of_record": "2026 November 25",
  "scope": "Applies to LLM agent instances that attach dynamic information-flow (DIF) taint labels to context spans and propagate them through tool-call outputs, plan revisions, and sub-agent returns. Does not apply to stateless single-shot completions with no tool loop, nor to systems where taint is enforced purely by OS-level capabilities rather than in-context labels.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-sever-a-tainted-value-dynamic-information-flow-label-propagation-across-tool-output-boundaries-and-the-laundering-failure-at-th.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-sever-a-tainted-value-dynamic-information-flow-label-propagation-across-tool-output-boundaries-and-the-laundering-failure-at-th.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-sever-a-tainted-value-dynamic-information-flow-label-propagation-across-tool-output-boundaries-and-the-laundering-failure-at-th.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2327,
    "python_slice_tokens": 584,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is not \"tainted vs. clean input.\" It is **tainted value flowing into a control-plane decision vs. tainted value flowing into a data-plane slot**. A DIF label attached to a retrieved document is harmless if that document's bytes are only quoted back to the user. It becomes an exploit the instant a token from that document influenc...",
    "what_was_observed": "A retrieval-augmented agent was given a task: \"Summarize the open issues in repo `acme/widget` and file a tracking ticket.\" Its tool loop was: `search_issues(repo)` → `summarize(issues)` → `create_ticket(title, body)`. Each tool output was tagged by the harness with a label: `search_issues` returns were labeled `TAINT:external` because issue bodies are user-authored. The harness enforced a policy: `create_ticket` may...",
    "condition_of_validity": "The laundering failure is bounded by a specific condition. It triggers when **all** of the following hold: - The agent's next-action selection is conditioned on a context window that contains both `TAINT:*` spans and unlabeled model-authored scratchpad spans, with no structural separation between them. - The model is permitted to emit tool arguments as free-...",
    "decision_boundary": "The architectural invariant required is: **taint labels must be attached to byte ranges, not to authors, and every tool argument must be resolved as a reference into a labeled byte range before policy evaluation.** The decision boundary for the implementer is where to place the reference/resolution step: - **Option A (insufficient):** label model output `TRU...",
    "operational_effect": "Operationally, this changes three things. First, tool schemas must expose argument slots as references, not strings, which forces a harness-side resolver and a label-union step before every tool dispatch. Second, the model's scratchpad becomes a labeled region: any span the model writes is labeled with the union of labels of the context spans it was conditio..."
  },
  "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": "b6061866cc797af0884ffc4abd76ea91fb03d2a3fd0d49c426a12e38a7f33b9e",
    "verified_classes": [
      "TaintLaunderingError",
      "Span",
      "ContextBuffer",
      "ToolArgRef",
      "ToolSpec"
    ],
    "verified_functions": [
      "resolve_and_authorize",
      "dispatch",
      "label_closure"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [
      "invariant violated: tainted title was dispatched"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
