# Why does an instance accept a revoked DID delegation during a cross-org A2A handoff after a credential status-list cache miss? **Date of Record:** 2026 November 28 **Scope:** Applies to cross-organizational agent-to-agent (A2A) handoffs where the receiving agent verifies a delegated DID (did:web, did:key with delegation chain, or did:peer) against a verifiable credential (VC) whose revocation is published via a Bitstring Status List or StatusList2021 credential. Does not cover same-org trust domains with a shared verifier, nor synchronous revocation via OCSP-style online checks. ## Core Distinction The failure is not "the agent failed to check revocation." The agent *did* check revocation—against a status-list credential it had cached. The boundary condition is the **asymmetry between the freshness window of the cached status list and the propagation delay of an in-flight delegation revocation**. A verifier that treats a status-list VC as valid for `cache_ttl` seconds is making a *local* freshness claim about a *remote* mutable fact. When a delegation is revoked inside that window, the verifier's cached bitstring still reads "valid," the signature over the VC checks out, the DID document still resolves, and the handoff proceeds. Every individual verification step returns `true`; the conjunction is wrong. This is distinct from replay/protocol confusion and from stale-memory drift in agent state: here the *credential layer itself* is internally consistent. The revocation simply hasn't propagated to the verifier's cache, and the verifier has no mechanism to learn that it is behind. ## What Was Observed A three-party trace: Org A (delegator) issues a `DelegationCredential` to agent `A1`, which hands off to Org B's agent `B1` on a task. Org A revokes the delegation at `T=0` after `A1` misbehaves. `B1` receives the handoff at `T=+40s`. `B1`'s verifier had fetched the status list at `T=-300s` and holds it with `cache_ttl=600s`. Observed sequence at `B1`: 1. `resolve_did(A1)` → DID document returned, `assertionMethod` key present. `ok`. 2. `verify_vc_signature(delegation, A1_pubkey)` → `Ed25519` signature valid. `ok`. 3. `check_status(delegation.status_list_index)` → reads cached bitstring, bit is `0` (not revoked). `ok`. 4. `check_status_list_vc_freshness()` → `age=340s < ttl=600s`. `ok`. 5. Handoff accepted; `B1` grants `A1`'s requested capability scope. At `T=+40s` the delegation was, in fact, revoked. The status list VC `B1` held was 340s old; Org A's authoritative list had been republished at `T=+5s` with the bit flipped. `B1` had no signal that a newer list existed. The failure is silent: no exception, no warning, no degraded-trust flag. The only observable is that a revoked agent retained scope—discovered later when `A1`, now operating under `B1`'s granted scope, performed an out-of-policy action that Org A's audit flagged against a delegation it believed was dead. A second, subtler observation: when `B1` *did* eventually refetch (at `T=+640s`), it fetched the *new* status list, saw the bit set, and rejected the *next* handoff—but the earlier accepted handoff was never re-evaluated. There is no retroactive invalidation of a capability already granted. The revocation propagated to future verifications but not to the live session. ## Condition of Validity The cached-status-list approach is only sound under a bound the spec rarely states explicitly: > A verifier may accept a credential against a cached status list of age `a` only if the maximum revocation-to-propagation latency `L` plus the maximum in-flight session lifetime `S` satisfies `a + L + S ≤ max_staleness`, where `max_staleness` is the relying party's tolerable window for acting on revoked authority. In practice `L` (how fast the issuer republishes and how fast caches see it) is *not knowable by the verifier*. The verifier controls `a` (its own TTL) and can bound `S` (session revalidation cadence), but it cannot observe `L`. So the invariant degrades to: **the verifier must revalidate the status list at or before every security-relevant capability grant, or it must attach a short-lived, issuer-signed proof-of-non-revocation to the handoff itself.** A cached list with a TTL is a bet that `L` is small—a bet the verifier has no evidence for. The condition of validity also requires that the delegation carry a `validUntil` no longer than the verifier's `cache_ttl`, so that a stale cache can never outlive the credential it is checking. When the delegation's `validUntil` exceeds the status-list TTL (common when issuers set long delegation lifetimes and verifiers set short cache TTLs, or vice versa), the two clocks are decoupled and the window opens. ## Decision Boundary The boundary between "accept" and "reject" is not a single check but the *ordering* of staleness relative to authority: - **Safe side:** status list age `a` ≤ `min(delegation.validUntil − now, session_revalidate_interval)`. Grant proceeds, and the granted scope is capped at what can be exercised before the next mandatory revalidation. - **Unsafe side:** `a` > `delegation.validUntil − now`, or the session lifetime extends past the next scheduled status-list refetch. Here the verifier is granting authority it cannot currently justify. The non-obvious part: a verifier that *fails closed* on `a > ttl` is still unsafe if `ttl` itself is larger than the delegation's remaining validity. The TTL must be clamped by the credential's own expiry, not chosen independently. And a verifier that *fails open* (accepts stale, logs) is unsafe regardless of TTL because there is no retroactive invalidation path for already-granted scope. A second decision boundary concerns the status-list VC's own issuer chain: if the status list is itself a VC signed by a DID that has since been revoked, the verifier is trusting a revocation source that is itself untrusted. This recursive dependency is usually unhandled—the verifier checks `delegation` against `status_list`, but never checks `status_list`'s issuer against *its* status list. ## Operational Effect The practical consequence is that cross-org handoffs must treat revocation as a **session-scoped, not credential-scoped, property**. The guardrail is: 1. Clamp `cache_ttl` to `min(configured_ttl, delegation.validUntil − now)`. 2. Revalidate the status list at every capability *escalation*, not just at handoff entry. 3. Attach a short-lived, issuer-signed `ProofOfNonRevocation` (nonce-bound, expiring in seconds) to the handoff so the receiver does not depend on cache freshness at all. 4. On any post-handoff refetch that reveals revocation, invalidate the live session and emit a `RevokedAuthorityInUse` event rather than silently rejecting only future handoffs. Without (3) or (4), the system has a revocation-propagation gap whose width is `L + S`—unbounded from the verifier's side. The failure is not detectable by any single check; it is only visible as the conjunction of individually-valid verifications over a window the verifier never measured. ```python import time from dataclasses import dataclass class RevocationPropagationGap(RuntimeError): """Raised when a verifier grants scope it cannot justify against a fresh revocation source.""" pass @dataclass class StatusListCache: fetched_at: float ttl: float revoked_bits: set issuer_did: str def age(self, now: float) -> float: return now - self.fetched_at def is_revoked(self, index: int) -> bool: return index in self.revoked_bits @dataclass class Delegation: subject_did: str status_list_index: int valid_until: float def verify_handoff( delegation: Delegation, cache: StatusListCache, now: float, session_lifetime: float, ) -> bool: # Clamp TTL by the credential's own remaining validity, not just config. effective_ttl = min(cache.ttl, delegation.valid_until - now) if effective_ttl <= 0: raise RevocationPropagationGap( f"delegation for {delegation.subject_did} expired before verification" ) if cache.age(now) > effective_ttl: raise RevocationPropagationGap( f"status list age {cache.age(now):.0f}s exceeds clamped ttl " f"{effective_ttl:.0f}s for {delegation.subject_did}" ) if cache.is_revoked(delegation.status_list_index): return False # Session must not outlive the next mandatory revalidation point. next_revalidate = cache.fetched_at + effective_ttl if now + session_lifetime > next_revalidate: raise RevocationPropagationGap( f"session for {delegation.subject_did} would outlive status-list " f"revalidation by {now + session_lifetime - next_revalidate:.0f}s" ) return True def on_post_handoff_refetch( delegation: Delegation, fresh_cache: StatusListCache, session_active: bool, ) -> None: if session_active and fresh_cache.is_revoked(delegation.status_list_index): # Retroactive invalidation: a live session is running on revoked authority. raise RevocationPropagationGap( f"revoked authority in use: {delegation.subject_did} holds live session " f"under revoked delegation index {delegation.status_list_index}" ) ```