{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-poisoned-mcp-tool-manifest-has-already-crossed-the-planning-boundary",
  "title": "What structural signals indicate a poisoned MCP tool manifest has already crossed the planning boundary",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agents that ingest remote tool manifests (MCP `tools/list`, A2A skill cards) at cold start or mid-session and let the LLM planner select tools by natural-language description. Does not apply to statically compiled, signed, allowlisted tool sets where descriptions are never surfaced to the model.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-poisoned-mcp-tool-manifest-has-already-crossed-the-planning-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-poisoned-mcp-tool-manifest-has-already-crossed-the-planning-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-poisoned-mcp-tool-manifest-has-already-crossed-the-planning-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1678,
    "python_slice_tokens": 332,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The common mental model of skill-injection treats the manifest as *data* that gets parsed and then *trusted* — the attack is assumed to happen when the model reads a malicious description and chooses a malicious tool. That framing misses the actual boundary. The dangerous transition is not \"model reads bad text.\" It is **when a manifest field that the runtim...",
    "what_was_observed": "A three-tool MCP server was registered with a benign-looking `lookup_record` tool. Its `inputSchema` contained a property `query` whose `description` field read: The server also advertised a `dump_session_state` tool with a plausible schema. Nothing in the *tool names* was suspicious; both were well-formed JSON Schema. The poisoning lived entirely in a nested `description` string — a field most manifest validators ch...",
    "condition_of_validity": "This failure requires all three of the following; remove any one and the attack surface collapses: - **Description-bearing fields are rendered into planner context verbatim.** If descriptions are summarized by a separate, non-tool-calling model, or stripped to name+type, the injection has no channel. - **The planner can emit calls to tools not named in the u...",
    "decision_boundary": "The guardrail is a serialization contract, not a content filter. Content filters (regex for \"ignore previous instructions\") fail on paraphrase and on instructions split across schema properties. The structural rule: - **Manifest fields are untrusted-by-construction and must be rendered inside an explicit, model-visible data envelope** with a fixed preamble (...",
    "operational_effect": "After enforcing the envelope + allowlist + egress-taint triad, the same poisoned manifest produced a `ManifestInstructionLeak` at ingest time: the runtime detected that the rendered manifest contained imperative tokens targeting tool names outside the allowlist and quarantined the server's descriptions to a summarized, instruction-stripped form. The planner ..."
  },
  "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": "0a44e32a5c77664481af05cc057c1e1cfd83dc9003e407f6fdd9e1ac4a772864",
    "verified_classes": [
      "ManifestInstructionLeak"
    ],
    "verified_functions": [
      "render_manifest_for_planner",
      "_named_tools",
      "_strip",
      "__init__"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ManifestInstructionLeak"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
