{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-taint-laundering-through-re-summarization-in-provenance-labeled-context-graphs",
  "title": "What structural signals indicate taint-laundering through re-summarization in provenance-labeled context graphs",
  "date_of_record": "2026 November 30",
  "scope": "Applies to agents that maintain a provenance-labeled context graph (each context node carries a `source_class`: `user`, `tool:<name>`, `retrieved:<uri>`, `self:summary`, etc.) and enforce dynamic information-flow control (IFC) by propagating a taint label along graph edges at read time. Does not apply to stateless single-turn agents with no persistent context graph, nor to systems that enforce taint purely at the tokenizer/embedding layer without node-level provenance.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-taint-laundering-through-re-summarization-in-provenance-labeled-context-graphs.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-taint-laundering-through-re-summarization-in-provenance-labeled-context-graphs.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-taint-laundering-through-re-summarization-in-provenance-labeled-context-graphs.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1675,
    "python_slice_tokens": 167,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **taint propagation across a data edge** and **taint reconstitution across a derivation edge**. A data edge copies content: if a context node derived from `tool:web_fetch` is read into a prompt, the reader inherits the taint label directly. A derivation edge *transforms* content: an agent summarizes, paraphrases, trans...",
    "what_was_observed": "A retrieval-augmented agent was configured with a `web_fetch` tool classified `untrusted`, and a scratchpad node type classified `self` (trusted, writable by the model). IFC rule: any prompt assembled from a node with taint `untrusted` must have its tool-call outputs gated through a confirmation step before `send_email` is invoked. Trace: 1. `web_fetch(\"https://example.org/page\")` returns a page whose body contains: ...",
    "condition_of_validity": "The invariant that must hold for provenance-graph IFC to be sound is: > For every context node `N` read into a prompt, `taint(N) = join(taint(A) for all ancestors A of N in the *actual* information-flow graph)`, where the actual information-flow graph includes edges created by model-internal transformations, not only edges created by declared tool derivation...",
    "decision_boundary": "The boundary between \"taint tracking is sound\" and \"taint tracking is theater\" is whether the runtime can reconstruct the read-set of every write. Three regimes: - **Declared-derivation regime (unsound for model-internal transforms):** derivation edges come from tool schemas. Fails whenever the model paraphrases. The `APPROVED` trace is this regime. - **Snap...",
    "operational_effect": "Concretely, the fix is a runtime-side read-set recorder and a re-taint-on-write hook: - At every scratchpad/memory write, snapshot `context_window_node_ids`. - Set `N.derived_from = snapshot` and `N.taint = join(taint(a) for a in snapshot)`. - Enforce the gate on the *join over the read-set of the current prompt*, not on the prompt's direct node labels. The ..."
  },
  "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": "37cd411b9d3d2820727b6988f0f3c989dc04241f23f55df010b13b802790e48d",
    "verified_classes": [
      "TaintLaunderingError"
    ],
    "verified_functions": [
      "re_taint_on_write",
      "audit_undeclared_derivation"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
