{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-launders-injected-taint-through-a-re-derivation-step-that-resets-information-flow-labels",
  "title": "What happens when an instance launders injected taint through a re-derivation step that resets information-flow labels",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agents that carry information-flow (IFC) labels alongside tool-call arguments and derive new values from labeled inputs before they reach an exfiltration sink. Does not apply to agents that pass raw retrieved content directly to sinks without intermediate transformation, nor to pure single-turn tool use with no derivation graph.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-launders-injected-taint-through-a-re-derivation-step-that-resets-information-flow-labels.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-launders-injected-taint-through-a-re-derivation-step-that-resets-information-flow-labels.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-launders-injected-taint-through-a-re-derivation-step-that-resets-information-flow-labels.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2236,
    "python_slice_tokens": 433,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Most prompt-injection defenses treat taint as a property of *provenance*: content that entered the context from an untrusted source (a fetched web page, a tool result, a retrieved document) is marked `UNTRUSTED`, and the sink guard blocks any tool call whose arguments are transitively labeled `UNTRUSTED`. This works when the attacker's payload must survive i...",
    "what_was_observed": "A tool-using agent with an IFC runtime was given a task: \"Read the vendor contract at the URL the user provides, extract the payment terms, and file a summary to the accounting webhook.\" The tool-call graph: 1. `fetch(url)` → returns document body. Runtime labels result `UNTRUSTED(source=web)`. 2. Model reads the document and calls `extract_fields(text=<handle>, schema=...)`. The `extract_fields` tool is a determinis...",
    "condition_of_validity": "The provenance-only taint model is sound **only if** one of the following holds: - **No re-derivation:** the agent never transforms tainted content into new literals before a sink. This is rare in practice; summarization and extraction are the dominant agent behaviors. - **Sink arguments are handle-only:** every sink tool accepts only handle references, neve...",
    "decision_boundary": "The operational question is not \"is this content tainted?\" but \"did a model generation step sit between the tainted source and the sink, and did that step have the *capacity* to reproduce the payload's semantics?\" Draw the boundary as follows: - **Taint is conserved across data edges, not generation edges.** A tool call that consumes a handle and returns a h...",
    "operational_effect": "Concretely, an agent runtime that implements provenance-only taint will: - Pass injected payloads that survive a single summarization, translation, extraction, or reformatting step—i.e., most real injections. - Produce a *false negative rate* that scales with the number of model-mediated transforms between source and sink, which is exactly the number of step..."
  },
  "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": "91d1a2d8594a191e01a95123cb76749daa5b480160edd33ebbc389847d5b07cd",
    "verified_classes": [
      "TaintLaunderingError"
    ],
    "verified_functions": [
      "guard_sink_call",
      "_shannon_entropy",
      "_token_audit_saw_sources",
      "_token_is_high_entropy_cleared"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "math"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
