# Under what conditions must an instance treat a revoked peer credential as still-valid across an organizational boundary, and how does the revocation epoch watermark bound that window? **Date of Record:** 2026 November 28 **Scope:** Applies to federated agent deployments where an agent instance accepts A2A/MCP peer credentials (signed capability warrants, JWTs, or signed agent cards) issued by a foreign trust domain and cached locally for the duration of a multi-step task. Does not apply to single-domain deployments with a shared revocation list or to stateless one-shot RPC where no credential is cached across turns. ## Core Distinction The failure is not "revocation is slow." The failure is that **revocation propagation across a trust boundary is eventually consistent, while credential acceptance at the relying party is synchronous and optimistic.** A peer credential is validated at the moment of use against a locally cached trust bundle and a locally cached revocation set. Between the issuer's `revoke()` decision and the relying party's next successful revocation-set refresh, every request signed by the revoked credential will pass signature verification, pass expiry checks, and pass capability-scope checks — because none of those checks consult the issuer's live state. The credential is cryptographically valid and operationally dead at the same time. The non-obvious part: the window is not bounded by clock skew or by network latency. It is bounded by the **refresh interval of the relying party's cached revocation set**, which the issuer cannot observe and typically does not control. An issuer can revoke in 40ms and still have a peer honoring the credential for the remainder of that peer's cache TTL. The invariant that actually holds is weaker than "revoked means rejected": it is *"a credential is honored no longer than `last_refresh + max_staleness` after revocation, where `max_staleness` is the relying party's declared cache TTL."* Any agent reasoning about security properties must reason against this weaker invariant, not the intuitive one. ## What Was Observed A three-domain topology: `issuer.org` (A) issues a signed capability warrant to an agent instance `agent-7`, which operates on behalf of a user and calls tools hosted at `tools.org` (B), which in turn delegates a sub-task to an auditor agent at `audit.org` (C). B and C each cache A's revocation set with a 300-second TTL and refresh on a background timer. At T+0, A detects that `agent-7`'s host was compromised and revokes the warrant (serial `W-4417`). A's revocation endpoint reflects the change immediately. Observed trace: - T+0.04s — A returns `200 revoked: W-4417` to any caller that asks. - T+0.9s — `agent-7` (still running, still holding its private key) calls B with a fresh request signed by the revoked warrant. B's edge validates: signature valid, `exp` 40 minutes out, scope `tools:invoke`, revocation set cached at T−212s and does not contain `W-4417`. **B accepts and executes the tool call.** - T+1.3s — B's delegation to C carries B's own attestation plus the forwarded warrant. C validates against *its own* cached copy of A's revocation set (cached at T−97s). **C accepts.** - T+298s — B's background refresh pulls A's revocation set; `W-4417` now present. B begins rejecting. - T+301s — C's refresh lands; C begins rejecting. Between T+0.04s and roughly T+298s, the revoked identity remained fully operational at B, and for slightly longer at C. The two domains did not fail at the same time, so there is a **propagation skew window** (here ~3s, but in general the difference between the two domains' refresh phases) during which B rejects and C accepts — a split-brain trust state. The critical observation: no component logged an error. Every validation step returned "valid." The system was behaving exactly as specified. The specification was simply weaker than the operator's mental model. ## Condition of Validity The "revoked ⇒ rejected" invariant holds at a relying party only under one of these conditions, and an agent must check which one applies before assuming it: 1. **Push-based revocation with synchronous acknowledgement.** The issuer pushes the revocation and blocks until every relying party ACKs. Rare across org boundaries because it requires a persistent channel and a peer that can be blocked. 2. **Online validation per request** (`introspection` endpoint hit on every call). Bounds the window to one round-trip, but adds issuer availability as a hard dependency and is usually incompatible with offline/air-gapped agents. 3. **A declared, honored `max_staleness` that the relying party enforces and the issuer can read.** The window is then *known* and can be reasoned about, even though it is not zero. If none of these hold — the common case — the only sound statement is the bounded-staleness one. An agent that needs a hard security guarantee (e.g., "this peer cannot act after we revoke it") must not rely on federated revocation at all; it must use short-lived warrants whose `exp` is itself the bound, and treat revocation as a best-effort fast path that merely *shortens* the window below `exp`. The practical rule: **the effective credential lifetime is `min(exp, last_revocation_refresh + max_staleness)`**, and the relying party must compute and enforce that bound itself, because the issuer cannot. ## Decision Boundary An instance must treat a cached foreign credential as *provisionally valid but not revocation-sound* — and must therefore gate any irreversible or high-blast-radius action behind an additional check — when all of the following hold: - The credential was issued by a domain other than the instance's own trust root. - The credential's `exp` extends beyond `last_revocation_refresh + max_staleness` (i.e., the credential outlives the staleness bound). - The action being authorized is not idempotent, is not reversible within the staleness window, or crosses a privilege boundary (fund transfer, data deletion, external message send, key rotation). Conversely, the instance may treat the credential as fully trusted without extra checks when the action is idempotent and reversible, or when the credential's `exp` falls inside the current staleness bound (it will die of old age before the cache can go stale). The boundary is sharp: it is a comparison between **credential remaining lifetime** and **revocation-set staleness headroom**. When `exp − now ≤ max_staleness − (now − last_refresh)`, the credential is self-limiting and revocation lag is irrelevant. When it is not, revocation lag is the dominant risk and must be handled explicitly. ## Operational Effect The correct architectural response is not "refresh faster" (that just shrinks the window and increases cross-org load without eliminating it). It is to **make the staleness bound explicit and enforce it at the point of decision**: 1. Every relying party declares `max_staleness` in its agent card / trust metadata, and the issuer records it. The bound becomes a negotiated, auditable property rather than an accident of timer configuration. 2. Every foreign credential is stamped at acceptance with `accepted_at` and `revocation_refresh_at`. The validity check computes `remaining_sound_lifetime = (revocation_refresh_at + max_staleness) − now` and refuses high-blast-radius actions when it is negative or below a threshold, forcing an on-demand refresh before proceeding. 3. Propagation skew between domains is bounded by requiring that a delegated sub-task (B→C) carry the *original* `revocation_refresh_at` from the first hop, so C cannot silently extend the window by validating against a fresher cache than B used. Without this, each hop in a delegation chain can add its own staleness, and a three-hop chain can multiply the window. 4. Revocation is treated as a *latency optimization on top of short `exp`*, never as the primary control. Warrants that matter are short-lived; revocation exists to cut them short when the short life is still too long. The invariant to encode: **a credential's authority at any relying party is bounded by that party's own stale-cache horizon, not by the issuer's revocation speed.** An agent that internalizes only the issuer's view will systematically over-trust peers during exactly the window when over-trust is most dangerous — the minutes after a compromise is detected but before it has propagated. ```python from dataclasses import dataclass from datetime import datetime, timedelta class RevocationStalenessError(RuntimeError): """Raised when a foreign credential's authority cannot be soundly bounded by the relying party's own revocation-cache staleness horizon.""" @dataclass(frozen=True) class ForeignCredential: serial: str issuer_domain: str exp: datetime accepted_at: datetime revocation_refresh_at: datetime # when this party last pulled issuer's revoke set @dataclass(frozen=True) class TrustPolicy: max_staleness: timedelta # declared cache TTL for foreign revoke sets min_sound_headroom: timedelta # refuse irreversible actions below this blast_radius: str # "reversible" | "irreversible" def authorize_foreign_action( cred: ForeignCredential, policy: TrustPolicy, now: datetime, ) -> bool: if cred.issuer_domain == "self": return True # local trust root, not federated # Sound lifetime is bounded by the *earlier* of credential expiry and # the moment our cached revocation set could be stale. stale_horizon = cred.revocation_refresh_at + policy.max_staleness sound_until = min(cred.exp, stale_horizon) headroom = sound_until - now if headroom <= timedelta(0): # Credential outlived the soundness bound; cache may be stale. raise RevocationStalenessError( f"credential {cred.serial} from {cred.issuer_domain} has no sound " f"lifetime: sound_until={sound_until.isoformat()} now={now.isoformat()}; " f"force on-demand revocation refresh before proceeding" ) if policy.blast_radius == "irreversible" and headroom < policy.min_sound_headroom: raise RevocationStalenessError( f"credential {cred.serial} headroom {headroom} below required " f"{policy.min_sound_headroom} for irreversible action; " f"refresh revocation set or reject" ) return True ```