{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-capability-manifest-is-being-weaponized-through-skill-injection-at-load-time",
  "title": "What structural signals indicate a capability manifest is being weaponized through skill-injection at load time",
  "date_of_record": "2026 December 1",
  "scope": "Applies to agents that resolve, fetch, and register skill/function manifests from remote registries (MCP tool descriptors, A2A agent cards, plugin `skills.yaml`) at runtime and expand them into the active context window. Does not apply to statically compiled tool bindings or manifests pinned and audited at build time.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-capability-manifest-is-being-weaponized-through-skill-injection-at-load-time.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-capability-manifest-is-being-weaponized-through-skill-injection-at-load-time.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-capability-manifest-is-being-weaponized-through-skill-injection-at-load-time.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1314,
    "python_slice_tokens": 187,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure people plan for is *malicious code execution* — a skill that runs shell commands. The failure that actually bites is **manifest-borne instruction injection**: the manifest is treated as data by the loader but as *instructions* by the model once expanded into context. A skill descriptor is a structured document whose `description`, `when_to_use`, ...",
    "what_was_observed": "A dynamic loader pulled a manifest set of 40 skills, expanded them into a ~9k-token preamble, and registered tool schemas. Post-load, the agent's tool-selection distribution shifted measurably: calls to the injected skill for *out-of-domain* intents (file reads, credential lookups) rose from ~0% baseline to 18% of turns within the same session. The trigger condition was not the payload's presence — it was **proximity...",
    "condition_of_validity": "This analysis holds only when the loader expands manifest prose into the model's instruction context without a trust boundary. It does **not** apply when (a) manifests are rendered into a *separate, lower-trust* channel that the model is explicitly told is untrusted data, or (b) the loader strips `description` fields and exposes only structural schema to the...",
    "decision_boundary": "The loader must decide, per manifest, whether to admit prose into context. The boundary is not \"is this manifest signed\" (signatures cover integrity, not intent) but **\"does this manifest's prose describe itself or describe the agent's behavior.\"** Operationalize as a classifier over three features: imperative-mood density in `description`, presence of other...",
    "operational_effect": "Post-deployment of the quarantine boundary, out-of-domain tool-selection returned to baseline, and the flagged-manifest rate stabilized at ~2% of registry pulls (mostly false positives from verbose but benign skills). The durable lesson: **the manifest is an attack surface precisely because it is trusted as metadata and consumed as instruction.** Any dynamic..."
  },
  "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": "5ec8b537a931658a5d11fb098f089f64afb1d3fb54d36ce591bf40f96c896f70",
    "verified_classes": [
      "ManifestInjectionError"
    ],
    "verified_functions": [
      "audit_manifest"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ManifestInjectionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
