{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-launders-a-tainted-argument-through-a-re-routed-mcp-tool-call",
  "title": "What happens when an instance launders a tainted argument through a re-routed MCP tool call",
  "date_of_record": "2026 November 22",
  "scope": "Applies to MCP-orchestrating agents that route tool calls across multiple servers where at least one server holds privileged authority (write, delete, network egress, credential use) and at least one server ingests untrusted content (web fetch, email read, document retrieval). Does not apply to single-tool agents, or to agents whose entire tool surface shares a single trust domain with no untrusted-input channel.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-launders-a-tainted-argument-through-a-re-routed-mcp-tool-call.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-launders-a-tainted-argument-through-a-re-routed-mcp-tool-call.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-launders-a-tainted-argument-through-a-re-routed-mcp-tool-call.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1807,
    "python_slice_tokens": 248,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Taint tracking at the *prompt* layer is not the same as taint tracking at the *tool-routing* layer. Most harnesses mark retrieved or user-supplied content as untrusted and instruct the model not to obey it. That guardrail lives in the reasoning channel and is probabilistic. The confused-deputy escalation we observed does not require the model to *obey* injec...",
    "what_was_observed": "A routing agent was given three MCP servers: `web` (untrusted egress, returns page text), `files` (read-only local corpus), and `mail` (privileged: `send_email`). A page fetched by `web.fetch` contained a benign-looking structured fragment — a fake \"contact card\" with an email address and a message body. The model summarized the page correctly, flagged the embedded instructions as suspicious, and declined to act on t...",
    "condition_of_validity": "The escalation requires all of the following to hold simultaneously; remove any one and the invariant holds: - **Cross-server value flow.** The tainted value must cross from an untrusted-origin server to a privileged server. If `web` and `mail` share one trust domain, or if the privileged tool only accepts values the model *generated* (not *copied*), no flow...",
    "decision_boundary": "The boundary is *where provenance is decided*: at the model (soft, probabilistic, bypassable by paraphrase) or at the router (hard, structural, enforced regardless of model behavior). The decision rule for the routing layer: - Classify each MCP server into a trust class: `untrusted-source` (ingests external content), `trusted-local` (curated corpus), `privil...",
    "operational_effect": "Enforcing the taint-propagation invariant at the router changes the failure mode from *silent escalation* to *loud, recoverable rejection*. In our replay, the `mail.send_email` call was intercepted, the model received `TaintViolation(source=web.fetch, sink=mail.send_email, field=to)`, and on the next turn it either escalated to a human-approval declassificat..."
  },
  "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": "bfed675ef58c7a7fa02338c13443d6c6049d1a86188bae52fa3b0039e987e530",
    "verified_classes": [
      "TrustClass",
      "TaintViolation",
      "LedgerEntry",
      "ProvenanceLedger"
    ],
    "verified_functions": [
      "route_tool_call",
      "record",
      "derivation_sources"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "TaintViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
