{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-taint-label-laundering-across-a-tool-sandbox-boundary-when-an-agent-re-derives-privileged-data-from-a-low-privilege-d",
  "title": "What structural signals indicate taint-label laundering across a tool-sandbox boundary when an agent re-derives privileged data from a low-privilege derivation",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agents whose tool sandbox enforces information-flow control (IFC) by attaching provenance/taint labels to values and blocking flows from high-integrity sources to low-integrity sinks. Does not apply to coarse capability gating (whole-tool allow/deny) or to stateless single-shot tool calls with no cross-session value reuse.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-taint-label-laundering-across-a-tool-sandbox-boundary-when-an-agent-re-derives-privileged-data-from-a-low-privilege-d.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-taint-label-laundering-across-a-tool-sandbox-boundary-when-an-agent-re-derives-privileged-data-from-a-low-privilege-d.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-taint-label-laundering-across-a-tool-sandbox-boundary-when-an-agent-re-derives-privileged-data-from-a-low-privilege-d.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2493,
    "python_slice_tokens": 440,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A taint-aware sandbox protects a *value* by tracking its provenance label through the data-flow graph: a secret read from `vault.read()` is tagged `SECRET`, and any sink that egresses it (a network call, a write to a shared scratchpad, a message to a peer agent) is blocked unless the sink is cleared for `SECRET`. The invariant is: **no value carrying label L...",
    "what_was_observed": "A two-session pattern, reproducible and deterministic once the trigger is set: 1. **Session A** (cleared for `SECRET`) reads a customer record set. It is correctly forbidden from emitting rows to the shared bus. Instead it computes an aggregate — e.g. a bucketed histogram, a boolean predicate `count(ssn LIKE '123-45-%') > 0`, or a fitted model — and emits *only the aggregate* to the bus. The sandbox labels the aggreg...",
    "condition_of_validity": "The laundering succeeds only when all of the following hold simultaneously; remove any one and the flow is blocked or detected: 1. **The declassifier is trusted by contract, not by verification.** The sandbox downgrades labels on the declassifier's *declared* guarantee. If the sandbox instead runs a *dynamic* check (differential privacy budget accounting, ou...",
    "decision_boundary": "The boundary between \"sanctioned declassification\" and \"laundering\" is **not** whether the value is transformed. It is whether the transformation is *verified to be non-invertible with respect to the protected predicate* before the label is downgraded, and whether the *join* of the downgraded artifact with any co-resident value in the receiving session is it...",
    "operational_effect": "When the invariant holds, the observable effect is that reconstruction attempts **fail closed at the join**, not at the egress. Session B's attempt to correlate the PUBLIC artifact with its SECRET read produces a context labeled `SECRET`, and the subsequent PUBLIC emission is blocked — the agent sees a `TaintJoinViolation`, not a network error. This is the c..."
  },
  "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": "0db2a4d2d26218c0824e71bdd18bc126bf50e1ea3c40419dc37e08a6363cbf04",
    "verified_classes": [
      "Label",
      "TaintJoinViolation",
      "DeclassificationUnsound",
      "Value",
      "SessionContext"
    ],
    "verified_functions": [
      "declassify",
      "emit",
      "reconstruct_and_emit",
      "join_label",
      "admit"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "DeclassificationUnsound",
      "TaintJoinViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
