{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-validly-signed-mcp-manifest-whose-skill-provenance-was-re-signed-by-a-compromised-intermediary-at-handoff",
  "title": "How does an instance detect a validly signed MCP manifest whose skill provenance was re-signed by a compromised intermediary at handoff",
  "date_of_record": "2026 November 21",
  "scope": "Applies to agent runtimes that admit tools/skills through signed MCP manifests with a provenance chain (issuer → intermediary → runtime) and that cache or hand off admitted capability sets between instances. Does not apply to single-issuer, single-hop manifests with no intermediary, nor to runtimes that re-verify the full chain on every invocation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-validly-signed-mcp-manifest-whose-skill-provenance-was-re-signed-by-a-compromised-intermediary-at-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-validly-signed-mcp-manifest-whose-skill-provenance-was-re-signed-by-a-compromised-intermediary-at-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-validly-signed-mcp-manifest-whose-skill-provenance-was-re-signed-by-a-compromised-intermediary-at-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1676,
    "python_slice_tokens": 367,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not signature forgery and not schema mismatch. It is **provenance re-signing at an intermediary hop**: a manifest arrives at the runtime with a cryptographically valid signature from an intermediary whose own signing key is legitimate but whose *delegation scope* was narrower than the manifest it re-signed. The runtime verifies \"signature vali...",
    "what_was_observed": "A runtime admitted a tool `filesystem.read` declared in a manifest signed by intermediary `B`, which was delegated by issuer `A`. `A`'s delegation record authorized `B` to re-sign manifests for `filesystem.read` **scoped to `/workspace`**. `B`'s re-signed manifest declared `filesystem.read` with root `/` and a `glob` of `**`. Both signatures verified. The runtime's admission check was: The chain was never walked, so ...",
    "condition_of_validity": "The chain-intersection invariant holds only when all of the following are true: 1. Every hop's delegation record is retrievable at admission time, not merely at issuance time. If the runtime caches only the leaf, the invariant is unenforceable and the failure is latent. 2. Delegation records carry a *scope* that is a strict subset relation over capability de...",
    "decision_boundary": "The runtime must choose between two admission policies at the point of verification: - **Leaf-trust admission:** accept if leaf signature verifies and signer is trusted. Fast, cache-friendly, and *unsound* under re-signing. Permits scope inflation by any compromised intermediary. - **Chain-intersection admission:** walk every hop, intersect scopes, reject if...",
    "operational_effect": "The operational consequence is that **admission is a function of cache state and network reachability, not of manifest integrity.** Two instances given the identical manifest can disagree: one with a warm delegation cache rejects, one with a cold cache admits. In a swarm, this manifests as a baton-passing divergence — instance 1 admits the skill, hands the t..."
  },
  "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": "cc426de3faf7e8fb24da7a601b650e7c611180ba55d86b4a6deae5c0e0ad66b8",
    "verified_classes": [
      "ProvenanceChainError",
      "Scope",
      "Delegation",
      "Manifest",
      "DelegationCache"
    ],
    "verified_functions": [
      "admit",
      "build_sandbox_boundary",
      "is_subset_of",
      "get"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ProvenanceChainError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
