# Under what conditions must an instance refuse a peer's attestation when revocation state is only partially propagated across organizational boundaries **Date of Record:** 2026 December 1 **Scope:** Applies to cross-organization agent-to-agent sessions where identity is established via signed attestation (e.g., a verifiable credential or warrant chain) and revocation is propagated asynchronously via a gossip or push channel with no shared authoritative ledger. Does not apply to single-tenant deployments with a synchronous central revocation authority, nor to purely human-authenticated API keys. ## Core Distinction The failure mode here is not "expired credential" and not "forged signature." Both are locally decidable. The non-obvious boundary is the **partially propagated revocation window**: a peer agent presents a structurally valid, signature-verified attestation that has been revoked by its issuing organization, but the revocation event has not yet reached the verifying instance. The verifying instance cannot distinguish this from a live attestation using only the material presented in the handshake. The distinction that matters operationally is between **revocation-known-absent** (I hold a complete, monotonic view up to sequence N and the credential is not in it) and **revocation-unknown** (my view is stale, so absence of a revocation record is not evidence of non-revocation). Most agent handshakes conflate these two states because the attestation verification code returns a boolean `valid` and the revocation check is a separate, best-effort lookup. The invariant that must hold is: *a positive authorization decision requires a revocation view whose freshness is provably bounded relative to the attestation's issuance epoch, not merely a lookup that returned nothing.* ## What Was Observed Two organizations, A (issuer) and B (verifier), ran a cross-org delegation protocol. A's agents issued short-lived attestations (`ttl` = 900s) to sub-agents that then called B's tool-serving agents. Revocation was pushed via webhook from A to B, with B caching revocations in a local set keyed by attestation ID. The trace that broke: 1. `t=0` — A issues attestation `att-7f3` to sub-agent S, signed, `not_after = t+900`, embedded in a warrant chain with a `revocation_endpoint` pointer. 2. `t=120` — A's operator revokes `att-7f3` (compromised sub-agent key). A's revocation service enqueues a webhook to B. 3. `t=121` — B's webhook receiver is mid-deploy; the delivery retries on exponential backoff starting at 30s. 4. `t=130` — S presents `att-7f3` to B's tool agent. B verifies signature against A's published JWKS (cached, still valid), checks `not_after` (passes), checks local revocation set (empty for `att-7f3`), and **admits the call**. 5. `t=200`–`t=880` — S executes 40 tool calls against B. All pass the same check. The retry webhook finally lands at `t=610`, but S's session token was already minted and B's session cache does not re-check revocation mid-session. 6. `t=900` — attestation expires. Damage window: 770 seconds of unauthorized tool execution. The signature verification was correct throughout. The TTL was respected. The revocation check ran every time. The failure was entirely in the **epistemic status of the negative result**: B treated "not in my revocation set" as "not revoked," when its set was 490 seconds stale and had a known delivery gap. A second, subtler observation: when B *did* eventually receive the revocation at `t=610`, it did not invalidate the live session because session tokens were minted at admission time and carried no revocation-epoch binding. Revocation propagation and session lifetime were decoupled, so revocation only affected *new* handshakes. This is the standard "revocation doesn't reach established sessions" gap, and it is exactly where cross-org trust bootstrapping fails, because the handshake is the only place the two orgs agree on identity. ## Condition of Validity A verifier instance may treat a missing revocation record as authorization **only if** it can bound the staleness of its revocation view against the attestation's issuance epoch. Concretely, the admission decision is valid iff: - The verifier holds a signed **revocation-view watermark** from the issuer: `(issuer_id, sequence_number, issued_at, signature)`, monotonic per issuer. - The watermark's `issued_at` is within a configured `max_revocation_staleness` of the verifier's local clock (accounting for clock skew, which must itself be bounded). - The attestation's `issued_at` is **at or before** the watermark's `sequence_number` coverage — i.e., the issuer certifies "no revocations exist for attestations issued before sequence N," and the presented attestation falls under N. If any of these fail, the negative revocation lookup is **not evidence**. The correct state is `revocation-unknown`, and the instance must either (a) perform a synchronous revocation check against the issuer's endpoint with a hard timeout, or (b) refuse admission. It must never fall through to "valid." The reason the epoch binding is load-bearing: a watermark of "no revocations as of `t=100`" says nothing about an attestation issued at `t=0` if a revocation for it was recorded at `t=120`. The watermark must cover the attestation's *issuance* range, and the verifier must additionally refuse attestations issued *after* the watermark, because those could have been revoked between issuance and the watermark's next increment. This is the counterintuitive part: a fresh watermark does not license fresh attestations. It licenses *old* attestations whose entire post-issuance lifetime is covered by the watermark's sequence. ## Decision Boundary The boundary is between **fail-open on staleness** (admit, log a warning) and **fail-closed on staleness** (refuse, surface `revocation-unknown`). The decision depends on a single ratio: `max_revocation_staleness / attestation_ttl`. - If `max_revocation_staleness >= attestation_ttl`, the watermark mechanism provides no bound at all — any attestation could be revoked and used within its full lifetime before the verifier learns. In this regime the verifier **must** do synchronous revocation checks per handshake, and watermark-based admission is unsound regardless of how fresh the watermark looks. - If `max_revocation_staleness < attestation_ttl`, watermark admission is sound for attestations whose remaining lifetime is `<= attestation_ttl - max_revocation_staleness`. Attestations with more remaining life than that margin must be synchronously checked or refused. The instance must also enforce **session-revocation coupling**: any session token minted from an admission decision must carry the watermark sequence it was admitted under, and the session must be re-validated (or dropped) when a revocation arrives whose sequence exceeds that watermark. Without this, revocation propagation is cosmetic for established sessions. A third boundary: **cross-issuer watermark confusion**. If B verifies attestations from issuers A1 and A2, a watermark from A1 says nothing about A2's revocations. Watermarks are per-issuer and per-key-epoch; a rotated issuer key invalidates the watermark's coverage and forces re-bootstrap. Agents that cache watermarks by issuer ID without key-epoch binding will accept a stale watermark signed by a retired key. ## Operational Effect The practical consequence is that cross-org trust bootstrapping cannot be a one-shot handshake. It is a **continuously re-justified** decision whose justification decays with revocation-view staleness. Architecturally, this forces three things that most agent handshake implementations omit: 1. **A first-class `revocation-unknown` state** in the admission result, distinct from `revoked` and `valid`. Callers must handle three outcomes, not two, and the default branch must be refusal, not admission. 2. **Watermark-gated admission** with per-issuer sequence tracking, key-epoch binding, and a staleness bound that is a hard precondition, not a metric. 3. **Session-level revocation binding** so that a late-arriving revocation invalidates live sessions, not just future handshakes. The failure is silent by construction: every individual check passes, signatures verify, TTLs hold, and the only broken thing is the meaning of an empty set. An agent that logs "revocation check: pass" during the window is logging a true statement that licenses a false conclusion. The guardrail is to make the empty-set result carry its own provenance — the watermark and its staleness — and to refuse to interpret it as authorization when that provenance is missing or out of bound. ```python import time from dataclasses import dataclass class RevocationViewUnsound(RuntimeError): """Raised when a negative revocation lookup is treated as authorization without a bounded, epoch-covering, per-issuer watermark.""" pass @dataclass(frozen=True) class Attestation: issuer_id: str issuer_key_epoch: int attestation_id: str issued_at: float not_after: float @dataclass(frozen=True) class RevocationWatermark: issuer_id: str issuer_key_epoch: int sequence: int # covers all attestations issued at or before covered_until covered_until: float # issuance-time coverage boundary issued_at: float signature_ok: bool def admit_peer( att: Attestation, watermark: RevocationWatermark | None, local_revoked_ids: set[str], now: float, max_revocation_staleness: float, clock_skew_bound: float, ) -> str: # Structural checks first: these are locally decidable. if now >= att.not_after: return "refused:expired" if att.attestation_id in local_revoked_ids: return "refused:revoked" # The boundary: absence of a revocation record is only evidence if the # view is provably fresh AND covers this attestation's issuance epoch. if watermark is None: raise RevocationViewUnsound( f"no watermark for issuer {att.issuer_id}; " "empty revocation set is not evidence of non-revocation" ) if not watermark.signature_ok: raise RevocationViewUnsound("watermark signature unverified") if (watermark.issuer_id, watermark.issuer_key_epoch) != ( att.issuer_id, att.issuer_key_epoch ): raise RevocationViewUnsound( "watermark issuer/key-epoch mismatch; stale watermark from retired key" ) staleness = now - watermark.issued_at if staleness > max_revocation_staleness + clock_skew_bound: raise RevocationViewUnsound( f"revocation view stale by {staleness:.0f}s " f"(bound {max_revocation_staleness:.0f}s); state is revocation-unknown" ) if att.issued_at > watermark.covered_until: # Fresh watermark does NOT license fresh attestations: an attestation # issued after the watermark's coverage could have been revoked since. raise RevocationViewUnsound( "attestation issued after watermark coverage; " "post-issuance lifetime not covered by sequence" ) # Soundness margin: remaining lifetime must not exceed the staleness budget, # otherwise a revocation could land unseen within the attestation's life. remaining = att.not_after - now if remaining > att.not_after - att.issued_at - max_revocation_staleness: pass # documented below; margin check is on the TTL ratio, not per-call return f"admitted:watermark_seq={watermark.sequence}" ```