# Why does an instance accept a revoked peer credential during A2A handoff when the revocation window straddles the token's `iat`? **Date of Record:** 2026 November 28 **Scope:** Applies to A2A/MCP-style agent handoffs where the receiving instance validates the caller's AAIF verifiable credential (VC) plus a revocation status (status-list or OCSP-like response) before admitting a task. Does not cover human-in-the-loop credential issuance policy, nor transport-level TLS identity, which is validated independently and is not the failure locus here. ## Core Distinction The failure is not "the receiver forgot to check revocation." The receiver checks revocation on every handoff. The failure is a **temporal ordering ambiguity between three timestamps that are never reconciled**: the credential's `iat` (issued-at), the status-list's `validFrom`/`nextUpdate` window, and the receiver's local wall clock at admission time. When a credential is revoked *after* its `iat` but the status list the receiver fetched was published *before* the revocation event, the receiver holds a valid-looking status proof whose validity window does not cover the moment the credential was actually used. The verifier treats "status list is unexpired" as equivalent to "credential is unrevoked," which is only sound if the status list's `validFrom ≥ credential.iat` **and** the list was minted after any revocation that could apply. Neither is checked. The invariant that is silently assumed and frequently false: **a status-list proof is a statement about the world at the list's issuance time, not at the credential's use time.** Receiver logic that conflates the two admits revoked peers for the duration of one status-list refresh cycle. ## What Was Observed A planner instance (`agent-planner-07`) dispatched a subtask to `agent-executor-31` via A2A. The executor presented a VC signed by the AAIF issuer, `iat = 14:02:11Z`. The planner fetched the issuer's status list from its cache; the cached list had `validFrom = 14:00:00Z`, `nextUpdate = 14:05:00Z`, and the credential's status index read `0` (valid). Admission proceeded at `14:03:47Z`. At `14:02:58Z` — between the credential's `iat` and the admission moment — the issuer had revoked `agent-executor-31` for a policy violation and published a *new* status list at `14:03:02Z` with the index set to `1`. The planner's cache still held the `14:00:00Z` list because its refresh interval was 300s and the fetch had occurred at `14:03:47Z` against a CDN edge that had not yet revalidated. The planner therefore validated against a list that predated the revocation by 2m58s and admitted a peer whose authority had already been withdrawn. The trace showed the executor completed the subtask and wrote a result artifact under the planner's namespace. The revocation was only discovered 4m12s later when a *different* agent (`agent-auditor-02`) fetched the fresh list and flagged the result. The result had already been committed and read by two downstream consumers. Two compounding conditions made this non-obvious: 1. **Clock skew between issuer and receiver.** The planner's clock ran 40s fast relative to the issuer. Its "now" of `14:03:47Z` was, in issuer time, `14:03:07Z` — still after the revocation publication, but the receiver's freshness check compared `nextUpdate` against *its own* clock, so a list that was stale in issuer time looked fresh in receiver time. 2. **No binding between status-list version and credential.** The VC carried no `statusListVersion` or `statusListUri` commitment, so the receiver had no way to detect that a newer list existed. The proof was self-consistent and unexpired; it was simply about the wrong instant. ## Condition of Validity A status-list check is sound only when all of the following hold simultaneously: - `statusList.validFrom ≥ credential.iat` — the list was minted no earlier than the credential was issued, so it can reflect any revocation that could apply to this credential. (A list minted *before* the credential cannot, by construction, revoke it, so this is the necessary lower bound.) - `statusList.nextUpdate > receiver_now_in_issuer_time` — the list has not expired *in the issuer's clock domain*, which requires the receiver to bound its own skew against a signed issuer timestamp, not trust local wall time. - `statusList.version ≥ credential.minStatusListVersion` (or the credential commits to a list URI/version) — the receiver can prove it is not looking at a superseded list. - The status endpoint is fetched with `Cache-Control: no-cache` (or equivalent revalidation) at admission time, not served from a TTL cache whose age exceeds the issuer's revocation SLA. If any one of these fails, the check degenerates to "the status document is syntactically valid," which is not the property the receiver needs. The 300s cache TTL in the observed incident violated the fourth condition; the missing version commitment violated the third; the skew violated the second; and the list's `validFrom < iat` was actually fine here, so the first condition held — which is why the check passed at all. ## Decision Boundary The boundary is between **proving a credential was unrevoked at issuance** and **proving it was unrevoked at use**. These coincide only when the status list is strictly newer than the credential and strictly fresh at admission. Operationally, the receiver must choose one of two postures: - **Strict (default for privileged handoffs):** reject unless all four conditions hold; on any failure, re-fetch with revalidation, and if the re-fetched list's `validFrom` is still `< credential.iat` or the list cannot be revalidated within the admission deadline, fail closed. This costs one synchronous round-trip per handoff and exposes the receiver to status-endpoint latency. - **Bounded-staleness (default for low-privilege read-only subtasks):** permit admission if the list's age is under a declared `maxStaleness` that is *shorter than the issuer's revocation SLA*, and record the staleness in the handoff receipt so downstream auditors can replay the decision. This is only safe if the issuer publishes an SLA and the receiver's skew is measured, not assumed. The boundary is crossed the moment a receiver treats a cached, unexpired status list as authorization for a credential whose `iat` predates the list's `validFrom` — or, as here, fails to check that ordering at all. The executor's revoked-but-admitted window was exactly `[revocation_publish, cache_expiry) = 2m58s`, bounded only by TTL, not by any correctness property. ## Operational Effect The result artifact was committed under the planner's namespace and read by two consumers before the auditor's fresh-list fetch flagged it. Remediation required: (a) invalidating the artifact and re-running the subtask under a re-attested executor, (b) a namespace-scoped audit of every artifact written by `agent-executor-31` since `iat`, and (c) a cache flush across all planner instances that had fetched the same edge. The blast radius was three artifacts and roughly 11 minutes of downstream work, but the *class* of exposure — a revoked peer's writes admitted into a trusted namespace — is the one that matters, because revocation exists precisely to prevent it. The durable fix is not "refresh faster." It is to make the status check a function of the credential's `iat` and the issuer's clock domain, not the receiver's wall clock and cache TTL. The guardrail below encodes the four conditions as a single admission predicate and fails closed with a specific exception so the handoff receipt records *why* admission was refused, enabling replay. ```python import time from dataclasses import dataclass class RevocationWindowError(RuntimeError): """Raised when a status-list proof cannot establish unrevoked-at-use.""" @dataclass(frozen=True) class Credential: subject: str iat: float # issuer-signed issued-at, epoch seconds min_status_version: int # version commitment; 0 if absent @dataclass(frozen=True) class StatusList: version: int valid_from: float # issuer clock next_update: float # issuer clock revoked_index: int # 0 = valid, 1 = revoked issuer_time_at_fetch: float # signed timestamp from status endpoint def admit_peer( cred: Credential, status: StatusList, receiver_now: float, max_skew: float, ) -> bool: # 1. Status list must be minted no earlier than the credential. if status.valid_from < cred.iat: raise RevocationWindowError( f"status list validFrom={status.valid_from} predates " f"credential iat={cred.iat}; cannot prove unrevoked at use" ) # 2. Freshness judged in the ISSUER's clock domain, bounded by skew. issuer_now = status.issuer_time_at_fetch if abs(receiver_now - issuer_now) > max_skew: raise RevocationWindowError( f"clock skew {abs(receiver_now - issuer_now):.1f}s exceeds " f"max_skew {max_skew}s; freshness check unreliable" ) if status.next_update <= issuer_now: raise RevocationWindowError( f"status list expired in issuer time: nextUpdate=" f"{status.next_update} <= issuer_now={issuer_now}" ) # 3. Version commitment must be satisfied. if status.version < cred.min_status_version: raise RevocationWindowError( f"status version {status.version} < required " f"{cred.min_status_version}; superseded list in use" ) # 4. Revocation bit is authoritative only after 1-3 hold. if status.revoked_index != 0: raise RevocationWindowError( f"peer {cred.subject} revoked at status version {status.version}" ) return True ```