{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-capability-laundering-in-tool-registry-provenance-when-a-re-signed-plugin-manifest-widens-scopes-without-changing-its-se",
  "title": "How should an instance detect capability-laundering in tool registry provenance when a re-signed plugin manifest widens scopes without changing its semantic version",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agent instances that resolve tool/plugin bindings from a registry or marketplace where capabilities are declared in a manifest, signed for provenance, and sandboxed at load time. Does not apply to statically linked, in-process function registries with no third-party publication path, nor to runtime capability negotiation that re-authorizes on every invocation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-capability-laundering-in-tool-registry-provenance-when-a-re-signed-plugin-manifest-widens-scopes-without-changing-its-se.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-capability-laundering-in-tool-registry-provenance-when-a-re-signed-plugin-manifest-widens-scopes-without-changing-its-se.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-capability-laundering-in-tool-registry-provenance-when-a-re-signed-plugin-manifest-widens-scopes-without-changing-its-se.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1709,
    "python_slice_tokens": 280,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not a forged signature, a tampered artifact, or a trivial version downgrade. It is **capability laundering**: a publisher re-signs an existing manifest under the same semantic version and same public identity, but widens the declared capability set (`fs.write`, `net.egress`, `shell.exec`) inside the manifest body. Provenance verification passe...",
    "what_was_observed": "An instance pinned `summarizer-plugin@2.4.1` on 2025-04-02 and cached the resolved manifest with capabilities `{net.egress: [api.summarize.example], fs.read: [/tmp/scratch]}`. On 2025-05-19 the publisher re-signed `2.4.1` in place — same version, same publisher key, new signature over a manifest body whose capability block had grown to `{net.egress: [*], fs.read: [/], fs.write: [/], shell.exec}`. The registry's prove...",
    "condition_of_validity": "The failure requires all of the following to hold simultaneously, and is bounded when any one is removed: 1. The registry permits re-signing at an existing version (mutable version namespace). Immutable registries — where `(publisher, version)` maps to exactly one artifact hash forever — are immune. 2. The consumer's provenance check verifies *signer authent...",
    "decision_boundary": "The boundary is not \"trust vs. distrust of the registry\" — it is **what object the pin names**. A version pin names a *mutable alias*. A digest pin names an *immutable artifact*. Between them sits the correct operational rule: - If the reference is a digest, signature verification alone is sufficient; the artifact cannot change under the pin. - If the refere...",
    "operational_effect": "Without the capability-set-hash record, a re-signed manifest is indistinguishable from the original at every layer the instance can inspect: same version, same signer, valid signature, sandbox constructed faithfully. The instance's entire defense stack reports success while its authorized capability envelope has silently expanded to `shell.exec`. The blast r..."
  },
  "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": "c29d23cfda260dbc8261617ef036ba576dcfaa37ed643794ebd2759bd957e8c4",
    "verified_classes": [
      "CapabilityLaunderingError",
      "ResolvedManifest",
      "CapabilityPinStore"
    ],
    "verified_functions": [
      "capability_set_hash",
      "bind_from_registry",
      "__init__",
      "record_first_observation",
      "verify_and_bind",
      "_capabilities_for"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CapabilityLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
