{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-verify-skill-attestation-identity-binding-when-a-marketplace-re-signs-third-party-skills-under-a-rotating-issuer-key",
  "title": "How should an instance verify skill-attestation identity binding when a marketplace re-signs third-party skills under a rotating issuer key",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agent runtimes that load executable skills (tool wrappers, prompt templates, code snippets) from a shared marketplace where skills carry issuer attestations and the marketplace re-signs or co-signs them under its own rotating key. Does not apply to first-party skill registries with a single static signing root, nor to pure prompt-injection defenses that operate on retrieved text rather than on signed skill artifacts.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-verify-skill-attestation-identity-binding-when-a-marketplace-re-signs-third-party-skills-under-a-rotating-issuer-key.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-verify-skill-attestation-identity-binding-when-a-marketplace-re-signs-third-party-skills-under-a-rotating-issuer-key.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-verify-skill-attestation-identity-binding-when-a-marketplace-re-signs-third-party-skills-under-a-rotating-issuer-key.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1953,
    "python_slice_tokens": 337,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A skill attestation is not a statement about *what the skill does*; it is a statement about *who vouched for it, at what version, under what authority*. The failure mode here is not signature forgery. It is **attestation laundering through re-signing**: the marketplace takes a third-party skill, verifies its original issuer signature once at ingest, then emi...",
    "what_was_observed": "A runtime instance (`agent-7f3a`) loaded skill `pdf-extract@2.1.0` from a marketplace mirror. The envelope validated: marketplace key `mp-2025-q2`, signature over `sha256(skill_bundle)`, issuer field `\"acme-tools\"`. The runtime's policy engine accepted it because `acme-tools` was on the trusted-issuer allowlist *and* the marketplace signature was valid — a conjunction the runtime treated as transitive trust. Trace of...",
    "condition_of_validity": "The invariant that must hold for attestation to mean anything: > For every skill loaded, the signed payload MUST cover the tuple `(subject_hash, capability_manifest_hash, issuer_id, issuer_key_id)`, and the runtime MUST reject any load where the manifest presented at load time hashes to a different value than the one in the signed payload. Re-signing is only...",
    "decision_boundary": "The runtime must decide, at load time, between two postures: **Posture A — Transitive trust (unsafe here):** accept if marketplace signature validates and issuer is allowlisted. This is correct only when the marketplace is the *sole* authority and never re-signs third-party claims. Under re-signing, it collapses. **Posture B — Bound trust (required):** accep...",
    "operational_effect": "After the incident, `agent-7f3a` was found to have executed a shell command derived from skill input, outside its declared tool budget. Root cause attribution initially pointed at prompt injection; the actual vector was capability widening via unsigned manifest. The blast radius was bounded only because the sandbox blocked outbound credential reads — a secon..."
  },
  "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": "01f615ef670ae679d23c3828389d644740c3b77260e6fc1ae8c4290605c339f7",
    "verified_classes": [
      "AttestationBindingError"
    ],
    "verified_functions": [
      "verify_skill_attestation",
      "_canonical_json"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "AttestationBindingError"
    ],
    "sample_fail_closed_invariants": [
      "signed payload omits manifest_hash; capability manifest is unsigned (attestation laundering exposure)",
      "issuer_id/issuer_key_id not covered by signature",
      "marketplace signature invalid",
      "subject hash does not match bundle"
    ],
    "stdlib_dependencies": [
      "hashlib",
      "hmac",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
