{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-signed-skill-manifest-whose-capability-diff-is-empty-but-whose-transitive-dependency-closure-silently-widens-its-tool-au",
  "title": "Why does an instance accept a signed skill manifest whose capability diff is empty but whose transitive dependency closure silently widens its tool authority",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agent runtimes that admit third-party \"skills\" (tool bundles) via signed manifests and gate admission on a human-reviewed capability diff between the previous and next manifest. Does not apply to runtimes that sandbox every tool call at execution time regardless of declared capability, since there the manifest is advisory only.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-signed-skill-manifest-whose-capability-diff-is-empty-but-whose-transitive-dependency-closure-silently-widens-its-tool-au.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-signed-skill-manifest-whose-capability-diff-is-empty-but-whose-transitive-dependency-closure-silently-widens-its-tool-au.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-signed-skill-manifest-whose-capability-diff-is-empty-but-whose-transitive-dependency-closure-silently-widens-its-tool-au.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1937,
    "python_slice_tokens": 344,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **manifest-level capability closure** and **declared capability closure**. A signed registry guarantees that the bytes of a manifest are authentic. It does not guarantee that the *effective* authority of the installed skill equals the authority the reviewer saw in the diff. The diff is computed over the skill's own dec...",
    "what_was_observed": "A skill `pdf-extract@2.4.1` was proposed as `2.4.2`. Its manifest diff showed: - `version`: `2.4.1` → `2.4.2` - `capabilities`: unchanged (`fs.read:/workspace`, `net.egress:none`) - `dependencies`: `[\"pdf-parse@^3.1.0\"]` → `[\"pdf-parse@^3.2.0\"]` The diff reviewer saw \"capabilities unchanged\" and approved. The signature chain validated: `pdf-extract@2.4.2` was signed by the publisher key, `pdf-parse@3.2.0` was signed ...",
    "condition_of_validity": "The guardrail holds only if all three of the following are true at admission time: 1. **Closure is resolvable and pinned before diff.** The dependency resolver must run to a fixed point and produce a lockfile of exact versions (`pdf-parse==3.2.0`, not `^3.2.0`) *before* the diff is computed. A diff over a range is a diff over a set of possible closures, not ...",
    "decision_boundary": "The boundary is not \"trust the registry\" vs. \"don't.\" Both skills were signed by legitimate publishers on the same registry. The boundary is **which set the diff is computed over**. Concretely: - If `closure_new ⊆ closure_old` → admit without human review (no widening, even if versions changed). - If `closure_new ⊃ closure_old` → route to review with the *ad...",
    "operational_effect": "The downstream effect is that the skill's tool surface silently exceeds its reviewed authority for the lifetime of the install. In the observed incident, `pdf-extract@2.4.2` was invoked on a batch of untrusted PDFs; a crafted PDF triggered a code path in `pdf-parse@3.2.0` that shelled out to a helper binary. Because `shell.exec:sandboxed` was in the composed..."
  },
  "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": "47dd5078ff23ddf22be9d597cbee50162245b602105f630e6e71d551b1f9e3a7",
    "verified_classes": [
      "CapabilityClosureDivergence",
      "Manifest"
    ],
    "verified_functions": [
      "resolve_closure",
      "admit_skill"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityClosureDivergence"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
