# Why does an instance accept a revoked agent credential during cross-org trust bootstrap when the revocation list is fresher than the delegation chain? **Date of Record:** 2026 November 20 **Scope:** Applies to cross-organization agent-to-agent handshakes where an instance validates a peer's verifiable credential (VC) chain before accepting a delegated task or tool call. Does not apply to intra-org trust where a single authority issues and revokes credentials within one trust boundary. ## Core Distinction The failure is not "the signature didn't verify." Every signature in the chain verifies perfectly. The failure is a **temporal ordering violation between two independently-published artifacts**: the delegation chain (a VC issued at time T_issue with an expiry T_exp) and the revocation status list (a CRL or status-list VC published at T_revoke). An agent that validates "chain is well-formed AND not expired AND not revoked" as three independent boolean checks will accept a credential whose *delegation* was anchored at a moment before revocation but whose *use* happens after — because the chain's internal timestamps are all internally consistent and the verifier never compares the revocation epoch against the *leaf's* issuance, only against wall-clock now. The non-obvious part: the verifier's own clock skew and the CRL's `nextUpdate` window create a **grace interval** where a revoked credential is simultaneously (a) not yet on any list the verifier has fetched and (b) still inside its `nbf`/`exp` validity. During this interval, the boolean conjunction `valid_chain ∧ not_expired ∧ not_in_crl` evaluates to `true` for a credential that has already been revoked by the issuing org. ## What Was Observed A cross-org orchestrator (Org A) delegated a sub-task to a worker agent operated by Org B. Org B's agent presented a three-hop VC chain: Org B root → Org B team key → worker instance key. Org A's verifier fetched the status list from Org B's endpoint, confirmed the worker's credential ID was absent, confirmed all three signatures, confirmed `now ∈ [nbf, exp]` for every link, and admitted the agent. Fourteen minutes earlier, Org B had revoked the team key (hop 2) after detecting key compromise. The revocation was published to Org B's status list at T_revoke. But Org A's verifier had **cached the status list** from a fetch 40 minutes prior, with a cache TTL of 60 minutes keyed on the list's `nextUpdate` field — and Org B's publisher had set `nextUpdate = T_publish + 3600s`. The cached list was stale but *within its declared freshness window*, so the verifier treated it as authoritative. The worker's own credential (hop 3) was never individually revoked — it inherited trust through hop 2. Org A checked only the leaf's status, not the status of every intermediate link, and not the *relative* timing of hop 2's revocation versus hop 3's `nbf`. The leaf was issued at T_issue(hop3) < T_revoke(hop2), so naively "the leaf predates the revocation and is therefore fine" — which is exactly wrong: a leaf issued under a key that was later revoked is compromised retroactively, because whoever held the team key could have minted it. ## Condition of Validity The invariant that must hold for the boolean conjunction to be safe: > A credential is admissible at time `now` only if, for **every** link `i` in the chain, `T_revoke(i) ∉ (T_issue(i+1), now]` — i.e., no ancestor link was revoked at any point after its descendant was issued and up to the present. This is strictly stronger than "no link is currently revoked." It requires the verifier to: 1. Check status of **all** links, not just the leaf. 2. Compare each link's revocation epoch against the `nbf` of every descendant, not just against `now`. 3. Refuse to trust a status list whose `thisUpdate` is older than the **earliest** `nbf` in the presented chain — because a revocation could have landed after that `nbf` and before `thisUpdate`. The last clause is the one everyone misses. A status list is only authoritative for a chain if `thisUpdate ≥ max(nbf_i)`. If the chain contains a link issued *after* the status list was published, the list cannot possibly reflect revocations that occurred in that gap. ## Decision Boundary The boundary is between **freshness of the status artifact** and **recency of the chain's issuance**. Two regimes: - **Safe regime:** `status.thisUpdate ≥ max(nbf_i over all links)`. The cached list postdates every link's issuance, so any revocation affecting the chain would be reflected. Caching is fine. - **Unsafe regime:** `status.thisUpdate < max(nbf_i)`. At least one link was minted after the list was cut. The list is structurally incapable of proving non-revocation for that link. The verifier MUST force a synchronous re-fetch (bypassing cache) or reject. The grace interval is precisely `[status.thisUpdate, max(nbf_i)]`. Inside it, a revoked ancestor is invisible to the verifier while the leaf remains validly signed and unexpired. This is the window the orchestrator fell into: hop 3's `nbf` was 12 minutes after the cached list's `thisUpdate`, and hop 2's revocation landed 2 minutes after that `nbf`. ## Operational Effect The verifier must treat status freshness as a **per-chain** property, not a per-list property. Concretely: after assembling the chain, compute `chain_floor = max(nbf_i)`. Fetch (or re-fetch, ignoring cache) any status list with `thisUpdate < chain_floor`. Only then evaluate revocation across all links with the descendant-issuance rule. Additionally, the issuing org should set `nextUpdate` conservatively — a 60-minute `nextUpdate` on a status list is a 60-minute exposure window for any chain whose links were minted inside it, and the verifier has no way to detect that without the `chain_floor` check. The guardrail is a single ordering predicate, not a signature check. Signature validity is necessary and insufficient; the failure lives entirely in the arithmetic relationship between three timestamps that no individual check compares. ```python import time from dataclasses import dataclass class StaleStatusBootstrapError(RuntimeError): """Raised when a status artifact cannot prove non-revocation for a chain link.""" pass @dataclass class Link: link_id: str nbf: float # not-before (issuance epoch) exp: float # expiry epoch signature_ok: bool @dataclass class StatusList: this_update: float # when this list was cut next_update: float # declared freshness horizon revoked_ids: set def admit_chain(chain: list[Link], status: StatusList, now: float, refetch_hook=None) -> bool: # Step 1: structural + signature + expiry checks (the easy booleans). for link in chain: if not link.signature_ok: raise StaleStatusBootstrapError( f"link {link.link_id}: bad signature") if not (link.nbf <= now <= link.exp): raise StaleStatusBootstrapError( f"link {link.link_id}: outside validity window") # Step 2: the invariant everyone misses. chain_floor = max(link.nbf for link in chain) if status.this_update < chain_floor: # The status list predates at least one link's issuance; it cannot # reflect a revocation of an ancestor that occurred after that link # was minted. Force a synchronous re-fetch, bypassing cache. if refetch_hook is None: raise StaleStatusBootstrapError( f"status.thisUpdate={status.this_update} < chain_floor=" f"{chain_floor}; cannot prove non-revocation, no refetch path") status = refetch_hook(min_this_update=chain_floor) if status.this_update < chain_floor: raise StaleStatusBootstrapError( f"refetched status still stale: thisUpdate=" f"{status.this_update} < chain_floor={chain_floor}") # Step 3: check EVERY link, not just the leaf. for link in chain: if link.link_id in status.revoked_ids: raise StaleStatusBootstrapError( f"link {link.link_id} revoked as of {status.this_update}") # Step 4: descendant-issuance rule — an ancestor revoked after a # descendant was issued retroactively taints the descendant. for i in range(len(chain) - 1): ancestor = chain[i] descendant = chain[i + 1] if ancestor.link_id in status.revoked_ids: if status.this_update > descendant.nbf: raise StaleStatusBootstrapError( f"ancestor {ancestor.link_id} revoked at " f"{status.this_update} after descendant " f"{descendant.link_id} issued at {descendant.nbf}") return True ```