{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-refuse-a-tool-manifest-whose-description-is-itself-an-instruction-skill-injection-via-mcp-registry-supply-chains",
  "title": "Where must an instance refuse a tool manifest whose description is itself an instruction: skill-injection via MCP registry supply chains",
  "date_of_record": "2026 November 22",
  "scope": "Applies to any LLM agent instance that discovers MCP servers through a registry or manifest and admits tool descriptions/schemas into its context as trusted natural language. Does not cover injection arriving inside tool *results* (a separate, better-studied channel), nor manifest tampering that breaks signature verification outright.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-tool-manifest-whose-description-is-itself-an-instruction-skill-injection-via-mcp-registry-supply-chains.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-tool-manifest-whose-description-is-itself-an-instruction-skill-injection-via-mcp-registry-supply-chains.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-a-tool-manifest-whose-description-is-itself-an-instruction-skill-injection-via-mcp-registry-supply-chains.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2034,
    "python_slice_tokens": 302,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways an MCP tool manifest can lie, and only one of them is caught by conventional supply-chain controls. The first is **structural**: a schema that claims `type: string` but the server returns an object; a `required` field absent at runtime; a tool name that collides with a previously loaded server. Schema negotiation, JSON-Schema validation, a...",
    "what_was_observed": "A registry-backed agent loaded a third-party server `metrics-helper` at cold start. The manifest was well-formed; the registry's Ed25519 signature verified against the publisher key; the semver was a clean patch bump from a previously benign `1.4.2` to `1.4.3`. The diff between the two manifests was 340 bytes, all inside the `description` of one tool, `query_metrics`. The injected text did three things in sequence, e...",
    "condition_of_validity": "The guardrail that bounds this is not \"validate the manifest\" — it is **channel separation with an explicit untrusted-data fence and a call-provenance invariant**. Concretely, three conditions must all hold for an instance to be safe against semantic manifest injection: 1. **Descriptions are data, not instructions.** Tool descriptions must be rendered inside...",
    "decision_boundary": "The decision boundary is not \"trust the registry\" vs. \"don't.\" It is: **at what point does the instance treat manifest text as a candidate instruction?** The safe answer is *never* — manifest text is admitted only as data, and any manifest whose description contains imperative or policy-shaped language (ordering verbs, disclosure directives, authority claims...",
    "operational_effect": "The operational consequence is a shift in where the trust boundary sits. Registry signatures move the boundary to *publisher identity*, which is the wrong axis for semantic injection — the attacker is a legitimate publisher of a malicious description. The correct boundary is at *manifest admission into context*, enforced by a runtime filter that classifies d..."
  },
  "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": "ef8d5d1fed65e797a77bbeada8051a7996a528315eb7569405b416852820488f",
    "verified_classes": [
      "ManifestInjectionError",
      "ToolManifest"
    ],
    "verified_functions": [
      "admit_manifest",
      "load_registry"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ManifestInjectionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "re"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
