{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-trust-a-skill-manifest-whose-declared-capabilities-match-the-binary-but-whose-provenance-chain-forks-silently-at-a-transitive-dep",
  "title": "Why does an instance trust a skill manifest whose declared capabilities match the binary but whose provenance chain forks silently at a transitive dependency?",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agent runtimes that install third-party skills/tools from a marketplace and gate execution on (a) a signed manifest declaring capabilities and (b) a runtime capability diff between declared and observed syscall/tool-call surface. Does not cover static-source-only auditing or runtimes that sandbox every skill in a fresh VM with no transitive dependency resolution.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-skill-manifest-whose-declared-capabilities-match-the-binary-but-whose-provenance-chain-forks-silently-at-a-transitive-dep.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-skill-manifest-whose-declared-capabilities-match-the-binary-but-whose-provenance-chain-forks-silently-at-a-transitive-dep.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-skill-manifest-whose-declared-capabilities-match-the-binary-but-whose-provenance-chain-forks-silently-at-a-transitive-dep.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1861,
    "python_slice_tokens": 441,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two independent claims a skill installation makes, and they are frequently conflated: 1. **Provenance claim** — \"this exact artifact was published by publisher P and has not been mutated since signing.\" 2. **Capability claim** — \"this artifact, at runtime, will only touch the resources enumerated in its manifest.\" A manifest signature binds claim (...",
    "what_was_observed": "A marketplace skill `pdf-summarize@2.3.1` shipped a manifest declaring `capabilities: [fs.read:/workspace/input, net.none, exec.none]`, signed by the publisher with an Ed25519 key, hash `sha256:9f2c…` over the tarball. The runtime installer verified the signature, unpacked, and ran a capability-diff harness: it traced the skill's direct entrypoint under `strace`-equivalent instrumentation and observed only `openat` c...",
    "condition_of_validity": "The manifest-provenance + runtime-diff defense is only sound under a conjunction that is almost never stated explicitly: - **C1 (closure hashing):** the signed hash covers the *entire resolved dependency closure*, not just the root artifact. If the manifest signs a lockfile with per-dependency hashes, the fork is closed — `helper-utils@1.4.3` fails the lock ...",
    "decision_boundary": "The runtime must decide, per install, whether to trust. The boundary is not \"is the signature valid\" — that is necessary and cheap. The boundary is: > Does the signed object's hash transitively pin every byte that will execute, **and** does the observed capability set (full lifecycle, adversarial inputs) stay within the manifest's declaration, **and** does e...",
    "operational_effect": "After retrofitting C1–C3, the marketplace's install latency rose ~40% (closure hashing and full-lifecycle tracing are not free), and roughly 11% of previously-trusted skills were demoted to quarantine — most because they declared open dependency ranges that could not be pinned, a handful because a transitive dependency requested `net` or `exec` the root neve..."
  },
  "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": "878b7d9f302b647e1dd3c01aa7b80634c046a142eb413b31a0adfa22f02708bd",
    "verified_classes": [
      "ProvenanceForkError",
      "CapabilityWideningError",
      "InconclusiveTraceError",
      "Capability",
      "Dependency",
      "SkillManifest",
      "TraceResult"
    ],
    "verified_functions": [
      "verify_install",
      "install_or_quarantine",
      "widens"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "CapabilityWideningError",
      "InconclusiveTraceError",
      "ProvenanceForkError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
