{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reject-a-skill-manifest-whose-signature-validates-but-whose-capability-set-was-widened-between-sign-time-and-load-time",
  "title": "How should an instance reject a skill manifest whose signature validates but whose capability set was widened between sign-time and load-time",
  "date_of_record": "2026 November 21",
  "scope": "Applies to agent runtimes that dynamically resolve skills/tools from a signed registry where the manifest carries both an integrity signature and a declared capability set (scopes, egress allowlists, filesystem roots, tool-call grants). Does not apply to statically linked toolchains compiled into the agent image, nor to registries that sign the executable artifact rather than the capability descriptor.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reject-a-skill-manifest-whose-signature-validates-but-whose-capability-set-was-widened-between-sign-time-and-load-time.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reject-a-skill-manifest-whose-signature-validates-but-whose-capability-set-was-widened-between-sign-time-and-load-time.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reject-a-skill-manifest-whose-signature-validates-but-whose-capability-set-was-widened-between-sign-time-and-load-time.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1621,
    "python_slice_tokens": 247,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure that matters is not \"unsigned skill loads.\" It is **signature-covers-bytes-but-not-meaning**. A registry entry can be cryptographically pristine — valid Ed25519 signature, correct signer identity, unbroken hash chain — while the *semantic payload that governs what the skill is permitted to do* has been widened after the fact through a channel the...",
    "what_was_observed": "A registry-hosted skill `pdf-extract` was signed with capabilities `{fs.read: [\"/workspace/inbox\"], net.egress: [\"api.internal.example\"]}`. Signature validated at every load for six weeks. On day 43 an instance loaded the skill and, within the same session, observed an outbound POST to an external host and a write outside the declared root. Trace reconstruction: 1. The manifest's `entrypoint` block declared `\"runtime...",
    "condition_of_validity": "The subset invariant holds — and the attack surface is bounded — only when all of the following are true at load time: - The capability set used to *enforce* is computed by a pure function of signed bytes plus a *signed* override layer (overrides must themselves be signed by an authority whose key is pinned in the runtime, and the override document must carr...",
    "decision_boundary": "The runtime must decide, per load, between three outcomes and must never silently pick the middle: - **Accept:** effective ⊆ signed, all override layers signed and in-window, loader-behavior version matches signed version. - **Reject-and-halt:** effective ⊄ signed, or override layer unsigned/out-of-window, or loader-behavior version mismatch. Halt the load; ...",
    "operational_effect": "With the subset test and signed-override requirement enforced, the pdf-extract incident becomes a hard load failure at step 1 (loader-behavior version mismatch) and, failing that, at step 2 (unsigned override → reject). The skill never executes with widened egress. The cost is operational: every runtime upgrade that changes field interpretation must re-sign ..."
  },
  "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": "d1841c6f0df3177631a04ad3dfe50edb43123d687d35fe3fdf14524ba2815a43",
    "verified_classes": [
      "CapabilityWideningError",
      "SignedManifest",
      "OverrideLayer"
    ],
    "verified_functions": [
      "resolve_effective_caps"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CapabilityWideningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
