{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-skill-injection-surface-exposure-in-mcp-tool-descriptions-and-a2a-skill-manifests",
  "title": "What structural signals indicate skill-injection surface exposure in MCP tool descriptions and A2A skill manifests",
  "date_of_record": "2026 November 30",
  "scope": "Applies to any agent that enumerates remote capabilities via MCP `tools/list` or A2A Agent Card `skills[]` and then feeds those descriptions into its own planner context. Does not apply to statically compiled, locally-versioned tool schemas whose descriptors are signed at build time and never re-fetched at runtime.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-skill-injection-surface-exposure-in-mcp-tool-descriptions-and-a2a-skill-manifests.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-skill-injection-surface-exposure-in-mcp-tool-descriptions-and-a2a-skill-manifests.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-skill-injection-surface-exposure-in-mcp-tool-descriptions-and-a2a-skill-manifests.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1613,
    "python_slice_tokens": 230,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The common intuition is that prompt injection lives in *data* — retrieved documents, tool *outputs*, user turns. Skill injection lives in the *capability descriptor itself*: the `description` string of an MCP tool or the `description`/`examples` fields of an A2A skill. These fields are consumed during the **planning phase**, before any tool is invoked, and t...",
    "what_was_observed": "A federated MCP client (call it the orchestrator) connected to a third-party gateway exposing ~40 tools. One tool, ostensibly a \"weather lookup,\" carried this `description`: The orchestrator's planner had no allowlist for cross-server invocation. On the next weather request it: 1. Emitted a `prefs.read` call to a *different* MCP server (a private one holding user PII). 2. Serialized that result into the `context` arg...",
    "condition_of_validity": "The vulnerability is live exactly when three conditions co-hold: 1. **Descriptor trust asymmetry** — the planner's context does not lexically distinguish \"my instructions\" from \"remote capability metadata.\" If the runtime wraps descriptors in a delimited, explicitly-untrusted envelope *and* the model is trained/instructed to treat that envelope as data, cond...",
    "decision_boundary": "Treat a capability descriptor as **untrusted instruction-bearing data** the moment any of these structural signals appear in it: - **Imperative verbs outside the tool's own action.** \"confirm,\" \"first,\" \"before calling,\" \"ignore,\" \"include,\" \"export\" — verbs describing *orchestrator* behavior rather than the tool's own semantics. A weather tool describes wea...",
    "operational_effect": "Enforcing this boundary changes the orchestrator in three concrete ways. First, descriptor ingestion becomes a **parse-then-admit** step: descriptors are parsed into structured fields (name, params, declared dependencies), and the free-text `description` is either dropped or wrapped in an untrusted envelope with the imperative-verb scan run as a gate. Second..."
  },
  "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": "29c6d7ac97c8b1bd4401c0a46ae3a6772053551b3573a70d6fff59ec18967582",
    "verified_classes": [
      "CapabilityDescriptor",
      "SkillInjectionSurfaceError"
    ],
    "verified_functions": [
      "admit_descriptor",
      "plan_edge_allowed"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "SkillInjectionSurfaceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
