# What structural signals indicate a DID-bound agent passport has silently outlived its revocation entry: split-view anchoring across transparency logs **Date of Record:** 2026 November 23 **Scope:** Applies to cross-organization agent-to-agent (A2A) handoffs where the receiving agent verifies the initiator's DID-bound passport against a transparency log (Merkle-tree-based revocation registry) before accepting a warrant. Does not apply to single-org deployments with a shared, synchronously-consistent revocation store, nor to purely symmetric-key authentication without a DID anchor. ## Core Distinction There are two structurally different meanings of "the passport is valid," and conflating them is the failure mode this record isolates: 1. **Signature validity** — the passport's `proof` verifies against the DID document's current verification method, and the passport's `exp` has not passed. 2. **Revocation non-inclusion** — the passport's *issuance event* and its current *status* are consistent with the log head that the verifier independently anchored. A DID-bound agent passport can pass (1) indefinitely while failing (2) in a way that produces no error at the verifier. The non-obvious boundary: **a revocation transparency log is only as fresh as the log head the verifier last anchored, and a passport is only as trustworthy as the *inclusion proof for its issuance* being checked against the *same head* as its non-inclusion proof.** If the verifier checks non-inclusion against a stale head (or a head from a *different* log instance the issuer operates), a revoked passport appears live. This is a split-view anchoring failure, not a signature failure, and it is invisible to every check that only looks at the passport document. ## What Was Observed An orchestrator agent `O` (Org A) delegated a long-running reconciliation task to worker agent `W` (Org B). `W`'s passport carried a DID `did:web:orgb.example:agents:reconciler-7`, an `iss` of Org B's issuer service, and a `status` pointer to Org B's transparency log `log.orgb.example`. The handoff was accepted at 09:14. At 11:40 Org B's security team revoked `reconciler-7` after detecting a leaked signing key; the revocation entry was committed to the log at 11:52 with an inclusion proof at tree size `N=41,208`. `O` continued to accept `W`'s warrants until 14:30. The verification trace showed why: - `O` cached the log's **signed tree head (STH)** at first contact (09:14, tree size `N=40,102`) and reused it for all subsequent `W` handoffs under a "trust-on-first-anchor" optimization to avoid per-handoff STH fetches. - `O`'s non-inclusion check for `reconciler-7` ran against the cached STH. At `N=40,102`, `reconciler-7` was genuinely not revoked — the revocation didn't exist yet. The check returned `valid: true` with a *correct* proof. No error, no warning. - `O` never fetched a fresh STH because the passport's `exp` was 6 hours out and the signature still verified (the leaked key still produced valid signatures — that is precisely what revocation is for). - Org B's log *did* publish a new STH and a consistency proof from `N=40,102` to `N=41,208`, but `O` had no rule requiring it to consume consistency proofs, only inclusion/non-inclusion proofs. The failure was not that `O` trusted a bad proof. Every proof `O` checked was cryptographically valid. The failure was that `O`'s **anchor was frozen** while the issuer's **log advanced**, and the passport's own fields gave no signal that the gap was widening. The revocation entry was "silently outlived" because the verifier's notion of "now" was pinned to a past tree size. A second, sharper variant appeared in a later incident: Org B ran two log instances behind a load balancer (`log-1`, `log-2`) during a migration. `W`'s passport `status` pointer resolved (via DNS round-robin) to whichever instance answered. `O` anchored to `log-1`'s STH; the revocation was committed to `log-2` first and gossiped to `log-1` only after a 40-minute replication lag. For 40 minutes, `O` held a *fresh* STH from `log-1` that legitimately did not include the revocation. Freshness of the anchor does not imply completeness of the log — a single log's STH is only authoritative for the entries that instance has ingested. This is the split-view condition proper. ## Condition of Validity The invariant that must hold for a passport to be safely accepted at time `t`: > Let `H_v(t)` be the STH the verifier has anchored at `t`, and `H_i(t)` the STH the issuer's log has published at `t`. Acceptance requires: (a) `H_v(t)` is a *consistent descendant* of every previously anchored head `H_v(t')` for `t' < t` (proven via consistency proof, not asserted); (b) `H_v(t).size` is within a bounded staleness window `Δ` of `H_i(t).size`; and (c) the passport's issuance inclusion proof and its non-inclusion proof are both verified against the *same* `H_v(t)`, not against different heads captured at different times. The condition fails silently whenever any of these are violated but the individual proofs remain valid. Specifically: - **Stale-anchor failure:** `H_v(t) = H_v(t_0)` for `t >> t_0`. Non-inclusion is true-relative-to-past. Trigger: caching STH without a max-age tied to log growth rate. - **Split-view failure:** `H_v(t)` and `H_i(t)` are heads of *different* log instances that have not gossiped. Non-inclusion is true-relative-to-a-partition. Trigger: `status` pointer resolution to multiple backends without cross-instance consistency proof. - **Head-mixing failure:** inclusion proof for issuance checked against `H_v(t_1)` and non-inclusion checked against `H_v(t_2)`. The two proofs are each valid but describe different log states; the passport's status is undefined across the gap. Trigger: independent caching of inclusion and non-inclusion results. ## Decision Boundary The verifier must treat the following as **hard rejections**, not warnings, because each is a structural signal that the anchor is untrustworthy rather than that the passport is revoked: 1. **No consistency proof consumed since last anchor.** If the verifier cannot show `H_v(t)` descends from `H_v(t_prev)` via a verified consistency proof, the anchor is unproven and the passport must be re-anchored from a trusted checkpoint (e.g., a gossip-witnessed STH) before use. 2. **Staleness beyond `Δ`.** `Δ` must be derived from the log's observed commit cadence and the revocation SLA, not a fixed constant. A log committing every 15 minutes with a 1-hour revocation SLA yields `Δ ≈ 4` tree sizes; a log committing hourly yields `Δ ≈ 1`. Exceeding `Δ` is a rejection, not a cache miss to be silently retried against the same head. 3. **`status` pointer resolving to more than one log identity.** If the passport's status pointer can resolve to `log-1` and `log-2`, the verifier must require a *cross-instance consistency proof* or a single canonical log identity pinned in the DID document. Absent that, the passport is unverifiable across the partition and must be rejected for the duration of the migration. 4. **Inclusion and non-inclusion verified against different heads.** The verifier must bind both proofs to a single `(log_id, tree_size, root_hash)` tuple and reject if they differ. The boundary is: **a valid signature with a stale or split anchor is not "probably fine." It is a passport whose revocation status is *unknown*, and unknown must be treated as revoked for cross-org warrant propagation.** The cost asymmetry justifies this: a false rejection costs a retry; a false acceptance propagates a compromised agent's warrants into Org A's downstream tool calls. ## Operational Effect When the invariant is enforced, three operational behaviors change: - **Anchor freshness becomes a first-class handoff cost.** Each cross-org handoff now requires an STH fetch (or a gossip-witnessed head no older than `Δ`). Orchestrators that batched handoffs to amortize this must instead batch *within* `Δ`, or accept per-handoff fetch latency. In the incident above, per-handoff fetching would have added ~80ms and caught the revocation at 11:52 instead of 14:30. - **Log migration becomes a verifier-visible event.** Pinning a single canonical log identity in the DID document (and requiring cross-instance consistency proofs during migration) means Org B cannot silently run two logs; the split-view window is closed by construction. Verifiers that previously resolved `status` by DNS now must resolve by DID-document-declared log ID and reject on mismatch. - **Revocation latency is bounded by `Δ`, not by the issuer's gossip.** The 40-minute replication lag that produced the second incident is absorbed into `Δ`; if the issuer cannot commit-and-gossip within `Δ`, the verifier rejects rather than accepts a possibly-stale non-inclusion. This shifts the burden onto the issuer's log availability, which is the correct place for it. The residual risk is a verifier that consumes a *forged* consistency proof — but that requires breaking the log's signed-tree-head signature, which is outside this boundary. The boundary this record covers is the one that needs no cryptographic break: a verifier that anchors once and never re-validates descent. ```python import hashlib from dataclasses import dataclass from typing import Optional class StaleAnchorError(RuntimeError): """Raised when a passport's revocation status cannot be proven against a fresh, consistency-checked log head.""" pass @dataclass(frozen=True) class TreeHead: log_id: str tree_size: int root_hash: bytes @dataclass(frozen=True) class Passport: did: str status_log_id: str issuance_inclusion_ok: bool non_inclusion_ok: bool def verify_passport_anchor( passport: Passport, anchored_head: Optional[TreeHead], issuer_head: TreeHead, consistency_proven: bool, max_staleness: int, inclusion_head: Optional[TreeHead], non_inclusion_head: Optional[TreeHead], ) -> bool: # (a) anchor must be a proven descendant of the prior anchor if anchored_head is None or not consistency_proven: raise StaleAnchorError( f"no verified consistency proof to anchor for {passport.did}" ) # (c) inclusion and non-inclusion must bind to the same head if inclusion_head != non_inclusion_head: raise StaleAnchorError( f"head-mixing: inclusion and non-inclusion verified against " f"different heads for {passport.did}" ) if anchored_head != inclusion_head: raise StaleAnchorError( f"proofs not bound to anchored head for {passport.did}" ) # log identity must match the passport's declared status log if anchored_head.log_id != passport.status_log_id: raise StaleAnchorError( f"split-view: anchored to {anchored_head.log_id}, passport " f"declares {passport.status_log_id}" ) # (b) staleness bounded relative to issuer's published head if issuer_head.log_id != anchored_head.log_id: raise StaleAnchorError( f"issuer head on different log instance for {passport.did}" ) if issuer_head.tree_size - anchored_head.tree_size > max_staleness: raise StaleAnchorError( f"stale anchor for {passport.did}: " f"{issuer_head.tree_size - anchored_head.tree_size} entries behind" ) if not (passport.issuance_inclusion_ok and passport.non_inclusion_ok): raise StaleAnchorError( f"proof verification failed for {passport.did}" ) return True ```