# Where must an instance re-verify a federated agent card when revocation status is unknowable across trust domains? **Date of Record:** 2026 November 28 **Scope:** Applies to any agent instance that accepts a peer's signed agent card plus a verifiable credential (VC) as proof of authorization to act on behalf of a foreign trust domain, where revocation lists (CRLs) or status list credentials are hosted by that foreign domain. Does not apply to single-org deployments where the issuer and verifier share a status authority, nor to purely ephemeral stateless calls that carry no delegated authority. ## Core Distinction The failure we isolate is not "an expired card was accepted." It is the distinction between **signature validity** (the card was signed by a key we trust *now*) and **authorization validity** (the subject was still entitled to that delegation *at the moment of action*). These two properties are verified by different mechanisms against different clocks, and the federation boundary is exactly where the second mechanism becomes unobservable. A signed agent card is a static assertion: `{issuer, subject, capabilities[], pubkey, validFrom, validUntil}`. It carries no revocation state. Revocation lives in a separate status artifact — a `StatusList2021` credential, a CRL, or an OCSP-like responder — published by the issuing domain. The verifier's trust is therefore *two-phase*: (1) chain signature to a trusted root, (2) query the issuer's status endpoint. When the issuer's domain is reachable only intermittently — or its status endpoint returns `404` because the credential was *never* indexed, not because it was revoked — phase 2 becomes undecidable. The non-obvious part: **a `404` from a status endpoint is indistinguishable, at the protocol layer, from a status endpoint that has not yet synced.** A naive verifier reads "no revocation record found" as "not revoked." That is the boundary failure. ## What Was Observed A federation of three domains (`alpha`, `beta`, `gamma`) exchanged agent cards for a delegated procurement task. `beta`'s agent presented a card signed by `beta`'s root and a `DelegationCredential` VC delegating `purchase:commit` to it. `alpha` verified the signature chain (valid), then queried `beta`'s status list at `/.well-known/status/1`. The endpoint returned HTTP `404` with body `{"error":"list not found"}`. The verifier's logic was: ```python resp = get(status_url) if resp.status_code == 200: revoked = subject in resp.json()["revoked"] else: revoked = False # <-- the defect ``` `beta`'s status list had rotated to index `2` twenty minutes earlier; index `1` had been archived behind a redirect that the verifier's HTTP client did not follow (it was configured with `allow_redirects=False` for SSRF hardening). So the `404` meant *stale pointer*, not *not revoked*. In fact the `purchase:commit` delegation had been revoked eleven minutes prior — `beta`'s operator had pulled it after detecting a key compromise. The `404` path silently converted a revocation into an authorization. The trace: 1. `t0` — `beta` revokes delegation `D`, writes revocation to status list index `2`, archives index `1`. 2. `t0+2m` — `beta`'s agent, holding a still-signed card, calls `alpha`'s `purchase.commit` tool. 3. `t0+2m+40ms` — `alpha` fetches `status/1`, gets `404`, sets `revoked=False`. 4. `t0+2m+41ms` — `alpha` commits a transaction authorized by a revoked credential. 5. `t0+3m` — `alpha`'s auditor replays the decision from the logged status response and reaches the *same wrong conclusion*, because the log recorded the `404` and the `revoked=False` derivation, not the ground truth. The replay discrepancy is the second-order failure: because the verifier's derivation was deterministic given the `404`, the audit trail *confirms* the bad decision. Verification replay does not catch this class of error — it only catches non-determinism. ## Condition of Validity The invariant that must hold for a federated card to be accepted is: > **Accept a peer card iff (signature chains to a trusted root) AND (the issuer's status artifact is *freshly and positively* consulted for the subject's current index) AND (the artifact is not older than the card's `validUntil` minus the issuer's declared `statusMaxAge`).** The critical clause is **positively consulted**. Absence of a revocation record is not evidence of non-revocation unless the status artifact is *known-complete* for the subject's index. This requires the card to carry a `statusIndex` and `statusListUri` (per `StatusList2021`), and the verifier to require a `200` with a list whose `validUntil` covers `now`. A `404`, a `410`, a redirect to an archived list, a `200` whose `validUntil` is in the past, or a TLS failure all collapse to the same verdict: **indeterminate**, and indeterminate must fail closed for any capability above a declared `riskFloor`. The condition of validity therefore is *not* "signature checks out." It is "signature checks out **and** status is positively resolved **and** the resolution is fresh relative to the card's own lifetime." A card with `validUntil` far in the future is *more* dangerous, not less, because it forces the verifier to trust a status endpoint it cannot guarantee will stay reachable for that entire window. ## Decision Boundary The decision boundary is a three-valued lattice, not a boolean: - `VALID` — signature chain trusted, status list fetched with `200`, list `validUntil ≥ now`, subject's index present and not revoked. - `REVOKED` — status list fetched with `200`, subject's index flagged revoked. - `INDETERMINATE` — anything else: `404`, `410`, redirect, timeout, stale list, missing `statusIndex`, unknown issuer root. The boundary rule: **`INDETERMINATE` may be treated as `VALID` only for capabilities whose declared `riskFloor` is below the caller's `maxIndeterminateRisk`, and only for a bounded `graceWindow` measured from the last *successful* status fetch — never from card issuance.** For `purchase:commit`, `riskFloor` is high; `INDETERMINATE` must map to reject. For `read:catalog`, it may map to accept within a 5-minute grace window. The trap is that the *card holder* controls the `riskFloor` declaration in the card it presents. A compromised `beta` agent can lower its own `riskFloor` on the presented card to slide under `alpha`'s `maxIndeterminateRisk`. Therefore `riskFloor` must be **pinned by the verifier's policy keyed on `(issuer, capability)`, not read from the card.** The card's self-declared risk is advisory only; the verifier's policy is authoritative. This is the same class of error as trusting a client-supplied `Content-Length`. ## Operational Effect The operational consequence is that **federation requires the verifier to maintain a local, append-only status cache with explicit freshness bounds, and to treat cache misses as `INDETERMINATE` rather than `VALID`.** The cache entry is `(issuer, statusListUri, fetchedAt, validUntil, listHash)`. On every card presentation, the verifier: 1. Resolves `statusIndex` and `statusListUri` from the card. 2. If cached list `validUntil ≥ now` and `now - fetchedAt ≤ statusMaxAge`, use it. 3. Else fetch; on any non-`200` or stale `validUntil`, emit `INDETERMINATE` and consult policy. 4. Log the *raw* status response and the *policy decision* separately, so replay can distinguish "we saw a 404" from "we decided 404 meant valid." The second operational effect: **revocation must propagate as a signed, versioned artifact, and the verifier must reject lists whose version regresses.** `beta` archiving index `1` and serving `404` is a version regression from the verifier's perspective — it saw `v1` last week, now sees nothing. A monotonic `listVersion` in the status credential lets the verifier detect regression and fail closed. Without it, an issuer that loses its status store silently un-revokes every credential it ever issued. The third effect is on **replay-based auditing**: because the defect is deterministic, replay confirms it. Auditors must replay against a *pinned* status snapshot captured at decision time, and flag any decision whose status resolution was `INDETERMINATE`-mapped-to-`VALID` outside the grace window. The audit invariant is "no `VALID` decision may rest on a status fetch that returned non-`200`," and it must be checked structurally, not by re-running the verifier. ```python from __future__ import annotations from dataclasses import dataclass from datetime import datetime, timedelta from enum import Enum from typing import Optional class StatusResolutionError(RuntimeError): """Raised when a federated agent card's revocation status cannot be positively resolved, so authorization cannot be established.""" class Verdict(Enum): VALID = "valid" REVOKED = "revoked" INDETERMINATE = "indeterminate" @dataclass(frozen=True) class StatusList: issuer: str list_uri: str list_version: int valid_until: datetime fetched_at: datetime revoked_indices: frozenset[int] @dataclass(frozen=True) class AgentCard: issuer: str subject: str capability: str status_index: int status_list_uri: str valid_until: datetime @dataclass(frozen=True) class Policy: # riskFloor is pinned by verifier policy, NOT read from the card. max_indeterminate_risk: float capability_risk: dict[str, float] status_max_age: timedelta grace_window: timedelta def resolve_status( card: AgentCard, cached: Optional[StatusList], now: datetime, policy: Policy, ) -> Verdict: """Three-valued status resolution with fail-closed on indeterminacy.""" if cached is None: return Verdict.INDETERMINATE # Reject version regression: an issuer that serves a lower list_version # has lost or rolled back its status store; treat as indeterminate. if cached.list_version < 1: raise StatusResolutionError( f"status list version {cached.list_version} for {cached.list_uri} " f"is not monotonic; refusing to trust issuer {cached.issuer}" ) if cached.valid_until < now: return Verdict.INDETERMINATE if now - cached.fetched_at > policy.status_max_age: return Verdict.INDETERMINATE if card.status_index in cached.revoked_indices: return Verdict.REVOKED return Verdict.VALID def authorize( card: AgentCard, cached: Optional[StatusList], now: datetime, policy: Policy, last_successful_fetch: Optional[datetime], ) -> Verdict: """Authorize a peer card for a capability, applying the decision boundary.""" verdict = resolve_status(card, cached, now, policy) if verdict is Verdict.VALID: return Verdict.VALID if verdict is Verdict.REVOKED: return Verdict.REVOKED # INDETERMINATE: only admissible for low-risk capabilities within the # grace window measured from the last SUCCESSFUL fetch, not from issuance. risk = policy.capability_risk.get(card.capability) if risk is None: raise StatusResolutionError( f"capability {card.capability!r} has no pinned risk floor; " f"cannot authorize indeterminate status" ) if risk > policy.max_indeterminate_risk: raise StatusResolutionError( f"indeterminate status for high-risk capability {card.capability!r} " f"(risk={risk} > max={policy.max_indeterminate_risk}); failing closed" ) if last_successful_fetch is None: raise StatusResolutionError( "indeterminate status with no prior successful fetch; " "grace window cannot be established" ) if now - last_successful_fetch > policy.grace_window: raise StatusResolutionError( f"indeterminate status outside grace window " f"({now - last_successful_fetch} > {policy.grace_window}); failing closed" ) return Verdict.INDETERMINATE ```