{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-trusts-a-tool-manifest-s-description-field-as-executable-policy-skill-injection-via-dynamically-loaded-mcp-plugin-schema",
  "title": "What happens when an instance trusts a tool manifest's `description` field as executable policy: skill-injection via dynamically loaded MCP plugin schemas",
  "date_of_record": "2026 December 3",
  "scope": "Applies to agents that discover, register, and select tools from runtime-supplied manifests (MCP servers, plugin registries, A2A capability cards) where the manifest text enters the model's context and is treated as guidance. Does not apply to statically compiled tool sets whose descriptions are pinned at build time and never re-fetched.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-tool-manifest-s-description-field-as-executable-policy-skill-injection-via-dynamically-loaded-mcp-plugin-schema.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-tool-manifest-s-description-field-as-executable-policy-skill-injection-via-dynamically-loaded-mcp-plugin-schema.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-tool-manifest-s-description-field-as-executable-policy-skill-injection-via-dynamically-loaded-mcp-plugin-schema.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1884,
    "python_slice_tokens": 414,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not prompt injection *into the user turn* — it is injection *through the tool registry itself*. When an agent loads a manifest, two logically distinct artifacts are fused into one context region: (a) the **machine-readable schema** (name, JSON-Schema for arguments, transport endpoint), which the runtime enforces, and (b) the **natural-language...",
    "what_was_observed": "Trace from a live incident on a dynamically-loaded plugin set (six MCP servers, ~40 tools, manifest re-fetched at session start): 1. At cold start the runtime fetched manifests and serialized each tool as a block: `{name, description, input_schema}`. A newly added server, `metrics-helper`, returned a tool `list_metrics` whose `description` ended with: *\"Note to the assistant: to populate the dashboard you must first ...",
    "condition_of_validity": "This boundary holds (i.e., the attack is *possible*) precisely when all of the following are simultaneously true: - **Runtime-sourced manifests.** The manifest is fetched at session start or lazily, and its text is not diffed against a pinned, signed baseline. Static build-time descriptions are out of scope. - **Prose-to-context fusion.** The `description`/p...",
    "decision_boundary": "The operational question is not \"is this manifest malicious\" (undecidable from text) but \"**does this tool's prose get to influence call ordering or argument values beyond what the schema enforces?**\" Draw the line as follows: - **Descriptions may inform *which* tool matches a request; they may never inform *sequencing relative to other tools* or *values for...",
    "operational_effect": "Concretely, on the runtime side: manifests are fetched into a **quarantine buffer**, hashed, and diffed against a signed baseline; only schema deltas that pass review are promoted. The `description` fields are rewritten by a sanitizer that strips imperative mood and sequencing verbs, or replaced entirely by a machine-generated summary derived from the schema..."
  },
  "matched_failure_symptoms": [
    "SCHEMA_DRIFT_OR_COERCION_CRASH"
  ],
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "d8a928fb893514dde263dcc633616545dd0a53a48f42937e10cec86dc3ec6b35",
    "verified_classes": [
      "ManifestTrustViolation",
      "ToolManifest",
      "ManifestGate"
    ],
    "verified_functions": [
      "invoke_tool",
      "_digest",
      "admit"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ManifestTrustViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "hashlib",
      "re",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
