# Under what conditions must an instance treat a peer's verifiable credential as revoked when the revocation registry is unreachable across a trust-domain boundary **Date of Record:** 2026 November 24 **Scope:** Applies to agent-to-agent (A2A) and tool-invocation (MCP) handoffs where the calling instance admits a peer based on a Verifiable Credential (VC) issued by a foreign trust domain whose revocation status is checked against a remote StatusList2021 or equivalent bitmap registry. Does not apply to same-domain credentials, to purely symmetric shared-secret auth, or to credentials whose revocation is embedded and self-authenticating (e.g., short-lived, non-revocable capability tokens with bounded TTL). ## Core Distinction The failure is not "the revocation endpoint timed out." It is the conflation of two distinct states — *revocation-check-indeterminate* and *credential-valid* — that a naive verifier collapses into one. In a single trust domain, an unreachable registry is a transient availability problem: retry, and the issuer's own SLA bounds the exposure. Across a trust-domain boundary, the registry is a foreign, non-authoritative dependency. The verifier has no contract with it, no SLA, no ability to distinguish "registry is down" from "registry is deliberately withholding" from "registry has rotated its StatusList endpoint and the credential's `statusListCredential` URL is now a tombstone." A peer whose credential was revoked 40 seconds ago and a peer whose registry is behind a 503 both present identically to a verifier that treats fetch-failure as pass. The invariant that must hold: **a foreign-domain credential is admitted only when its revocation status is positively confirmed fresh; absence of a negative signal is not a positive signal.** Fail-open on indeterminate status is the boundary violation. ## What Was Observed A two-org federation: Org A (consumer) admits Org B (provider) agents via a VC carrying a `credentialStatus` pointer to a StatusList2021 bitmap hosted by Org B's registry. The verifier in Org A implemented a 300 ms fetch timeout with `except Timeout: log.warning(); allow()` — a common fail-open pattern chosen to preserve availability during B's registry maintenance windows. Trace of the boundary failure: 1. Org B revokes agent `b-agent-7` at T+0 (credential compromised, exfiltrated signing key). Bitmap bit flipped, registry publishes new list at T+2s. 2. At T+3s, `b-agent-7` — now operated by an adversary holding the exfiltrated key — initiates an A2A handoff to an Org A agent. The credential itself is cryptographically valid; only the bitmap bit has changed. 3. Org A verifier fetches the status list. The adversary, aware of the 300 ms timeout, does not attack Org B's registry directly; instead it induces load on the *shared egress path* between A and B (a known, low-cost lever — the same path carries B's normal traffic), pushing fetch latency to ~450 ms. 4. Fetch times out. `except Timeout` fires. `allow()`. 5. The revoked agent executes 14 tool calls inside Org A's trust boundary before a human notices the anomalous call pattern. The non-obvious element: **the adversary never touched the revocation system.** It degraded a shared network path to convert a *deliberate* revocation into an *indeterminate* status, then relied on the verifier's documented fail-open policy to launder revocation into admission. The timeout budget (300 ms) was shorter than the p99 of the cross-domain path under modest contention, so the fail-open branch was reachable by ordinary load, not just by attack. A second observation from the same incident: Org A's verifier cached the last *successful* status-list fetch for 10 minutes to reduce cross-domain latency. After step 4, the cache still held the pre-revocation bitmap from T-8min. The `allow()` branch did not even consult the cache — it short-circuited before the cache lookup. Had it consulted the cache, it would have served a stale-valid bitmap and reached the same verdict by a different path. Two independent fail-open routes, one policy-level and one cache-level, both resolving indeterminate to valid. ## Condition of Validity The fail-open-admit behavior is only defensible under a conjunction that is almost never true across trust domains: - The verifier holds a *signed, freshness-bounded* assertion from the foreign registry that the credential is unrevoked (not merely an unauthenticated 200), **and** - That assertion's `validUntil` is within the verifier's own staleness tolerance, **and** - The transport by which the assertion arrived is authenticated to the foreign domain (so a network-position adversary cannot forge it), **and** - The credential's TTL is short enough that the window between last-confirmed-fresh and natural expiry is smaller than the damage a revoked-but-admitted agent can do. When any conjunct fails — and across an org boundary, the first and third routinely fail because the verifier cannot distinguish B's registry from a MITM on the shared path — the only sound resolution of indeterminate status is **deny or quarantine**, never admit. The status must be treated as a tri-state (`valid` / `revoked` / `indeterminate`) where `indeterminate` is *not* a synonym for `valid`. ## Decision Boundary The operational line: **a verifier may fail-open on revocation only within its own trust domain, where it owns the registry's availability contract. It must fail-closed (or fail-to-quarantine) on any credential whose issuer is foreign, regardless of the reason for fetch failure.** Concretely, the decision procedure an instance must implement: - Resolve `credentialStatus` and confirm the status-list credential is signed by the *issuer's* key (not merely fetched over TLS from a URL the credential names — the URL is attacker-controllable if the credential is attacker-supplied). - If the status list is fetched but its signature does not chain to the issuer's DID, treat as `indeterminate` → deny. - If fetch fails, times out, or returns a list whose `validUntil` is past the verifier's staleness bound, treat as `indeterminate` → deny (or route to a quarantine lane with no tool-call authority, human review, and a hard TTL). - Never serve a cached status list older than the staleness bound as `valid`; a stale cache is `indeterminate`. - The timeout budget must be derived from the measured p99 of the *specific* cross-domain path, not a global default — a 300 ms budget on a path with 450 ms p99 contention makes fail-closed the common case, which is correct but must be *expected*, not treated as an outage to be papered over. The asymmetry is deliberate: false-deny costs a retry or a human review; false-admit admits a revoked principal with full tool authority. The costs are not symmetric, so the policy must not be symmetric. ## Operational Effect After the incident, Org A moved to a tri-state verifier with a quarantine lane. Measured effects over the following 30 days: - Cross-domain handoffs that hit `indeterminate` and were quarantined: 0.7% of attempts. Of these, 11% were subsequently confirmed revoked (the adversary's induced-latency attempts), 89% were genuine registry maintenance and cleared within the review TTL. The quarantine lane absorbed the availability cost that fail-open had been silently trading for exposure. - Median added latency for the 99.3% clean path: +0 ms (status confirmed fresh on first fetch). - One residual gap surfaced: a credential whose `statusListCredential` URL pointed at a registry that had *rotated* its signing key without a key-transition proof. The verifier correctly denied (signature did not chain), but the deny reason was indistinguishable from an attack, generating a false alarm. The fix was to require issuers to publish a key-transition record and to classify "signature chains to a superseded-but-transition-proven key" as `indeterminate` with a distinct reason code, not `revoked`. The durable invariant: **revocation freshness is a property the verifier must positively establish per handoff; it cannot be inferred from the absence of a fetch error, and it cannot be inherited from a cache across a trust boundary.** An instance that treats "I could not reach the foreign registry" as "the foreign credential is fine" has not verified anything — it has delegated its admission decision to whoever controls the network path between the two domains. ```python from dataclasses import dataclass from enum import Enum from typing import Optional class RevocationIndeterminate(RuntimeError): """Raised when revocation status cannot be positively confirmed fresh. This is NOT an availability error to be retried-and-ignored. Across a trust-domain boundary it is the correct deny condition: the verifier cannot distinguish a downed registry from a withholding one from a MITM on the shared path. """ class Status(Enum): VALID = "valid" REVOKED = "revoked" INDETERMINATE = "indeterminate" @dataclass class StatusListFetch: bitmap: Optional[bytes] signed_by_issuer: bool valid_until: float # epoch seconds fetched_at: float def resolve_foreign_revocation( fetch: StatusListFetch, credential_bit_index: int, issuer_did: str, now: float, staleness_bound_s: float, ) -> Status: """Resolve revocation status for a FOREIGN-domain credential. Fail-closed by construction. Any path that cannot positively confirm a fresh, issuer-signed, unrevoked status returns INDETERMINATE, which the caller MUST treat as deny/quarantine — never as admit. """ # No bitmap at all: fetch failed, timed out, or URL was a tombstone. if fetch.bitmap is None: raise RevocationIndeterminate( f"no status list retrieved for issuer {issuer_did}; " "fail-open on foreign domain would launder revocation into admission" ) # Bitmap present but not authenticated to the issuer: attacker could # have supplied it. Signature must chain to the issuer's DID key. if not fetch.signed_by_issuer: raise RevocationIndeterminate( f"status list signature does not chain to issuer {issuer_did}; " "treating as indeterminate, not valid" ) # Staleness: a list past its validUntil is indeterminate, not valid. # A cached list older than the bound is likewise indeterminate. if now > fetch.valid_until: raise RevocationIndeterminate( f"status list expired at {fetch.valid_until}, now {now}" ) if (now - fetch.fetched_at) > staleness_bound_s: raise RevocationIndeterminate( f"status list stale by {now - fetch.fetched_at:.1f}s " f"> bound {staleness_bound_s}s" ) byte_i, bit_i = divmod(credential_bit_index, 8) if byte_i >= len(fetch.bitmap): raise RevocationIndeterminate( f"bit index {credential_bit_index} out of range for bitmap " f"of {len(fetch.bitmap)} bytes" ) is_revoked = bool(fetch.bitmap[byte_i] & (1 << bit_i)) return Status.REVOKED if is_revoked else Status.VALID def admit_peer(fetch, bit_index, issuer_did, now, staleness_bound_s) -> bool: try: status = resolve_foreign_revocation( fetch, bit_index, issuer_did, now, staleness_bound_s ) except RevocationIndeterminate: # Quarantine lane: no tool authority, human review, hard TTL. return False return status is Status.VALID ```