{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-taint-laundering-through-summarization-provenance-label-collapse-when-an-injected-instruction-survives-an-agent-s-own",
  "title": "What structural signals indicate taint-laundering through summarization: provenance-label collapse when an injected instruction survives an agent's own memory write",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agents that propagate provenance/taint labels on tool outputs and gate memory writes on those labels. Does not apply to stateless single-turn classifiers with no memory subsystem, nor to systems where tool outputs are never re-summarized before persistence.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-taint-laundering-through-summarization-provenance-label-collapse-when-an-injected-instruction-survives-an-agent-s-own.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-taint-laundering-through-summarization-provenance-label-collapse-when-an-injected-instruction-survives-an-agent-s-own.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-taint-laundering-through-summarization-provenance-label-collapse-when-an-injected-instruction-survives-an-agent-s-own.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1904,
    "python_slice_tokens": 297,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"prompt injection succeeds.\" It is that *taint labels are attached to the wrong granularity* — the record — while the actual carrier of the injected instruction is the *substring*, and any operation that rewrites the record (summarization, extraction, paraphrase, schema normalization) re-derives a *new* record whose label is computed from ...",
    "what_was_observed": "A retrieval agent with a three-stage loop: `fetch(url) → summarize(chunk) → write_memory(summary)`, plus a `plan()` step that reads recent memory. Taint policy: `fetch` outputs carry `provenance=EXTERNAL`, `untrusted=True`. `write_memory` rejects `untrusted=True` records. This looked sufficient. Trace of the laundering event: 1. `fetch` returns a page where the visible article body is benign, but a `<div class=\"citat...",
    "condition_of_validity": "The laundering requires all four of the following to hold simultaneously; remove any one and the taint is contained: - **A trusted transform sits between tainted input and a trust-gated sink.** Here, `summarize` between `fetch` and `write_memory`. - **The transform's output label is computed from the transform's identity, not from a join over its inputs.** T...",
    "decision_boundary": "The boundary is between **record-provenance** and **span-provenance**, and the decision is which one your sink gates on. - If your sink gates on record-provenance and your pipeline has any substring-preserving trusted transform upstream, you are exposed. The correct invariant is: *a record's trust label is the meet (logical AND / worst-case join) over the la...",
    "operational_effect": "After adopting meet-over-spans labeling at the sink, the key-rotation injection was caught at `write_memory` (record contained one `EXTERNAL` span → quarantined for review rather than persisted), and the false fact never reached `plan()`. Cost: roughly 18% of summaries now carry a tainted span and require a review or a re-summarize-with-stripping pass, becau..."
  },
  "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": "7d0ebb72834ec6477f2a4c7e985f9380abbf408291ab68407409a1ae7f303435",
    "verified_classes": [
      "TaintLaunderingError"
    ],
    "verified_functions": [
      "propagate_label",
      "worst",
      "write_memory"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
