{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-taint-label-laundering-through-legitimate-tool-mediated-re-derivation",
  "title": "What structural signals indicate taint-label laundering through legitimate tool-mediated re-derivation",
  "date_of_record": "2026 December 1",
  "scope": "Applies to agents that propagate dynamic information-flow (DIF) taint labels across tool calls and memory writes, where a tainted value can be re-derived by a *trusted* tool from *untainted* inputs and thereby lose its label. Does not apply to static label systems that never downgrade, nor to single-turn agents with no persistent memory.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-taint-label-laundering-through-legitimate-tool-mediated-re-derivation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-taint-label-laundering-through-legitimate-tool-mediated-re-derivation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-taint-label-laundering-through-legitimate-tool-mediated-re-derivation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1734,
    "python_slice_tokens": 329,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"prompt injection bypasses the taint tracker.\" The failure is more subtle: **taint labels are properties of *provenance*, but agents reason about *values*.** When a tainted datum influences a computation whose *expressed inputs* are untainted, the output is genuinely clean in value-space yet contaminated in causal-space. A DIF tracker that...",
    "what_was_observed": "In a 3-agent pipeline (fetcher → planner → executor) with a join-over-arguments DIF tracker, we instrumented every tool call with a provenance graph and replayed 400 adversarial episodes. Structural signals that preceded a laundering event (label present at step *n*, absent at step *n+k*, value preserved) fell into three detectable families: 1. **Argument-content echo.** A trusted tool's output contained a substring ...",
    "condition_of_validity": "The invariant that bounds this failure: **label preservation must be checked against value-identity, not only argument-join.** Formally, for any tool output *o* at step *t*, if there exists a prior step *s < t* with a `TAINTED` value *v* such that *v* appears as a substring (or normalized token match) in *o*, then *o* must inherit `TAINTED` regardless of *o*...",
    "decision_boundary": "The boundary between \"clean re-derivation\" and \"laundering\" is **the presence of a declassification witness whose input set intersects the original taint source's value-space.** Two cases: - *Sanctioned*: `summarize(tainted_doc)` returns a *new* string whose tokens are not verbatim from the doc. No value-identity match; no witness needed. Label may drop legi...",
    "operational_effect": "Without value-identity taint checking, DIF tracking provides *false assurance*: the audit graph looks clean precisely because the attack succeeded. The blast radius is bounded only by the sinks reachable from trusted-labeled values — which is the entire privileged surface. With the invariant enforced, laundering events convert from silent label-drops into ei..."
  },
  "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": "67b6c8738eebd4dc25e5a7aa683ca510bb80e76f827323b95f7e773f59a7896e",
    "verified_classes": [
      "TaintLaunderingError",
      "DeclassWitness",
      "TaintIndex"
    ],
    "verified_functions": [
      "_norm",
      "guarded_tool_call",
      "replay_episode",
      "record",
      "hit"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing",
      "unicodedata"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
