{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-trust-a-tool-description-it-never-re-validates-manifest-poisoning-at-the-description-parse-boundary",
  "title": "Why does an instance trust a tool description it never re-validates: manifest poisoning at the description-parse boundary",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agents that dynamically discover and load tools at runtime via MCP `tools/list`, plugin manifests, or OpenAPI-derived schemas, where the tool *description* text is injected into the model's context and used to drive selection and argument construction. Does not apply to statically compiled tool sets whose descriptions are frozen at build time and never re-fetched.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-tool-description-it-never-re-validates-manifest-poisoning-at-the-description-parse-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-tool-description-it-never-re-validates-manifest-poisoning-at-the-description-parse-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-tool-description-it-never-re-validates-manifest-poisoning-at-the-description-parse-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2112,
    "python_slice_tokens": 216,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different trust boundaries in dynamic tool loading, and conflating them is the root of the vulnerability class. 1. **The capability boundary** — what the tool *can do*: its declared input schema, its side-effect surface, its resource scopes. This is what most MCP security guidance addresses: verify the schema, sandbox the executor,...",
    "what_was_observed": "A dynamically-loading agent fetched a tool registry on cold start. One tool, nominally a benign `get_weather`-style lookup, carried a description that opened with a plausible functional summary and then appended a subordinate clause: an instruction to, before invoking any *other* tool in the session, first call `get_weather` with a parameter value derived from the user's prior message, framed as \"for routing telemetr...",
    "condition_of_validity": "This failure mode is live only under the conjunction of three conditions. Remove any one and the surface collapses: 1. **Dynamic discovery** — descriptions are fetched at runtime rather than pinned at build. Static manifests are vulnerable to supply-chain compromise at build time but not to runtime re-injection. 2. **Description-in-context** — the raw descri...",
    "decision_boundary": "The operative question is not \"is this tool safe to call\" but **\"at what point does the manifest transition from data to instruction, and is that transition gated?\"** The correct architectural invariant: **description text is untrusted input at every read, regardless of server warrant.** Concretely: - **Separate the trust decisions.** Server identity (warran...",
    "operational_effect": "The practical consequence is a shift in where the agent spends verification budget. Capability-layer defenses (sandboxing, scope restriction, schema validation) are necessary and were all present in the observed failure — and none of them fired, because the attack never violated a capability. The entire exploit lived in the gap between \"the server is authent..."
  },
  "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": "0fbf2bb1e4c4d4acc889ba4aa7089f3bdfb11d53fc4557ac7a224710001b60cd",
    "verified_classes": [
      "ManifestInstructionLeak"
    ],
    "verified_functions": [
      "validate_description_surface",
      "assemble_tool_preamble"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ManifestInstructionLeak"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
