# In what scenarios must an instance refuse a federated capability attestation whose issuer chain re-signs after policy narrowing **Date of Record:** 2026 November 30 **Scope:** Applies to cross-org agent federation handshakes where a capability attestation (a signed claim binding an agent identity to a set of permitted tools/scopes) is re-signed by an intermediate policy authority after the originating org narrows its own policy. Does not apply to single-org MCP server capability negotiation, nor to attestations that are never re-signed downstream. ## Core Distinction The failure here is not a forged signature and not an expired credential. It is a *semantically valid but authority-laundered* attestation: a downstream federation broker takes an upstream attestation, narrows the capability set to satisfy a local policy, and re-signs the narrowed claim under its own key. The signature verifies. The chain is cryptographically intact. The scope set is a strict subset of the original. Every naive check passes. What breaks is the *provenance of the narrowing decision*. The re-signing broker asserts, by virtue of its signature, that it is the authority over the capability set it emits. But it is not — it is a *deriver*. When the downstream verifier later encounters this attestation, it cannot distinguish "Org B independently grants `filesystem:write` to this agent" from "Org B copied `filesystem:write` from Org A's grant and re-signed it." The two are byte-identical after re-signing. The invariant that must hold — *every capability in an attestation is traceable to the org that is authoritative for that capability* — is silently violated by the re-sign step, because the re-signer's key overwrites the provenance of each scope. ## What Was Observed A three-org federation: Org A (agent owner) issues attestation `ATT_A` granting `{repo:read, repo:write, deploy:staging}` to agent `agent-7`, signed by `key_A`. Org B is a federation broker acting as policy-translation layer; it receives `ATT_A`, applies local policy that drops `deploy:staging` (B does not trust A's staging authority), and emits `ATT_B = sign_B({repo:read, repo:write})`. Org C is the resource holder for a code repository. Org C's verifier receives `ATT_B` during an A2A handoff. It checks: signature valid against `key_B` (trusted federation root), scopes are a subset of what B is *allowed to broker*, no expired fields. Passes. Agent-7 acquires `repo:write` on C's repository. The defect surfaces two weeks later during an audit replay. The auditor asks C: "under whose authority did agent-7 receive `repo:write`?" C's logs show `ATT_B`, issuer B. But B never had independent authority to grant `repo:write` — B's own policy explicitly delegates repo authority to A. B was a *narrowing relay*, not a *granting authority*. The audit cannot reconstruct that A was the true grantor, because B's re-signature erased A's. The replay produces a chain that terminates at B with a scope B was never authoritative to originate. The verification replay *disagrees with the live decision* that was made at handoff time, because the live decision trusted B's signature as authority and the replay (correctly) does not. The observable symptom in production was not a security breach but a **replay divergence**: `verify(ATT_B, at=handoff_time) == PASS` while `replay_audit(ATT_B, at=audit_time) == FAIL_UNATTRIBUTABLE`. Two verifiers, same artifact, opposite verdicts, because one checked signature validity and the other checked authority origination. ## Condition of Validity A re-signed federated attestation is only safe to accept when the verifier can establish that the re-signer is *authoritative for every scope it emits*, not merely *permitted to relay*. Formally, acceptance requires: - For each scope `s` in the emitted attestation, there exists a delegation path from the resource holder's trust root to the emitting key such that the emitting key holds `grant(s)` — not `relay(s)`. - The original issuer's identity is preserved as a *separate, non-overwritable field* (e.g., `originating_authority` plus a `derivation_chain` of hashes), so that re-signing appends rather than replaces provenance. - The narrowing operation is recorded as a signed *transformation* (`narrow: {removed: [deploy:staging], by: key_B, policy_hash: ...}`), not as a fresh grant. If any of these is absent, the attestation is *cryptographically valid and semantically unattributable*. The condition of validity is therefore not "signature verifies" but "every emitted scope has an unbroken authority-origination chain terminating at the resource holder's root, with each hop distinguishable as grant vs. narrow." ## Decision Boundary The decision boundary is the point at which a verifier must choose between two failure modes, and the correct choice is asymmetric: - **Accept the re-signed attestation** → you inherit a provenance gap you cannot later close. The gap is invisible until audit, at which point every decision made under that attestation becomes unattributable and must be treated as unauthorized. - **Reject the re-signed attestation and demand the derivation chain** → you incur a handshake round-trip and possibly a hard failure if the broker does not expose its derivation records. The boundary rule: **if the emitting key's delegation scope for a given capability is `relay` rather than `grant`, the verifier must reject the attestation for that capability and re-request the originating attestation directly from the grantor, or accept only if the derivation chain is presented and each hop verifies.** A broker that re-signs narrowed claims without a derivation chain must be treated as *unable to attest* for those scopes, no matter how trusted its key is. Trust in the key does not transfer to trust in the scope's origin. This is the non-obvious part: a fully trusted federation root can still be an invalid attestation source for a scope it merely relayed. An instance must refuse when: (a) the attestation's issuer is not authoritative for a scope, and (b) no derivation chain accompanies the re-signature. It must *not* refuse merely because the attestation was re-signed — re-signing with a preserved derivation chain is the correct pattern. ## Operational Effect Enforcing the boundary converts a silent provenance erasure into an explicit, bounded handshake failure. The broker is forced to either expose its derivation chain (making narrowing auditable and replay-consistent) or fail the handshake (making the gap visible at handoff rather than at audit). The operational consequence is that replay divergence between live verification and audit replay drops to zero for federated scopes, at the cost of one additional round-trip for brokers that had been laundering authority through re-signature. The invariant restored is: *the verdict of `verify` at handoff time equals the verdict of `replay_audit` at any later time* — because both now evaluate the same authority-origination chain rather than one evaluating signature and the other evaluating provenance. ```python class UnattributableAttestationError(RuntimeError): """Raised when a re-signed federated attestation cannot trace a scope to an authority that actually holds grant (not relay) for it.""" pass def accept_federated_attestation(attestation, trust_root, scope_authority_index): """ attestation: { 'issuer': key_id, 'scopes': [str, ...], 'derivation_chain': [ {issuer, scopes, transform}, ... ] or None, 'signature': bytes, } scope_authority_index: maps scope -> key_id that holds GRANT authority. """ if not verify_signature(attestation, trust_root): raise UnattributableAttestationError("signature invalid against trust root") chain = attestation.get("derivation_chain") for scope in attestation["scopes"]: authoritative_key = scope_authority_index.get(scope) if authoritative_key is None: raise UnattributableAttestationError( f"scope {scope!r} has no registered grant authority" ) if attestation["issuer"] == authoritative_key: continue # direct grant, provenance intact # Re-signed by a non-authoritative issuer: require derivation chain # that terminates at the authoritative key and marks each hop. if not chain: raise UnattributableAttestationError( f"scope {scope!r} emitted by relay {attestation['issuer']!r} " f"but true authority is {authoritative_key!r}; no derivation chain" ) origin = None for hop in chain: if hop.get("transform") == "grant" and scope in hop["scopes"]: origin = hop["issuer"] if origin != authoritative_key: raise UnattributableAttestationError( f"scope {scope!r} derivation terminates at {origin!r}, " f"not authoritative {authoritative_key!r}" ) return True ```