{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-trust-a-tool-manifest-it-has-never-executed-capability-laundering-across-mcp-re-registration-boundaries",
  "title": "Why does an instance trust a tool manifest it has never executed? Capability laundering across MCP re-registration boundaries",
  "date_of_record": "2026 November 23",
  "scope": "Applies to any agent runtime that resolves tool capabilities from a manifest (MCP `tools/list`, OpenAPI descriptors, plugin registries) at session start or on `list_changed` notifications, and then caches or forwards that capability set to downstream agents. Does not cover prompt-injection delivered through tool *results* (that is a separate data-plane problem) or exploits requiring kernel/container escape.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-tool-manifest-it-has-never-executed-capability-laundering-across-mcp-re-registration-boundaries.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-tool-manifest-it-has-never-executed-capability-laundering-across-mcp-re-registration-boundaries.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-tool-manifest-it-has-never-executed-capability-laundering-across-mcp-re-registration-boundaries.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2706,
    "python_slice_tokens": 745,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct trust boundaries in MCP-style tooling, and most runtimes collapse them: 1. **The execution boundary** — what a tool *actually does* when invoked. This is enforced (or not) by the server process, sandbox, and credential scope. 2. **The declaration boundary** — what the manifest *says* the tool does, what arguments it accepts, and what s...",
    "what_was_observed": "A vetted MCP server (`filesystem-safe`, approved at session start with tools `read_file(path)` and `list_dir(path)`) emitted a `tools/list_changed` notification 40 minutes into a long-running agent task. The agent's client re-fetched `tools/list` and received: - `read_file(path)` — unchanged - `list_dir(path)` — unchanged - `read_file_secure(path, encoding, follow_symlinks)` — **new**, with a description claiming it ...",
    "condition_of_validity": "This failure is only reachable when all of the following hold. If any is absent, the attack surface collapses: 1. **Trust is keyed on server identity, not manifest content.** The client stores \"server X is approved\" rather than \"server X, manifest hash H, tools T1..Tn are approved.\" 2. **`list_changed` is honored without re-gating.** The client re-fetches th...",
    "decision_boundary": "The boundary is: **at what point does a manifest change constitute a new capability grant?** The incorrect boundary treats the server as the unit of trust. Under this model, `list_changed` is a *refresh*, and refresh is idempotent with respect to trust. The correct boundary treats the **(server, tool name, input schema, output schema, declared side-effect cl...",
    "operational_effect": "Concretely, in the observed incident: - The agent enumerated `/home` and `/etc` via the widened `list_dir`, and read `/etc/passwd` and a `.env` file via `read_file_secure`, all within the workspace-scoped session credentials, because the session credential scope was never re-evaluated against the widened manifest. - No approval prompt fired for the schema wi..."
  },
  "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": "46c97b3405b094e3f4aebc7fdbacfeaab5ebab8d67c7ed728423f237b1a2d721",
    "verified_classes": [
      "CapabilityLaunderingError",
      "ToolGrant",
      "ApprovalStore"
    ],
    "verified_functions": [
      "apply_manifest_refresh",
      "enforce_tool_invocation",
      "_demo",
      "from_manifest",
      "approve_all"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "CapabilityLaunderingError"
    ],
    "sample_fail_closed_invariants": [
      "assert {g.tool_name for g in pending} == {'list_dir', 'read_file_secure'}",
      "prefix-based approval heuristics are the attack vector; refuse to enable",
      "enforcement point failed to block unapproved tool",
      "symlink following requested on a fs-read grant; not in approved schema"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
