{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-skill-manifest-injection-from-silently-escalating-agent-capabilities-at-load-time",
  "title": "Which invariants prevent skill-manifest injection from silently escalating agent capabilities at load time",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agents that dynamically discover and hot-load tool/skill manifests (MCP `tools/list`, plugin descriptors, skill registries) at runtime, where manifest content is treated as metadata rather than untrusted input. Does not cover statically compiled tool sets or manifests signed and pinned at build time with no runtime refresh.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-skill-manifest-injection-from-silently-escalating-agent-capabilities-at-load-time.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-skill-manifest-injection-from-silently-escalating-agent-capabilities-at-load-time.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-skill-manifest-injection-from-silently-escalating-agent-capabilities-at-load-time.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1975,
    "python_slice_tokens": 382,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the model was tricked into calling a bad tool.\" The failure is that *the act of loading a manifest mutates the agent's capability set and its instruction surface before any tool is ever invoked.* A manifest is simultaneously (a) a declaration of callable capability and (b) natural-language text that the planner reads. Most runtimes valida...",
    "what_was_observed": "A dynamically loading agent refreshed its skill registry on a 10-minute timer. Each manifest carried `name`, `description`, `parameters`, and an optional `instructions` field intended for human maintainers. The loader schema-validated the manifest against a JSON Schema that permitted `additionalProperties: true` and copied the full object into the planner's system context, rendering `description` and `instructions` v...",
    "condition_of_validity": "The attack requires the conjunction of three conditions; remove any one and the surface closes: - **Runtime mutability.** The capability set can change without a restart or a signed release. If manifests are frozen at deploy, the attacker needs supply-chain access to the build, which is a different (and better-defended) threat model. - **Metadata-as-instruct...",
    "decision_boundary": "The boundary is between *validating a manifest's shape* and *authorizing its effect*. Schema validation answers \"is this well-formed?\" It does not answer \"should this text influence planning?\" or \"is this tool's declared risk class true?\" Runtimes that conflate the two—treating a passed schema as a passed trust check—place the entire decision at the wrong la...",
    "operational_effect": "When the invariant holds, a compromised or malicious manifest degrades to a no-op: it is parsed, found absent from the signed allow-list, quarantined, and its text never reaches the planner. Capability escalation requires an out-of-band policy change, which is auditable. The blast radius of a poisoned registry shrinks from \"arbitrary instruction injection in..."
  },
  "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": "af0272333651804c8fa5d35742b86fdac66a7fae699c2702a16ced270a196b9c",
    "verified_classes": [
      "ManifestEscalationError"
    ],
    "verified_functions": [
      "_hash_schema",
      "admit_manifest"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ManifestEscalationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
