# What happens when an instance presents a DID passport whose delegation chain spans two trust domains with non-overlapping revocation registries **Date of Record:** 2026 November 29 **Scope:** Applies to federated agent systems where an agent's authority is asserted via a W3C Verifiable Credential (VC) delegation chain anchored to a DID, and where each trust domain publishes its own revocation registry (StatusList2021 / revocation list). Does not cover single-domain deployments, nor symmetric shared-registry federations where all domains read the same status list. ## Core Distinction The failure is not signature verification. Every link in the delegation chain verifies correctly, and the DID document resolves in both domains. The failure is that **revocation is a per-domain, monotonic-but-partitioned state**, and a delegation chain that *traverses* two domains inherits two independent revocation timelines that no single verifier observes. A verifier in Domain B checks the credential presented to it and walks the delegation chain back to the root issuer. For each hop it consults the revocation registry *of the domain that issued that hop*. But the root issuer in Domain A revokes a credential by writing to Domain A's registry — and Domain B's verifier, when validating the *root* hop, may consult a cached or replicated copy of Domain A's registry, or (more commonly) only validate the intermediate hop against its own registry and trust the root hop because "the root is Domain A's problem." This is the seam. Revocation at the root does not propagate to the leaf's *effective* validity as seen by the downstream verifier within the credential's remaining lifetime. ## What Was Observed A three-hop chain: `rootAgent (Domain A) → orchestratorAgent (Domain A) → workerAgent (delegated into Domain B)`. 1. `rootAgent` issues a delegation VC to `orchestratorAgent` with `credentialStatus` pointing at Domain A's StatusList2021 index `#4417`. 2. `orchestratorAgent` re-delegates a narrowed scope to `workerAgent`, and `workerAgent` is presented to a Domain B resource server. The worker's VC carries `credentialStatus` in Domain B's registry, plus a `parentCredential` reference back to the orchestrator hop. 3. At T0, Domain A revokes `#4417` (root→orchestrator) after detecting the root agent's key was compromised. The status bit flips to `1` in Domain A's list. 4. Domain B's verifier validates the worker's own status (bit `0`, valid), validates the orchestrator hop against... its **cached** copy of Domain A's registry, refreshed on a 15-minute cron. For 15 minutes the chain is "valid." 5. Worse: after the cache refreshes, the verifier walks the chain and checks each hop's `credentialStatus` **against the registry named in that hop's own status entry**. The orchestrator hop names Domain A's list — correctly checked. But the verifier's policy short-circuits: it treats a *valid leaf* as sufficient when the leaf's `parentCredential` is present and the leaf's issuer DID is in Domain B's trust anchor set. The parent hop is only checked if `strictChainValidation` is enabled, which it is not by default. Net effect: a revoked root authority continued to mint effective access for the full cache window *and*, under default policy, indefinitely — because the chain-walk never reached the revoked hop. The worker agent executed 40 minutes of tool calls (file writes, an outbound HTTP POST) under authority that had been dead at the root since T0. The trace is legible in logs as an asymmetry: `leaf_status=valid, hop_count_checked=1, root_status=unchecked`. No error was raised. The verifier returned `allow`. ## Condition of Validity The invariant that *should* hold is: > For any accepted delegation chain, the effective authority is the intersection of the scopes of all hops, and the chain is valid only if **every** hop's status is `valid` **as of the verifier's evaluation instant**, evaluated against the authoritative registry for that hop's domain. This invariant is violated whenever any of the following holds: - **Registry partition:** the verifier cannot reach the authoritative registry for a hop's domain (network partition, air-gap, or simply no configured endpoint), and falls back to a cached snapshot with `age > 0`. - **Short-circuit policy:** chain validation is `lazy` — the verifier trusts a valid leaf plus a resolvable parent DID without checking the parent's status bit. - **Clock skew across domains:** Domain A's registry uses `validFrom`/`validUntil` with its own clock; the revocation `revocationTime` is compared against Domain B's clock. A skew larger than the credential's remaining `exp` window lets a revoked hop appear un-revoked. - **Status-list index collision:** both domains use StatusList2021 with 16KB bitstrings; a misconfigured verifier that resolves the status entry by *index* rather than by *(issuer DID, list URL, index)* tuple reads the wrong domain's bit. This produces false-valid as readily as false-revoked. The condition of validity for the *system* is therefore: **the verifier must fail closed on any hop whose authoritative registry it cannot consult at evaluation time**, and it must consult every hop, not just the leaf. ## Decision Boundary The boundary is between two defensible designs: | Design | Behavior on unreachable/partitioned registry | Failure class | |---|---|---| | **Fail-open with cache TTL** | Accept until cache age exceeds TTL; then reject | Bounded exposure window = TTL; unbounded if short-circuit policy skips hop | | **Fail-closed, per-hop authoritative** | Reject the chain if any hop's registry is unreachable | Availability loss during partition; no revocation-propagation gap | The decision boundary is crossed the moment a system mixes them: fail-open caching *combined with* lazy chain-walk. Either alone is bounded; together they compose into unbounded exposure. A verifier may cache, but if it caches it must (a) check every hop, and (b) treat cache age as part of the credential's effective `exp` — i.e., `effective_exp = min(cred.exp, cache_snapshot_time + ttl)`. A verifier may short-circuit, but only if the leaf's VC carries a **proof-of-freshness** over the entire chain (a single signature by the leaf issuer attesting it re-validated all ancestors within the last N seconds), which moves the trust burden to the issuer and makes the assertion falsifiable. The non-obvious part: **the leaf issuer is the only party positioned to make a whole-chain freshness claim**, because it is the only party that held all hops at delegation time. Pushing chain-validation to the verifier is what creates the partition seam. The architectural guardrail is to require the leaf credential to carry a `chainAttestation` — a signed statement `{root_did, hop_statuses[], attested_at, max_age}` — and to reject any chain lacking it. This is the DID-passport analogue of a certificate transparency proof: it does not eliminate the registry partition, it makes the verifier's ignorance *detectable* rather than silently absorbed. ## Operational Effect After the incident, the federation adopted three rules, each traceable to a specific observed failure: 1. **Per-hop status check is mandatory; `lazy` chain validation is removed from the verifier.** The `hop_count_checked` metric must equal `hop_count_total` for every `allow`. Any `allow` with `hop_count_checked < hop_count_total` is a P1 alert, because it is the exact signature of the seam. 2. **Cache age folds into effective expiry.** A cached registry snapshot carries `snapshot_time`; the verifier computes `effective_exp = min(cred.exp, snapshot_time + ttl)` and rejects when `now > effective_exp`. This bounds the revocation-propagation gap to `ttl` even under partition, at the cost of rejecting otherwise-valid chains near the cache horizon. 3. **Leaf credentials must carry `chainAttestation`.** The leaf issuer signs the statuses of all ancestors as of issuance. The verifier checks the attestation's `attested_at + max_age > now` and that the attested hop statuses are all `valid`. A revoked ancestor now invalidates the leaf *at the leaf*, where the verifier is actually looking — the seam is closed by relocating the assertion, not by widening the verifier's reach. The residual risk is the issuer's own honesty window: `max_age` bounds how stale the attestation may be, but an issuer that lies about ancestor status at attestation time is only caught by out-of-band audit. That is a governance control, not a protocol one — and it is the correct place to put it, because no verifier can observe a registry it cannot reach. ```python from dataclasses import dataclass from typing import Optional class ChainAttestationError(RuntimeError): """Raised when a delegation chain cannot be validated under the per-hop authoritative status invariant.""" pass @dataclass class Hop: issuer_did: str domain: str status_bit: Optional[int] # None => registry unreachable registry_snapshot_time: Optional[float] registry_ttl: float @dataclass class LeafCredential: issuer_did: str exp: float chain_attestation: Optional[dict] # {attested_at, max_age, hop_statuses} def validate_chain(leaf: LeafCredential, hops: list[Hop], now: float, require_attestation: bool = True) -> bool: # Rule 1: every hop must be checked against its authoritative registry. for i, hop in enumerate(hops): if hop.status_bit is None: raise ChainAttestationError( f"hop {i} ({hop.issuer_did}@{hop.domain}): registry unreachable; " f"fail-closed required, cannot assert validity" ) if hop.status_bit != 0: raise ChainAttestationError( f"hop {i} ({hop.issuer_did}@{hop.domain}): revoked (status_bit=1)" ) # Rule 2: cache age folds into effective expiry. if hop.registry_snapshot_time is not None: effective_exp = min(leaf.exp, hop.registry_snapshot_time + hop.registry_ttl) if now > effective_exp: raise ChainAttestationError( f"hop {i}: cached registry snapshot stale " f"(now={now:.0f} > effective_exp={effective_exp:.0f})" ) # Rule 3: leaf must carry a fresh whole-chain attestation. if require_attestation: att = leaf.chain_attestation if att is None: raise ChainAttestationError( "leaf credential lacks chainAttestation; verifier cannot " "assert ancestor status without trusting an unreachable registry" ) if att["attested_at"] + att["max_age"] < now: raise ChainAttestationError( f"chainAttestation stale: attested_at+max_age=" f"{att['attested_at'] + att['max_age']:.0f} < now={now:.0f}" ) if any(s != 0 for s in att["hop_statuses"]): raise ChainAttestationError( "chainAttestation reports a revoked ancestor hop" ) return True ```