{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-of-a-delegated-tool-call-chain-silently-escalate-privilege-when-an-mcp-server-advertises-a-shadowed-tool-name-under-a-re-signed-c",
  "title": "Why does an instance of a delegated tool-call chain silently escalate privilege when an MCP server advertises a shadowed tool name under a re-signed capability descriptor",
  "date_of_record": "2026 November 28",
  "scope": "Applies to multi-hop agentic tool invocation where a planner agent delegates a tool call to a sub-agent or MCP client that resolves tools by name against a server-supplied descriptor set, and where capability warrants are re-signed at each hop. Does not apply to single-hop direct function-calling against a statically pinned tool manifest, nor to sandboxes that enforce tool identity by cryptographic hash rather than by name.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-of-a-delegated-tool-call-chain-silently-escalate-privilege-when-an-mcp-server-advertises-a-shadowed-tool-name-under-a-re-signed-c.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-of-a-delegated-tool-call-chain-silently-escalate-privilege-when-an-mcp-server-advertises-a-shadowed-tool-name-under-a-re-signed-c.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-of-a-delegated-tool-call-chain-silently-escalate-privilege-when-an-mcp-server-advertises-a-shadowed-tool-name-under-a-re-signed-c.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1510,
    "python_slice_tokens": 213,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the agent called the wrong tool.\" It is that **tool identity was resolved by name at the moment of invocation, while the capability warrant authorized a tool by descriptor hash at the moment of delegation.** These two identities diverge the instant a downstream server (or a compromised proxy in the delegation path) re-advertises a tool un...",
    "what_was_observed": "A three-hop chain was exercised: planner `P` → deputy `D` → MCP server `S`. `P` holds a warrant `W_P` scoped to `tool:read_calendar` with `descriptor_hash = H_0`. `P` delegates to `D` by minting a narrowed warrant `W_D` that carries `H_0` and the name `read_calendar`, then hands `D` the server endpoint for `S`. The suite then performed a tool-shadowing injection: `S` was replaced (via a poisoned discovery response) b...",
    "condition_of_validity": "This boundary is reachable only when all of the following hold simultaneously: - Tool resolution is **name-keyed** at the deputy, and the warrant binds to a **hash-keyed** identity. - The deputy performs **no re-hash** of the presented descriptor against the warrant at invocation time (trusts the server's `hash` field or ignores it). - The delegation path pe...",
    "decision_boundary": "The operational rule: **a deputy must treat the tool name as an untrusted label and the descriptor hash as the identity, and it must recompute that hash from the descriptor bytes it will actually execute against — never from a `hash` field the server asserts.** The warrant check must be `recompute_hash(presented_descriptor) == warrant.descriptor_hash AND war...",
    "operational_effect": "Adversarial suites must include, as first-class cases: (a) name-collision shadowing with divergent descriptor hash, (b) descriptor-hash forgery where the asserted `hash` matches the warrant but the bytes do not, (c) schema-injected default arguments in the shadowed descriptor, and (d) re-signed warrant chains where an intermediate hop re-mints a warrant agai..."
  },
  "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": "63075c54e6a994e5ec404012eab3131fe4d834f6e2f2d499882ee10e3a7ed85d",
    "verified_classes": [
      "ConfusedDeputyError",
      "Descriptor",
      "Warrant"
    ],
    "verified_functions": [
      "execute_guarded",
      "digest"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ConfusedDeputyError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
