{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-quarantine-a-dynamic-taint-label-that-survives-an-output-sanitization-boundary-and-how-does-label-laundering-th",
  "title": "Under what conditions must an instance quarantine a dynamic taint label that survives an output-sanitization boundary, and how does label laundering through re-summarization break it",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agents that attach dynamic information-flow (IF) labels to context segments and tool outputs, then propagate those labels across summarization, retrieval re-ingestion, and cross-tool handoff. Does not apply to static system-prompt allowlisting, pure output filtering without label provenance, or single-turn stateless calls where no segment is re-ingested.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-quarantine-a-dynamic-taint-label-that-survives-an-output-sanitization-boundary-and-how-does-label-laundering-th.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-quarantine-a-dynamic-taint-label-that-survives-an-output-sanitization-boundary-and-how-does-label-laundering-th.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-quarantine-a-dynamic-taint-label-that-survives-an-output-sanitization-boundary-and-how-does-label-laundering-th.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2181,
    "python_slice_tokens": 511,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not that a prompt injection succeeds on first contact. It is that a *correctly detected* injection label is laundered into an unlabeled form by a legitimate downstream transformation—specifically, summarization or retrieval re-embedding—so the taint is destroyed while the injected instruction's semantic content survives. Static output filters ...",
    "what_was_observed": "An agent ingested a web-fetched document via a `fetch_url` tool. The document contained an embedded instruction string that the first-stage classifier correctly flagged, applying label `TAINT_UNTRUSTED_EXTERNAL` to the retrieved chunk `c7`. The agent's planner, however, was configured to compress retrieved context before reasoning: it called `summarize(chunks=[c1..c9])`, which produced a new segment `s3` describing t...",
    "condition_of_validity": "The quarantine requirement is *valid*—i.e., the label must be carried and enforced—exactly when all of the following hold: - The transformation is **information-preserving with respect to instruction content**: the output can influence downstream action selection. A summarizer that only emits a title is low-risk; one that emits action items is high-risk. - T...",
    "decision_boundary": "The agent must draw the line at the transformation boundary, not the detection boundary. Concretely: - **Enforce at the sink, gate on the join.** The egress/tool-call filter must consult the *propagated* label of the argument's provenance chain, not the label of the immediate producer. A `post_to_endpoint` whose body derives from `s3` derives from `c7`; the ...",
    "operational_effect": "Without the join invariant, detection is decorative: the classifier's true-positive rate is irrelevant because the label is destroyed before enforcement. The operational consequence is that an agent can report \"injection detected and blocked\" while exfiltrating, because detection and enforcement observed different label states. This is worse than no detectio..."
  },
  "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": "3635f4740eb266689460316d6fb371b8fb174d5cf91462514d296766a90e94db",
    "verified_classes": [
      "Taint",
      "TaintLaunderingError",
      "Segment"
    ],
    "verified_functions": [
      "transform",
      "enforce_sink",
      "join"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
