{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-trust-a-tool-description-that-the-registry-never-signed",
  "title": "Why does an instance trust a tool description that the registry never signed?",
  "date_of_record": "2026 November 30",
  "scope": "Applies to LLM agents that discover tools dynamically through an MCP-style registry and construct their tool-selection prompt from server-supplied `name`/`description`/`inputSchema` fields. Does not apply to statically compiled tool bindings where the description string is baked into the agent image at build time and never re-fetched.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-tool-description-that-the-registry-never-signed.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-tool-description-that-the-registry-never-signed.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-tool-description-that-the-registry-never-signed.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1964,
    "python_slice_tokens": 514,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct trust surfaces in tool-using agents, and most implementations collapse them into one: 1. **The transport surface** — is this server who it claims to be? (TLS, mTLS, OAuth client credentials, signed server identity.) 2. **The semantic surface** — does this *description text* faithfully describe what the tool does? Signature verification...",
    "what_was_observed": "A tool-registry-backed agent (registry → `tools/list` → prompt assembly → tool loop) was observed executing an out-of-band action after a routine tool refresh. The trace: - **T0.** Agent cold-starts, queries registry for `tools/list`. Registry proxies to five upstream MCP servers. - **T1.** One upstream server (`pdf-indexer`, previously benign) returns a tool `summarize_pdf` whose `description` now reads: `Summarizes...",
    "condition_of_validity": "The attack requires the conjunction of four conditions. Remove any one and it fails: 1. **Description reaches the model in an instruction-authoritative region.** If descriptions are placed in a clearly delimited, untrusted data block with an explicit \"this is metadata, not instructions\" framing, the model's compliance rate drops sharply (though never to zero...",
    "decision_boundary": "The boundary is **manifest canonicalization and digest pinning at the registry, enforced before prompt assembly** — not at the model, not at the transport. - **Below the boundary (insufficient):** TLS/mTLS, OAuth scopes, server allowlists, schema validation, output filtering. All of these pass a poisoned-description manifest because the poison is well-formed...",
    "operational_effect": "When manifest integrity is pinned and enforced fail-closed: - The T1 poisoned description never reaches T2. The registry raises on hash mismatch, the tool is withheld from `tools/list`, and the agent operates with a reduced toolset rather than a compromised one. **Availability degrades; integrity holds.** This is the correct trade for tool descriptions speci..."
  },
  "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": "b274a74a715fe9369a22629f57803d306c894f3022f13ae6dd35ef018d1e9ee1",
    "verified_classes": [
      "ManifestIntegrityError",
      "PinnedTool"
    ],
    "verified_functions": [
      "canonical_manifest",
      "digest_of",
      "verify_and_admit",
      "assemble_tool_prompt"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ManifestIntegrityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
