# What happens when an instance trusts a verifiable credential whose revocation status is cached across a domain boundary **Date of Record:** 2026 November 26 **Scope:** Applies to federated agent systems where an agent instance (the *verifier*) admits a peer or tool-bearing principal (the *holder*) based on a Verifiable Credential (VC) issued by a foreign trust domain, and where revocation status is resolved via a cached status list (e.g., Bitstring Status List or a status-list-credential mirror). Does not apply to single-domain deployments where the verifier and issuer share a status-list endpoint and a clock, nor to purely ephemeral capability tokens with no revocation channel. ## Core Distinction There are two different questions an agent answers when it "checks" a credential, and conflating them is the entire failure mode: 1. **Signature validity at issuance** — a deterministic, offline, monotonic predicate: *did the issuer sign this subject+claims pair, and is the signature intact?* This never decays. A valid signature stays valid forever. 2. **Authorizational currency at presentation** — a time-dependent, distributed, non-monotonic predicate: *is the issuer still willing to stand behind this subject for this capability, right now, in this verifier's domain?* The boundary failure is that a verifier caches the answer to (2) with the lifetime semantics of (1). It stores a status-list snapshot the moment it first resolves the credential, treats "not revoked in the snapshot" as an invariant, and never re-resolves because the signature still checks out. The credential is cryptographically pristine and operationally dead. The verifier's local model of the holder's authority diverges from the issuer's authoritative model, and nothing in the verification path is designed to notice. ## What Was Observed A scheduling agent (`orchestrator-7`) in domain `alpha` federates task execution to a worker agent (`worker-3`) in domain `beta`. `worker-3` presents a VC issued by `beta`'s trust anchor asserting the capability `execute:batch`. The VC embeds a `credentialStatus` pointer to a Bitstring Status List hosted by `beta`. The trace: 1. **T0.** `orchestrator-7` resolves the status list, finds index `k` clear, admits `worker-3`, and caches the tuple `(issuer=beta, list_id=L, snapshot_hash=H0, resolved_at=T0)` alongside the credential. Cache TTL is set to the credential's `expirationDate` — 30 days out — because the engineer reasoned "the credential is valid for 30 days." 2. **T1 (~4 hours later).** `beta`'s security team revokes `worker-3`'s capability (compromised sandbox key) and flips bit `k` in status list `L`, publishing snapshot `H1`. `beta`'s own verifiers see the revocation within their status-list poll interval (minutes). 3. **T2.** `orchestrator-7` receives a *new* task delegation request from `worker-3`. It re-verifies the credential signature — passes — and consults the cache: `snapshot_hash=H0`, bit `k` clear, `resolved_at=T0` well within TTL. It admits the worker and hands over a batch containing customer identifiers. 4. **T3.** `orchestrator-7`'s auditor (`auditor-2`, same domain) independently verifies the same presentation. Its cache was cold (different process, freshly started), so it resolves `L` live, gets `H1`, sees bit `k` set, and rejects. The two verifiers in the *same domain* now disagree about the same holder at the same instant. 5. **T4.** The swarm's consensus layer observes `orchestrator-7` (admit) and `auditor-2` (reject) for the identical `(holder, capability)` pair and cannot distinguish "one verifier is stale" from "the holder is mid-revocation and we caught a race." It stalls the batch — a liveness failure layered on top of the security failure. The signature of this failure in logs is deceptively clean: every verification event reports `signature=valid, status=cached_clear`. There is no error, no exception, no failed check. The verifier did exactly what it was programmed to do. The bug is in *what it was programmed to cache*, not in any individual step. ## Condition of Validity The invariant that must hold for cross-domain admission to be sound: > A verifier may treat a holder's authority as current only for a bounded *staleness window* `Δ`, and `Δ` must be derived from the **issuer's revocation propagation policy**, not from the **credential's expiration**. Formally, admission at time `t` is sound only if `t − resolved_at ≤ Δ_issuer` where `Δ_issuer` is the maximum time the issuer guarantees between a revocation event and its visibility to any conforming verifier. This invariant fails whenever: - **TTL is bound to `expirationDate`.** Expiration answers "how long is this claim meant to describe the subject," not "how fast can I learn the subject changed." These are unrelated quantities. A 30-day credential from a domain that revokes within 5 minutes has `Δ_issuer ≈ 5 min`, and caching for 30 days violates the bound by four orders of magnitude. - **The issuer does not publish `Δ_issuer` at all**, so the verifier substitutes a local default (often "1 hour, seems safe") that has no relationship to the issuer's actual propagation. The verifier is guessing at a cross-domain timing contract it was never given. - **The status list is itself a credential** (as in Bitstring Status List), so its resolution is *also* subject to caching and *also* has a status of its own — a second-order staleness the verifier typically does not model. A revoked-and-replaced status list can leave the verifier pinning a snapshot the issuer has already abandoned. - **A stale verifier and a fresh verifier coexist in one domain**, as in the trace, so the domain has no single answer to "is this holder authorized" and downstream consensus treats the disagreement as a holder-side race rather than a verifier-side staleness. It does *not* fail (the invariant is trivially satisfied) when the verifier and issuer share a status endpoint and clock, or when the capability is single-use and consumed before any plausible revocation, or when revocation is enforced by the issuer at the resource (a downstream check the verifier cannot skip). In those cases the cache is harmless because something else closes the window. ## Decision Boundary The operational fork is whether the verifier is permitted to make an admission decision on cached status, and that depends on a quantity the verifier must *obtain from the issuer*, not infer: - **If the issuer publishes a signed staleness bound `Δ_issuer` in the credential or its status-list metadata**, the verifier may cache for `min(Δ_issuer, expirationDate − now)` and must re-resolve on expiry. This is the only configuration in which caching is sound. - **If the issuer publishes no bound**, the verifier must treat the credential as *fail-closed for caching*: resolve status live on every admission, or refuse the credential entirely for capabilities above a sensitivity threshold. It may not substitute a local default. A guessed `Δ` is not a bound; it is a hope with a timestamp. - **If the capability is high-sensitivity** (data egress, credential issuance, financial action), the verifier must re-resolve live regardless of any published `Δ`, because the cost of a stale admit exceeds the cost of a status round-trip. The decision boundary is sensitivity-weighted, not purely time-weighted. - **If two verifiers in a domain disagree on status**, the disagreement must be attributed to staleness (compare `resolved_at` and `snapshot_hash`) before it is escalated as a holder race. A consensus layer that cannot read `snapshot_hash` will misclassify every stale verifier as a racing holder. The line is: *cached status is admissible only when the issuer has made a signed, verifiable promise about how stale the cache is allowed to be, and the verifier has not exceeded that promise.* Absent that promise, caching is an unverified assumption about a foreign domain's behavior. ## Operational Effect The concrete effects, in order of how they bite: 1. **Silent over-admission.** Stale verifiers admit revoked holders for the full cache TTL. The window is `TTL − Δ_issuer`, which for expiration-bound caches is the credential's entire remaining lifetime. This is the primary security effect and it produces no log signal. 2. **Intra-domain split-brain.** Fresh and stale verifiers disagree, and the disagreement is indistinguishable from a genuine holder-side race unless `snapshot_hash` and `resolved_at` are propagated into the consensus record. Without that, the swarm either stalls (liveness loss) or majority-votes, which means a domain with more stale verifiers than fresh ones will *systematically admit* revoked holders — staleness becomes a voting bloc. 3. **Revocation that never lands.** Because the verifier never re-resolves, the issuer's revocation has no effect on this verifier for the cache lifetime. The issuer believes it revoked; the verifier believes it admitted a valid holder. Both are locally correct and globally wrong. 4. **Second-order status-list pinning.** If the status list itself is replaced (key rotation, list migration), the pinned `snapshot_hash=H0` may reference a list the issuer no longer maintains. The verifier is now resolving against a document that will never be updated again — a permanently frozen view of authority. The guardrail is to make staleness a *first-class, propagated, and auditable* quantity: carry `(snapshot_hash, resolved_at, Δ_issuer)` in the admission record, refuse to admit when `resolved_at` is older than the issuer's signed bound, fail closed when no bound is published, and require the consensus layer to read `snapshot_hash` before attributing disagreement to the holder. The verifier must never derive a staleness bound from a quantity — expiration — that was never about staleness. ```python from dataclasses import dataclass from datetime import datetime, timedelta class StaleRevocationStatusError(RuntimeError): """Raised when a verifier attempts to admit a holder on cached revocation status that exceeds the issuer's signed staleness bound.""" @dataclass(frozen=True) class StatusCacheEntry: issuer: str snapshot_hash: str resolved_at: datetime # The issuer's signed promise about max propagation delay. # None means the issuer published no bound -> fail closed. delta_issuer: timedelta | None @dataclass(frozen=True) class Credential: issuer: str expiration: datetime capability: str sensitivity: str # "low" | "high" HIGH_SENSITIVITY = {"high"} def admission_allowed( cred: Credential, cache: StatusCacheEntry, now: datetime, live_status: str | None = None, ) -> bool: """Decide whether to admit a holder based on cached revocation status. `live_status` is the freshly resolved status ("clear" | "revoked" | None). A None live_status means the caller did not resolve live and is relying on the cache. """ if cache.issuer != cred.issuer: raise StaleRevocationStatusError( f"cache issuer {cache.issuer!r} does not match credential issuer " f"{cred.issuer!r}; refusing to use foreign cache" ) # High-sensitivity capabilities must always resolve live; cache is # never admissible regardless of any published bound. if cred.sensitivity in HIGH_SENSITIVITY: if live_status is None: raise StaleRevocationStatusError( f"capability {cred.capability!r} is high-sensitivity; " "cached status is not admissible and no live resolution " "was supplied" ) return live_status == "clear" # No issuer-published staleness bound -> caching is unsound. Fail closed # unless the caller resolved live. if cache.delta_issuer is None: if live_status is None: raise StaleRevocationStatusError( f"issuer {cred.issuer!r} published no staleness bound; " "cached status cannot be trusted, live resolution required" ) return live_status == "clear" age = now - cache.resolved_at if age > cache.delta_issuer: raise StaleRevocationStatusError( f"cached status for issuer {cred.issuer!r} is {age} old, " f"exceeding issuer bound {cache.delta_issuer}; " f"snapshot {cache.snapshot_hash!r} must be re-resolved" ) # Bound satisfied; still must not outlive the credential itself. if now > cred.expiration: return False return True ```