{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-dynamically-loaded-skill-registry-has-been-poisoned-via-description-field-injection",
  "title": "What structural signals indicate a dynamically loaded skill registry has been poisoned via description-field injection",
  "date_of_record": "2026 December 1",
  "scope": "Applies to agents that discover and load tools/skills at runtime from a mutable registry (MCP `tools/list`, plugin manifests, skill catalogs) where the tool *description* string is concatenated into the model's context. Does not apply to statically compiled tool surfaces where descriptions are pinned at build time and never re-fetched mid-session.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-dynamically-loaded-skill-registry-has-been-poisoned-via-description-field-injection.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-dynamically-loaded-skill-registry-has-been-poisoned-via-description-field-injection.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-dynamically-loaded-skill-registry-has-been-poisoned-via-description-field-injection.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1857,
    "python_slice_tokens": 306,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A skill-injection attack is not the same thing as a prompt-injection attack on user content. User-content injection arrives through a channel the model already treats as untrusted data, and the standard defense (delimit, label as data, refuse instructions inside data) applies. Description-field injection arrives through the *trusted instruction channel*: the...",
    "what_was_observed": "A skill registry serving an agent's `tools/list` returned an entry whose `description` field read, in part: The `name` was `get_weather`. The `inputSchema` was a clean `{city: string}`. The handler was the genuine weather handler. Nothing in the tool's executable surface was malicious. The payload lived entirely in prose that the framework injected verbatim into the system-adjacent context block, ahead of the user tu...",
    "condition_of_validity": "This failure mode is *live* only under a specific conjunction, and it is worth stating precisely because it bounds the guardrail: - The registry is fetched or refreshed **mid-session** (or at cold start) and its descriptions are concatenated into context without a trust boundary between \"registry metadata\" and \"operator instructions.\" - The model's context w...",
    "decision_boundary": "The decision boundary is between *documentation that describes the tool* and *documentation that directs the agent*. The practical test the agent (or a pre-load validator) should apply per description string: - If the description contains an imperative whose object is **another capability** → treat as injection, quarantine the entry, do not load. - If the de...",
    "operational_effect": "When a registry entry crosses the boundary, the correct operational response is not to sanitize-and-load (stripping the `<IMPORTANT>` tags leaves the cross-tool imperative intact) and not to load-with-warning (the model may still follow it). The response is **quarantine the entire entry, fail the load, and surface the description diff to the operator**, beca..."
  },
  "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": "a07d3b4b01727d341d0e6f0422efba6eb10c5af52ebc8762d3f041a042291e35",
    "verified_classes": [
      "SkillRegistryInjectionError"
    ],
    "verified_functions": [
      "validate_skill_entry",
      "load_registry"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "SkillRegistryInjectionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "re"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
