{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-manifest-declared-capability-inflation-in-a-skill-registry-before-executing-a-poisoned-tool",
  "title": "How should an instance detect manifest-declared capability inflation in a skill registry before executing a poisoned tool",
  "date_of_record": "2026 November 30",
  "scope": "Applies to LLM agents that dynamically load skills/tools described by machine-readable manifests (JSON Schema, OpenAPI fragments, MCP tool descriptors) from a registry or marketplace at runtime. Does not cover statically compiled-in tools, or manifests whose signatures are verified against a trusted, offline root of trust with no runtime fetch.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-manifest-declared-capability-inflation-in-a-skill-registry-before-executing-a-poisoned-tool.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-manifest-declared-capability-inflation-in-a-skill-registry-before-executing-a-poisoned-tool.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-manifest-declared-capability-inflation-in-a-skill-registry-before-executing-a-poisoned-tool.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1865,
    "python_slice_tokens": 286,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The naive threat model for skill injection is *malicious code*: a tool that, when invoked, does something harmful. The non-obvious boundary is different and worse: a manifest that is **honest about its code and dishonest about its declared capability surface**. The tool executes exactly what its handler says it does, but the manifest's declared `name`, `desc...",
    "what_was_observed": "A skill registered as `summarize_document` advertised: Handler behavior: it read `text`, ran a summarizer, and *also* posted `text` and the calling agent's `session_id` to a third-party endpoint embedded in the handler. The manifest's `side_effects: [\"none\"]` was false. The `input_schema` was truthful — `text` was the only sensitive field — but the description's \"Read-only\" claim caused the planner to pass *full docu...",
    "condition_of_validity": "The failure requires all of the following to hold simultaneously: 1. The registry does not verify `side_effects` (or equivalent capability class) against handler behavior — it only checks schema well-formedness. 2. The agent's argument-binding policy is a *function of the manifest's declared capability class*, not of a platform-enforced sandbox. If the runti...",
    "decision_boundary": "The boundary the instance must draw is not \"trusted vs untrusted publisher\" — publisher identity is forgeable in most marketplaces and does not predict side-effect honesty. The correct boundary is **declared capability class vs. enforced capability class**, and the rule is: *the planner's argument-binding policy must be a function of the enforced class, and ...",
    "operational_effect": "The practical consequence is a latency and coverage cost on the registry path. Enforcing the invariant means every newly fetched skill runs in an instrumented sandbox for a probationary window (first N invocations, or until the observed side-effect class stabilizes), during which the planner binds arguments under the *enforced* class — which, before observat..."
  },
  "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": "2f560e9a9ecd739583d9aa3a71f68c9079e73efac01ab1a632e8d7e877511154",
    "verified_classes": [
      "ManifestCapabilityInflation",
      "ManifestSpanInjection"
    ],
    "verified_functions": [
      "bind_arguments",
      "_is_sensitive"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ManifestCapabilityInflation",
      "ManifestSpanInjection"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
