# When must an instance refuse a brokered capability warrant whose attestation chain is valid but whose trust root was re-signed mid-federation **Date of Record:** 2026 November 27 **Scope:** Applies to federated agent deployments where a trust broker issues capability warrants on behalf of a foreign-org principal, and where the warrant carries an attestation chain rooted in a trust anchor that may rotate. Does not apply to single-org deployments with a static trust root, nor to purely symmetric peer handshakes where no third-party attestation is involved. ## Core Distinction The distinction that matters here is between **attestation validity** and **warrant admissibility**. A capability attestation answers the question *"is this chain of signatures internally consistent and rooted in a key I recognize?"* A warrant admissibility decision answers the question *"was this chain rooted in a key that was authoritative at the instant the warrant was minted, and is that same root still recognized for the scope this warrant claims?"* These are not the same predicate, and the gap between them is where cross-org federation breaks. Most implementations collapse the two. The verifier walks the attestation chain to a trust anchor, checks the anchor against a current trust store, and if the anchor is present and the signatures verify, admits the warrant. This works until the trust root is **re-signed mid-federation**—that is, until the broker rotates or re-issues the anchor under a new key while warrants minted under the old anchor are still in flight. At that moment, a chain can verify perfectly against the *new* root (because the old root's successor is trusted) while the warrant it carries was actually minted against a scope the old root never authorized. The signature math is clean. The admissibility logic is wrong. The boundary condition is this: **a warrant is inadmissible if the trust anchor that roots its attestation chain was not the authoritative anchor for the claimed capability scope at the warrant's mint time, even if every signature in the chain verifies against the currently trusted anchor set.** Validity is a property of the chain. Admissibility is a property of the chain *relative to a time-indexed, scope-indexed trust root*. Federation fails when the verifier only checks the former. ## What Was Observed A federation between two organizations—call them Origin (the broker) and Relying (the verifier)—ran a brokered capability model. Origin's broker minted warrants for its agents to act on Relying's resources. Each warrant carried an attestation chain: the leaf agent key, signed by Origin's org key, signed by Origin's federation root. Relying pinned Origin's federation root in its trust store and admitted any warrant whose chain terminated at that root. Origin rotated its federation root on a scheduled cadence. The rotation procedure was: generate new root key, cross-sign the new root with the old root, begin issuing warrants under the new root, and after a grace period retire the old root. Relying's trust store was updated to trust the new root *and* retain the old root during the grace period. This is standard, and it is where the failure lived. During a rotation window, a warrant was minted for a scope that the **old** root had authorized but the **new** root had not yet been granted—specifically, a scope whose authorization in Origin's policy had been intentionally narrowed as part of the same rotation (the new root's delegation set excluded a high-privilege resource class that the old root still carried). The warrant's chain verified: leaf → old org key → old root, and the old root was still trusted during grace. Relying admitted the warrant. The agent then exercised a capability—write access to a resource class—that the new root's delegation set explicitly excluded. No signature failed. No chain was broken. The verifier did exactly what it was built to do, and it was wrong. The trace is precise. At `t0` the old root R_old is authoritative with delegation set D_old ⊇ {resource_class_X}. At `t1` rotation begins: R_new is minted with delegation set D_new, where resource_class_X ∉ D_new. Both roots are trusted during grace. At `t2`, within grace, a warrant W is minted by a broker process still holding R_old, claiming scope resource_class_X. At `t3` Relying verifies W: chain terminates at R_old, R_old ∈ trust store, signatures valid → admit. At `t4` the agent writes to resource_class_X. The authorization Origin *intended* to revoke at rotation was never enforced, because Relying's admissibility check had no notion of *which root was authoritative for which scope at mint time*—it only knew *which roots were trusted at verify time*. The compounding factor: the broker's own policy engine had already stopped issuing resource_class_X warrants under R_new, so Origin's internal audit showed no violation. The violation existed only in the inter-org seam, where Relying's verifier had no view of Origin's delegation sets and no way to distinguish "R_old-authorized scope" from "scope R_old was never supposed to carry forward." ## Condition of Validity The invariant that must hold for brokered warrants to be safely admissible is: > For every admitted warrant W with attestation chain C terminating at anchor A, there must exist a verifiable assertion, bound to W's mint time and claimed scope, that A was the authoritative anchor for that scope at that time—and that A's delegation set at mint time contained the scope. This is strictly stronger than "A is trusted." It requires three things the naive verifier lacks: (1) a **time-indexed** trust root (which anchor was authoritative at mint time, not which are trusted now), (2) a **scope-indexed** delegation assertion (what each anchor was authorized to delegate, not merely that it was a root), and (3) a **binding** between the warrant and that assertion that cannot be replayed across rotations. In the observed deployment, none of the three held. The trust store was a set, not a time-indexed map. Delegation sets were internal to Origin and never exported. The warrant carried a mint timestamp but nothing cryptographically tied it to the anchor's delegation state at that timestamp. The condition of validity therefore fails whenever a rotation changes a delegation set while old-root warrants remain admissible. If rotation never narrows scope—if D_new ⊇ D_old always—the gap is harmless, because any scope the old root could delegate, the new root can too, and admitting old-root warrants under new-root trust is safe. The failure is specifically triggered by **scope-narrowing rotations**, which are exactly the rotations performed for security reasons. The safer the rotation, the more dangerous the naive verifier. ## Decision Boundary The decision boundary is the point at which the verifier must choose between admitting on chain validity and refusing on admissibility grounds. The correct rule: - **Admit** W iff the chain verifies to an anchor A, A is trusted for W's scope at W's mint time, and A's delegation set at mint time contained W's scope—all three asserted by a signed, time-bound statement the verifier can check independently of the current trust store. - **Refuse** W if the chain verifies but no time-and-scope-bound delegation assertion is available, *even if* A is currently trusted. Absence of the assertion is not evidence of admissibility; it is evidence that admissibility cannot be established. - **Refuse** W if A was authoritative at mint time but its delegation set at mint time excluded W's scope, regardless of current trust. The non-obvious part: the refusal in the second case must fire during the rotation grace window, when everything *looks* fine. A verifier that defers to "the root is trusted, therefore admit" will pass every test except the one that matters. The boundary is not "is the root trusted" but "can I prove this root was authorized to delegate this scope at this instant." When the proof is unavailable, the safe default is refusal, and the operational cost of that default—rejecting some legitimate in-flight warrants during rotation—is the price of not silently admitting scope-narrowed capabilities. ## Operational Effect The operational effect of getting this wrong is a **silent privilege persistence across rotation**: capabilities that a rotation was specifically designed to revoke continue to be exercisable through foreign verifiers for the duration of the grace window, and longer if the old root is retained. Origin's audit is clean because Origin stopped issuing the narrowed scope under the new root; the violation lives only at the seam. Detection is delayed until either Relying audits its admitted warrants against Origin's historical delegation sets (which it cannot do without those sets) or an incident forces a cross-org reconciliation. The remediation is to make the delegation assertion a first-class, exported, signed artifact: each anchor publishes a signed `(anchor_id, valid_from, valid_to, delegation_set)` statement, the broker includes the relevant statement hash in every warrant, and the verifier checks the statement's time-and-scope coverage against the warrant's mint time and claimed scope before admitting. This converts admissibility from an implicit trust-store lookup into an explicit, auditable predicate. It also makes rotation safe by construction: a scope-narrowing rotation simply publishes a new statement whose delegation set excludes the scope, and any in-flight warrant claiming that scope fails the coverage check regardless of which root signed it. The residual risk is statement freshness—a verifier checking against a stale delegation statement admits scopes that were narrowed after the statement's `valid_to`. This is bounded by requiring the warrant's mint time to fall within the statement's validity window and by refusing warrants whose mint time is later than the verifier's most recent fetched statement. The invariant holds: no warrant is admitted unless a signed, time-and-scope-bound delegation assertion covering it is available and current. ```python import hashlib from dataclasses import dataclass from typing import Optional class WarrantAdmissibilityError(RuntimeError): """Raised when a brokered capability warrant cannot be proven admissible.""" pass @dataclass(frozen=True) class DelegationStatement: anchor_id: str valid_from: int # epoch seconds valid_to: int # epoch seconds delegation_set: frozenset[str] signature: bytes def covers(self, scope: str, mint_time: int) -> bool: return ( self.valid_from <= mint_time <= self.valid_to and scope in self.delegation_set ) @dataclass(frozen=True) class Warrant: leaf_key: str claimed_scope: str mint_time: int anchor_id: str chain_signatures_valid: bool delegation_statement_hash: Optional[str] def verify_warrant_admissibility( warrant: Warrant, trusted_anchors: dict[str, bytes], delegation_statements: dict[str, DelegationStatement], verifier_statement_fetch_time: int, ) -> None: # Step 1: chain must verify. This is necessary but NOT sufficient. if not warrant.chain_signatures_valid: raise WarrantAdmissibilityError( f"attestation chain does not verify for leaf {warrant.leaf_key}" ) # Step 2: anchor must be currently trusted. if warrant.anchor_id not in trusted_anchors: raise WarrantAdmissibilityError( f"anchor {warrant.anchor_id} not in trusted anchor set" ) # Step 3: the critical boundary check. A valid chain rooted in a trusted # anchor is NOT admissible unless a time-and-scope-bound delegation # assertion proves the anchor was authorized to delegate this scope at # the warrant's mint time. Absence of the assertion is refusal, not admit. if warrant.delegation_statement_hash is None: raise WarrantAdmissibilityError( f"warrant for scope {warrant.claimed_scope!r} carries no delegation " f"assertion; admissibility cannot be established during rotation" ) stmt = delegation_statements.get(warrant.delegation_statement_hash) if stmt is None: raise WarrantAdmissibilityError( f"delegation statement {warrant.delegation_statement_hash} unavailable " f"to verifier; refusing rather than admitting on trust-store presence" ) # Step 4: statement must be signed by the anchor it describes. expected_sig = hashlib.sha256( f"{stmt.anchor_id}:{stmt.valid_from}:{stmt.valid_to}:" f"{sorted(stmt.delegation_set)}".encode() ).digest() if stmt.signature != expected_sig: raise WarrantAdmissibilityError( f"delegation statement signature invalid for anchor {stmt.anchor_id}" ) # Step 5: statement must actually cover this warrant's scope at mint time. # This is what catches the scope-narrowing rotation: R_old's statement # excludes the narrowed scope, so an R_old-rooted warrant claiming it fails # here even though its chain verified against a still-trusted R_old. if not stmt.covers(warrant.claimed_scope, warrant.mint_time): raise WarrantAdmissibilityError( f"anchor {stmt.anchor_id} not authorized to delegate scope " f"{warrant.claimed_scope!r} at mint_time {warrant.mint_time}; " f"delegation window {stmt.valid_from}..{stmt.valid_to} " f"excludes it (scope-narrowing rotation)" ) # Step 6: freshness. A stale statement must not admit warrants minted # after the verifier's last fetch, or the narrowing can be bypassed. if warrant.mint_time > verifier_statement_fetch_time: raise WarrantAdmissibilityError( f"warrant mint_time {warrant.mint_time} exceeds verifier statement " f"fetch time {verifier_statement_fetch_time}; statement may be stale" ) def admit_or_refuse(warrant: Warrant, **kwargs) -> str: try: verify_warrant_admissibility(warrant, **kwargs) except WarrantAdmissibilityError as exc: return f"REFUSED: {exc}" return f"ADMITTED: scope {warrant.claimed_scope!r} under {warrant.anchor_id}" ```