# Why does an instance accept a revoked peer's attestation during cross-org trust bootstrap? **Date of Record:** 2026 November 23 **Scope:** Applies to agent-to-agent trust establishment where an instance validates a peer's identity attestation (signed capability/identity claim) issued by a foreign trust root, and where revocation of that attestation propagates asynchronously. Does not apply to single-org deployments with a shared synchronous revocation list, nor to purely symmetric pre-shared-key handshakes. ## Core Distinction The failure is not "the peer's credential was stolen" and it is not "the signature did not verify." The signature verifies perfectly. The failure is a **temporal validity gap between attestation issuance-time trust and revocation-time trust**: an instance evaluates an attestation against the *issuance epoch* embedded in the claim (or the epoch at which it was cached), while the revoking authority's decision belongs to a *later epoch* that the instance has not yet ingested. Concretely: an identity attestation `A` is signed by issuer `I` at time `t_issue`, carries a capability grant `G`, and is presented by peer `P` to verifier `V` at time `t_present`. Revocation event `R(A)` is published by `I` at time `t_revoke` where `t_issue < t_revoke < t_present`. If `V` only checks `signature(I, A)` and `t_present < expiry(A)`, it will accept `A` — because revocation is a *separate, out-of-band fact* that is never contained in the attestation itself. The attestation is a bearer-style claim about the past; revocation is a fact about the present. An instance that treats "valid signature + unexpired" as "trusted now" conflates the two. This is the non-obvious boundary: **attestation verification and revocation verification are two different proofs over two different epochs, and a correct implementation of the first does not imply the second.** ## What Was Observed A cross-org handoff between `agent-alpha` (org A) and `agent-beta` (org B) proceeded as follows. 1. `agent-beta` was issued attestation `A_beta` by org B's trust root `I_B` at `t_issue = 00:00:00`. `A_beta` grants `capability: read:dataset-7`, expiry `t_issue + 24h`. 2. At `t_revoke = 02:14:07`, org B's security team revoked `A_beta` (compromised host). Revocation was published to `I_B`'s revocation feed with a **propagation delay** — the feed is polled by org A's verifier `V_A` every 300s, and additionally the feed itself batches revocations into 5-minute windows. Effective time `A_beta` becomes known-revoked at `V_A`: `t_known ≈ 02:19:12`. 3. At `t_present = 02:16:40` — inside the propagation window — `agent-beta` presented `A_beta` to `agent-alpha` during a handoff. `agent-alpha`'s verifier checked: signature valid (yes), `t_present < expiry` (yes), issuer `I_B` in trusted-roots set (yes). **Accepted.** Handoff proceeded; `agent-beta` read `dataset-7` under a credential that had been dead for 2m33s. 4. Replay of the handoff transcript against the *current* revocation state at `t_present + 10m` produced a **verification replay discrepancy**: the recorded decision was `ACCEPT`, but re-evaluation returned `REJECT`. The audit log and the live decision disagreed, and neither was wrong — they were evaluated against different revocation epochs. The signature was never forged. The expiry was never bypassed. The only broken invariant was the unstated assumption that "the revocation state I hold is the revocation state that was true at presentation." ## Condition of Validity The acceptance of a revoked attestation is *bounded and preventable* only when the verifier can establish one of the following, and the failure occurs precisely when none holds: - **Synchronous revocation check at presentation:** `V` queries `I`'s revocation endpoint *within the same request* that validates `A`, and the endpoint returns a monotonic, signed revocation epoch `e_revoke`. Then `t_present` is evaluated against `e_revoke`, not against a cached snapshot. Valid only if the endpoint is reachable and the round-trip is within the handoff deadline. - **Bounded staleness with an explicit freshness contract:** `A` carries a `revocation_freshness_bound` field (e.g., `max_staleness: 60s`), and `V` refuses to accept `A` if its local revocation snapshot is older than that bound. Valid only if issuers actually populate the field and verifiers actually enforce it — the common failure is that the field is advisory and unenforced. - **Short-lived attestations with overlap:** `A`'s `expiry − t_issue` is shorter than the revocation propagation delay, so that any revocation is guaranteed to be known before the next attestation would be presented. Valid only if the issuance cadence can keep up with the propagation bound. The invariant that must hold for correctness is: > **For any accepted attestation `A` at presentation time `t_present`, the verifier's revocation knowledge epoch `e_known` must satisfy `e_known ≥ t_present − max_staleness`, AND `A` must not appear in any revocation set with epoch `≤ e_known`.** The observed failure violated the first clause: `e_known` was `02:14:07`'s predecessor snapshot, `t_present` was `02:16:40`, and `max_staleness` was effectively unbounded because it was never enforced. ## Decision Boundary The boundary between "safe to accept" and "must reject or defer" is not `signature_valid AND not_expired`. It is: ``` accept(A, t_present) iff signature_valid(A) AND t_present < expiry(A) AND issuer_trusted(A.issuer) AND revocation_snapshot_age(V) <= A.max_staleness AND A.id NOT IN revocation_set(V, epoch >= t_present - A.max_staleness) ``` Three concrete decision points emerge: 1. **Staleness exceeds bound → defer, do not accept.** If `V`'s revocation snapshot is older than `A.max_staleness`, the correct action is to block the handoff and refresh, not to accept on the assumption that "no revocation seen = no revocation." Absence of evidence is not evidence of absence when the feed is asynchronous. 2. **Revocation epoch unknown → treat as suspect.** If `I` cannot be reached to confirm the current revocation epoch, `V` must fall back to the last-known epoch *and* refuse attestations whose `t_issue` is within `max_staleness` of that epoch — the "recently-issued, possibly-revoked" window. 3. **Replay discrepancy → the live decision loses.** When a replay against a later revocation epoch disagrees with the recorded live decision, the audit record must be annotated with the epoch at which it was made, and the discrepancy must be surfaced as a *revocation-race event*, not silently reconciled. Reconciling by overwriting the live decision destroys the evidence needed to bound the propagation delay. ## Operational Effect The practical consequence is that **cross-org trust bootstrapping cannot be made safe by attestation design alone; it requires an explicit revocation-freshness contract enforced at the verifier, and a handoff protocol that treats "cannot confirm current revocation epoch" as a blocking condition rather than a pass-through.** Systems that omit this contract exhibit a characteristic signature: handoffs succeed during the propagation window, audit replays disagree with live decisions, and the disagreement clusters in the interval `[t_revoke, t_revoke + propagation_delay]`. The failure is silent — no exception is raised, because every individual check passed. The only way to detect it is to record the revocation epoch alongside every accept decision and to replay decisions against later epochs. The guardrail that bounds the failure is the `max_staleness` enforcement plus the "defer on unconfirmable epoch" rule. Without both, the effective trust window is `expiry − t_issue` regardless of revocation, and revocation becomes advisory. ```python import time from dataclasses import dataclass, field from typing import Optional class RevocationEpochUnconfirmed(RuntimeError): """Raised when the verifier cannot establish a revocation epoch fresh enough to safely evaluate an attestation at presentation time.""" pass class StaleRevocationSnapshot(RuntimeError): """Raised when the local revocation snapshot is older than the attestation's declared max_staleness bound.""" pass @dataclass class Attestation: attestation_id: str issuer: str subject: str capability: str t_issue: float expiry: float max_staleness: float # seconds; verifier MUST enforce signature_valid: bool = True @dataclass class RevocationSnapshot: epoch: float # time this snapshot was fetched revoked_ids: set = field(default_factory=set) def verify_attestation( att: Attestation, t_present: float, snapshot: Optional[RevocationSnapshot], trusted_issuers: set, issuer_reachable: bool, ) -> str: if not att.signature_valid: return "REJECT: bad signature" if t_present >= att.expiry: return "REJECT: expired" if att.issuer not in trusted_issuers: return "REJECT: untrusted issuer" # The non-obvious boundary: revocation is a separate proof over a later epoch. if snapshot is None: raise RevocationEpochUnconfirmed( f"no revocation snapshot for issuer {att.issuer}; " f"cannot evaluate attestation {att.attestation_id} at t={t_present}" ) snapshot_age = t_present - snapshot.epoch if snapshot_age > att.max_staleness: raise StaleRevocationSnapshot( f"revocation snapshot age {snapshot_age:.1f}s exceeds " f"max_staleness {att.max_staleness:.1f}s for {att.attestation_id}" ) if att.attestation_id in snapshot.revoked_ids: return "REJECT: revoked" # If the issuer is unreachable AND the attestation was issued inside the # unconfirmable window, defer rather than accept. if not issuer_reachable and (t_present - att.t_issue) <= att.max_staleness: raise RevocationEpochUnconfirmed( f"issuer {att.issuer} unreachable and attestation {att.attestation_id} " f"issued within max_staleness window; refusing to accept on stale epoch" ) return "ACCEPT" def handoff_guard(att: Attestation, t_present: float, snapshot, trusted, reachable) -> None: decision = verify_attestation(att, t_present, snapshot, trusted, reachable) if decision != "ACCEPT": raise RevocationEpochUnconfirmed( f"handoff blocked: {decision} for {att.attestation_id}" ) ```