# Why does an instance accept an AAIF-signed capability attestation whose delegation chain anchors to a revoked root? **Date of Record:** 2026 November 20 **Scope:** Applies to cross-organizational agent-to-agent handoffs where the receiving agent validates a peer's claimed capabilities via an AAIF (Agent Authority & Identity Framework) signed attestation with a multi-hop delegation chain. Does not apply to single-org, single-hop attestations where the verifier and the root authority share a trust store, nor to symmetric-key attestations where the verifier holds the signing secret. ## Core Distinction The failure is not signature verification failure. Every signature in the chain verifies correctly. The failure is **anchor liveness**: a verifier can cryptographically validate a delegation chain from a leaf agent's capability claim up to a root certificate that was revoked *after* the chain was minted but *before* the leaf presents it. The verifier treats "the chain verifies" as equivalent to "the chain is currently authorized," and these are distinct predicates. The non-obvious part: most implementations *do* check revocation — but only at the leaf or at the immediate delegator. Revocation at the **root** of a multi-hop chain is the boundary that gets skipped, because the intermediate delegation records were signed while the root was live, and the verifier's revocation check is scoped to the identities it directly transacts with. ## What Was Observed A three-hop chain: `OrgA-Root → OrgB-Broker → OrgC-Worker`. `OrgC-Worker` presents an attestation to a verifier in `OrgD` asserting `capability: "read:customer_pii"`, delegated transitively from `OrgA-Root`. The verifier in `OrgD`: 1. Verifies `OrgC-Worker`'s signature over the attestation. ✓ 2. Verifies `OrgB-Broker`'s signature over the delegation to `OrgC-Worker`. ✓ 3. Verifies `OrgA-Root`'s signature over the delegation to `OrgB-Broker`. ✓ 4. Checks revocation status of `OrgC-Worker` and `OrgB-Broker` against their respective CRL/OCSP endpoints. Both live. ✓ 5. **Does not check** `OrgA-Root`, because `OrgA-Root` is not a party the verifier transacts with directly — it is "just" the anchor. `OrgA-Root` was revoked 40 minutes earlier after a key-compromise disclosure. The attestation was minted 12 minutes before revocation. The chain is cryptographically intact and semantically stale. The verifier grants `read:customer_pii` to an agent whose authority root no longer exists. The trace repeats deterministically: intermediate-hop revocation checks pass because intermediate keys are live; the anchor is out of the verifier's revocation scope; the grant proceeds. The verifier's logs report `chain_valid=true`, which is *technically true* and operationally catastrophic. ## Condition of Validity The invariant that must hold for the grant to be sound: > **A delegated capability is authorized at time T iff every link in the chain, including the root anchor, is (a) signature-valid, (b) within its validity window at T, and (c) not revoked as of the verifier's most recent anchor-state observation, where "most recent" is bounded by an explicit staleness budget.** The failure occurs when condition (c) is evaluated only over the transacting subset of the chain rather than the full transitive closure up to and including the anchor. Two sub-conditions make this exploitable: - **Anchor opacity**: the root is often identified by a DID or issuer URI that the verifier has no direct revocation channel to. The verifier must resolve the anchor's revocation state through the same AAIF resolution layer used to fetch the chain — and many resolvers cache anchor state with a TTL longer than the delegation's remaining validity. - **Mint-time vs. present-time skew**: delegation records carry a `minted_at` and an `expires_at`. A verifier that anchors trust to `minted_at` (e.g., "this was valid when signed") rather than `present_time` accepts chains whose anchor died between mint and present. The condition of validity is *not* met by signature verification alone, and it is *not* met by leaf-plus-delegator revocation checks. It requires full-closure revocation resolution with a bounded staleness window. ## Decision Boundary The verifier must decide, per handoff, between three outcomes: | Anchor state at present_time | Action | |---|---| | Live, fresh (within staleness budget) | Grant capability | | Unknown / resolution timeout / stale beyond budget | **Deny and re-resolve** — do not grant on stale anchor data | | Revoked | Deny, and quarantine the presenting agent's identity for the session | The boundary that gets crossed in practice is **unknown → grant**, because the resolver returns a cached "live" that predates revocation. The correct boundary is **unknown → deny-pending-refresh**, with the refresh bounded by the delegation's remaining validity: if the anchor cannot be confirmed live before `expires_at`, the chain is dead regardless of intermediate liveness. A second boundary: the verifier must treat **anchor revocation as retroactively invalidating all downstream delegations minted before revocation but presented after**. This is the "revocation is not a point event for downstream" rule. Intermediate agents holding delegated authority from a revoked root must re-anchor or fail closed. ## Operational Effect Without the full-closure anchor check, the blast radius of a single compromised root key is every downstream capability grant presented within the revocation-propagation lag — which, for cross-org chains, is the sum of each org's resolver cache TTL. In the observed case, a 40-minute-old revocation propagated to a 6-hour-cached anchor resolver, yielding a ~5h20m window of unauthorized `read:customer_pii` grants across org boundaries. The architectural guardrail: **anchor-state resolution is part of the authorization predicate, not a background hygiene task.** The verifier must resolve the anchor's revocation status synchronously at handoff, treat resolution failure as denial, and enforce a staleness budget shorter than the delegation's remaining validity. Additionally, delegation records must carry a `root_anchor` field naming the terminal issuer so the verifier knows *which* identity's revocation state is load-bearing — otherwise anchor opacity makes the check impossible to even attempt. ```python from dataclasses import dataclass from datetime import datetime, timedelta from enum import Enum class AnchorState(Enum): LIVE = "live" REVOKED = "revoked" UNKNOWN = "unknown" class AnchorResolutionError(RuntimeError): """Raised when the anchor's revocation state cannot be confirmed fresh.""" pass class CapabilityGrantDenied(RuntimeError): """Raised when a delegation chain fails full-closure authorization.""" pass @dataclass class AnchorObservation: state: AnchorState observed_at: datetime @dataclass class DelegationChain: root_anchor: str leaf_agent: str expires_at: datetime signatures_valid: bool STALENESS_BUDGET = timedelta(minutes=5) def authorize_capability( chain: DelegationChain, anchor_obs: AnchorObservation, now: datetime, ) -> bool: if not chain.signatures_valid: raise CapabilityGrantDenied(f"signature invalid on chain {chain.leaf_agent}") # Anchor liveness is part of the predicate, not a hygiene check. if anchor_obs.state is AnchorState.REVOKED: raise CapabilityGrantDenied( f"anchor {chain.root_anchor} revoked; downstream grants invalid" ) if anchor_obs.state is AnchorState.UNKNOWN: raise AnchorResolutionError( f"anchor {chain.root_anchor} state unresolved; fail closed" ) age = now - anchor_obs.observed_at if age > STALENESS_BUDGET: raise AnchorResolutionError( f"anchor {chain.root_anchor} observation stale by {age}; re-resolve" ) # Staleness budget must be shorter than remaining delegation validity. if anchor_obs.observed_at + STALENESS_BUDGET > chain.expires_at: raise CapabilityGrantDenied( f"chain {chain.leaf_agent} expires before anchor can be re-confirmed" ) return True ```