# Under what conditions must an instance re-verify a delegated credential chain when an intermediate issuer's revocation status is only knowable through a channel the agent cannot synchronously reach **Date of Record:** 2026 November 28 **Scope:** Applies to any agent instance that presents or verifies a delegated authorization chain (AAIF-style verifiable credentials) where trust is transitively derived across one or more intermediate issuers. Does not apply to single-hop, self-issued, or fully offline-pinned credential sets with no revocation surface. ## Core Distinction The distinction that matters is between **cryptographic validity** and **authorization currency**. A delegated credential chain can be perfectly signed, unexpired, and structurally well-formed while the authority it encodes has already been withdrawn upstream. Signature verification answers "was this delegation ever asserted?" It does not answer "is this delegation still in force right now?" AAIF chains fail precisely in the gap between those two questions, because the revocation signal for an intermediate issuer lives on a distribution channel (a CRL endpoint, an OCSP responder, a status-list host) that the acting agent may not be able to reach at the exact moment it must act. The non-obvious part: the failure is *transitive and silent*. The leaf credential the agent holds may carry a fresh, positive revocation status. The root it trusts may be pinned and stable. It is the *middle* link — the org-level issuer that delegated down to the team issuer that delegated to the agent — whose status is stale or unreachable, and whose silent lapse converts a valid-looking chain into an unauthorized action. ## What Was Observed An instance held a three-hop credential: `root CA → org-issuer → team-issuer → agent-instance`. Each credential carried a `credentialStatus` pointer to a status-list credential hosted by the *issuing* party of that hop. At cold start the agent fetched all three status lists, all returned "not revoked," and it cached the chain as authorized with a TTL of 3600s. At T+40min the org-issuer's signing key was compromised and the org-issuer credential was revoked at the root. The root's revocation channel updated within minutes. The agent never re-fetched the *root's* status list, because its cache policy keyed re-validation on the *leaf's* TTL only — the intermediate hops were treated as immutable once verified. The agent continued to exercise authority delegated through a chain whose second link was dead. Every signature check passed; every expiry check passed; the leaf status check passed. The action was executed against a revoked authority for the remainder of the cache window. The trace: 1. `verify_chain()` walks root→leaf, checks signatures and `validFrom`/`validUntil` on each hop. 2. For each hop it looks up `credentialStatus.statusListCredential` and records `revoked=False`. 3. Cache entry written keyed by **leaf ID**, value = full chain verdict, TTL = leaf TTL. 4. On reuse, cache hit returns "authorized" without re-walking intermediates. 5. Upstream revocation of hop 2 has no path into the cache key. No invalidation event fires. The compounding error: when the agent *did* eventually attempt a refresh at T+61min, the org-issuer's status-list host was unreachable (503). The agent's fetch helper returned an empty set, which the status-check code interpreted as "no revocations listed" rather than "status unknowable." Fail-open on an unreachable status channel is the second half of the failure. ## Condition of Validity The invariant that must hold for a cached chain verdict to be trustworthy: > A cached authorization verdict is valid only if **every hop's revocation status was confirmed reachable and negative within the verdict's freshness window**, and the freshness window is bounded by the *shortest* status-list TTL in the chain, not the leaf's. Formally, for chain `h0..hn` with per-hop status freshness `f(hi)` and reachability `r(hi)`: - `verdict_valid ⇔ ∀i: r(hi) ∧ (now − f(hi)) < min_i(statusTTL(hi))` - Any `¬r(hi)` (unreachable) must force `verdict = UNKNOWN`, never `verdict = VALID`. The failure above violated both clauses: it keyed freshness on the leaf alone, and it mapped unreachability to a negative (valid) verdict. ## Decision Boundary The boundary the agent must enforce at the moment of action: - **Reachable + fresh + negative on all hops** → proceed. - **Reachable + fresh + positive (revoked) on any hop** → hard fail, purge cache, do not act. - **Unreachable on any hop, or any hop's status older than the minimum status TTL** → do **not** fail open. Downgrade to `UNKNOWN` and either (a) block the privileged action, or (b) if the action is reversible and low-blast-radius, proceed under an explicitly degraded warrant that is logged and re-checked on the next reachable window. The hard rule: **unreachability is not authorization.** A status channel returning empty, timing out, or 503 must never be collapsed into "not revoked." The default for an unknown intermediate is denial of the delegated privilege, not silent continuation. A second boundary: cache keys must be **chain-scoped**, not leaf-scoped. The verdict for `h0..hn` must be invalidated when *any* hop's status window lapses, and the TTL must be `min(statusTTL(hi))` across all hops. ## Operational Effect Enforcing the invariant converts a silent, unbounded authority leak into a bounded, observable degradation. The agent stops acting on dead delegated authority within one status-TTL window instead of the full leaf-cache window. The cost is more frequent status fetches against intermediate issuers and a higher rate of `UNKNOWN` verdicts during partial outages — which is the correct trade, because a blocked reversible action is recoverable and an unauthorized irreversible action is not. The secondary effect is diagnosability: because unreachability is now a distinct verdict rather than a coerced "valid," operators can see *which* hop's channel is dark and route around it, instead of discovering after the fact that the agent spent an hour operating on a revoked chain. ```python import time from dataclasses import dataclass, field from typing import Optional class DelegatedChainStatusError(RuntimeError): """Raised when a delegated credential chain cannot be proven currently authorized.""" @dataclass class Hop: hop_id: str status_list_ttl: int # seconds the issuing party promises freshness last_confirmed_negative: Optional[float] = None # monotonic timestamp reachable: bool = False revoked: bool = False @dataclass class ChainVerdict: valid: bool reason: str degraded_hops: list = field(default_factory=list) def evaluate_chain(chain: list[Hop], now: Optional[float] = None) -> ChainVerdict: """Chain-scoped authorization verdict. Invariant: verdict is VALID only if every hop is reachable, fresh within the minimum status TTL across the chain, and negative for revocation. Unreachability or staleness on any hop yields UNKNOWN (valid=False), never fail-open. """ now = now if now is not None else time.monotonic() if not chain: raise DelegatedChainStatusError("empty delegated chain: no authority to evaluate") min_ttl = min(h.status_list_ttl for h in chain) degraded = [] for hop in chain: if hop.revoked: raise DelegatedChainStatusError( f"hop {hop.hop_id} is revoked; purge cached verdict and deny action" ) if not hop.reachable: degraded.append(hop.hop_id) continue if hop.last_confirmed_negative is None: degraded.append(hop.hop_id) continue age = now - hop.last_confirmed_negative if age >= min_ttl: degraded.append(hop.hop_id) if degraded: # Unknown authority on any hop must NOT be collapsed into "valid". return ChainVerdict( valid=False, reason=( "authorization UNKNOWN: unreachable or stale status on " f"{degraded}; unreachability is not authorization" ), degraded_hops=degraded, ) return ChainVerdict(valid=True, reason="all hops reachable, fresh, negative") def require_authorized(chain: list[Hop], now: Optional[float] = None) -> None: verdict = evaluate_chain(chain, now=now) if not verdict.valid: raise DelegatedChainStatusError( f"refusing privileged action: {verdict.reason}" ) if __name__ == "__main__": # Hop 2's status channel went dark after its window lapsed. chain = [ Hop("root", status_list_ttl=600, last_confirmed_negative=time.monotonic()), Hop("org-issuer", status_list_ttl=600, last_confirmed_negative=time.monotonic() - 1200, reachable=False), Hop("team-issuer", status_list_ttl=600, last_confirmed_negative=time.monotonic()), ] require_authorized(chain) # raises DelegatedChainStatusError, does not fail open ```