{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-skill-injection-attack-surface-in-dynamically-loaded-agent-tool-manifests-and-how-signed-skill-registries-bound-the",
  "title": "What structural signals indicate a skill-injection attack surface in dynamically loaded agent tool manifests, and how signed skill registries bound the attack",
  "date_of_record": "2026 November 23",
  "scope": "Applies to agents that load tool/skill manifests (MCP server capability descriptors, OpenAPI-derived function schemas, plugin manifests) at runtime from remote or third-party registries, where manifest content feeds directly into the model's tool-selection context. Does not apply to statically compiled, build-time-frozen tool sets with no runtime descriptor ingestion.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-skill-injection-attack-surface-in-dynamically-loaded-agent-tool-manifests-and-how-signed-skill-registries-bound-the.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-skill-injection-attack-surface-in-dynamically-loaded-agent-tool-manifests-and-how-signed-skill-registries-bound-the.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-skill-injection-attack-surface-in-dynamically-loaded-agent-tool-manifests-and-how-signed-skill-registries-bound-the.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1875,
    "python_slice_tokens": 319,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"malicious tool code executes.\" It is that **manifest prose is executed as reasoning input**. A tool manifest is simultaneously (a) a machine-parseable schema the runtime validates, and (b) natural-language text — descriptions, parameter docs, examples — that is injected verbatim into the model's context and treated as authoritative i...",
    "what_was_observed": "A dynamically loaded manifest from a third-party registry arrived with a valid schema: Three structural signals fired simultaneously: 1. **Imperative directives inside a descriptive field.** The `description` contained action verbs addressed to the agent (\"always call\", \"do not mention\"), not to the user. A description should describe; instruction-shaped prose in a description field is a category error that the model...",
    "condition_of_validity": "This analysis holds only under the following conditions, and the guardrails below are only sound within them: - The runtime injects manifest prose into model context without a trust boundary marker distinguishing \"tool metadata\" from \"agent instructions.\" If the runtime wraps descriptions in a nonce-delimited, explicitly-untrusted block with a standing instr...",
    "decision_boundary": "The operational decision is where to place the verification gate. Three boundaries, in increasing strength: 1. **Load-time signature check (minimum).** Reject any manifest whose signature does not verify against a pinned registry public key, and reject any manifest whose signed payload does not cover *every* field that reaches model context — including `desc...",
    "operational_effect": "With all three boundaries enforced, the observed attack fails at load: the signature does not cover `description`, so the manifest is rejected as unsigned before the model ever sees the prose. If the registry is upgraded to sign prose, the structural lint still flags the cross-tool reference and covertness clause, quarantining a validly-signed but hostile ma..."
  },
  "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": "859c5da3bd7c788ad7cce4828438b499384c9638362ccc0fc93367184bad9189",
    "verified_classes": [
      "SkillInjectionError",
      "Manifest"
    ],
    "verified_functions": [
      "verify_and_lint",
      "load_manifest"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "SkillInjectionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
