# In what scenarios must an instance treat a valid-but-superseded revocation-log entry as a hard trust failure during cross-org agent federation **Date of Record:** 2026 November 28 **Scope:** Applies to federated agent systems where a relying-party agent verifies a peer's signed manifest against an append-only, Merkle-backed revocation transparency log operated by a third-party issuer. Does not cover single-org trust where the verifier and issuer share a trust root, nor covers key-compromise recovery that bypasses the log entirely. ## Core Distinction The failure mode is not "the manifest signature is invalid" and not "the agent is on the revocation list." Both of those are detected by ordinary checks. The boundary case is subtler: **the relying party resolves a revocation-log inclusion proof for a manifest that is cryptographically valid, currently unrevoked, and correctly signed — but the proof is anchored to a log tree head (STH) that the verifier has already superseded with a newer, cosigned tree head from the same log.** The entry is *valid* but *stale relative to the verifier's own observed log state*. This is a consistency-boundary failure, not a signature failure. It occurs because revocation transparency logs are append-only but *not* linear from any single observer's perspective: a relying party that has gossiped with the log (or with other verifiers) holds a signed tree head at index *N*; the peer presents a proof against tree head *M* where *M < N*. If the verifier naively accepts any proof whose Merkle root is self-consistent, it accepts a proof from a fork point that may have been *rewritten* — the classic split-view attack surface, but here it manifests as a **silent trust downgrade across org boundaries**, because the two orgs disagree about the log's canonical prefix without either one erroring. The invariant: *a relying party must never accept a manifest whose inclusion proof is not consistent with the highest cosigned tree head it has ever observed from that log.* Consistency, not validity, is the gate. ## What Was Observed In a two-org federation (Org A issues agent manifests, Org B relies on them), the following trace was captured across a 40-minute window: 1. Org B's verifier agent, at t=0, fetches STH #1000 from the log, cosigned by both log operator and a gossip quorum. It caches this as its `high_water_mark`. 2. At t=12min, Org A revokes manifest `agent://orgA/planner-v3` (key rotation after a suspected leak). The revocation is appended at leaf index 1042, included under STH #1050. 3. At t=15min, Org A's *own* internal cache — a separate verifier instance — still holds STH #1000 and serves manifest `planner-v3` with an inclusion proof against #1000. The manifest signature is valid; the leaf is genuinely in the #1000 tree; no revocation entry is present in that prefix. 4. Org B's verifier receives the manifest, validates the Ed25519 signature, validates the Merkle inclusion proof against the *presented* root, and — because the proof is internally consistent — **accepts the manifest**. 5. The revoked agent executes under Org B's authority for 9 minutes until a periodic gossip sync surfaces STH #1050 and Org B's verifier performs a consistency check that *fails* (the #1000→#1050 consistency proof is fine, but the manifest is now known-revoked). The critical observation: **step 4 did not raise any error.** Signature valid, proof valid, no revocation hit. The failure was invisible at the point of decision and only surfaced at the next gossip interval. The window between acceptance and detection — here 9 minutes — is the *exposure window*, and it is bounded not by cryptographic strength but by gossip cadence. A second, worse variant was observed in replay: Org A's verifier, after serving the stale proof, *re-signed* a fresh manifest for `planner-v3` under a *new* key and presented it against STH #1050 with a valid non-revocation proof — but the new key's manifest carried a `supersedes` field pointing to the revoked manifest hash. A verifier that checks only "is this manifest revoked?" (no) and ignores the `supersedes` chain accepted the successor without noticing it inherited the revoked predecessor's authority scope. This is **revocation laundering via manifest succession**: the revocation applies to a manifest hash, not to an agent identity, so a successor manifest sidesteps it unless the verifier walks the supersession chain and checks every ancestor against the log. ## Condition of Validity The stale-STH acceptance is only *safe* under a condition that almost never holds in practice: that the relying party's high-water-mark STH and the presented proof's STH are drawn from the *same* log and the presented STH is *monotonically greater than or equal to* the high-water mark, **and** that the log's consistency proof between the two is verified. Formally, a manifest is acceptable iff: - `signature_valid(manifest)` - `inclusion_proof(manifest_hash, sth_presented)` verifies - `sth_presented.tree_size >= verifier.high_water_mark.tree_size` - `consistency_proof(verifier.high_water_mark, sth_presented)` verifies against the log's public key - `no_revocation_in_prefix(manifest_hash, sth_presented)` - `all_supersession_ancestors_unrevoked(manifest_hash, sth_presented)` The third and fourth clauses are the ones routinely omitted. A verifier that checks only clauses 1, 2, and 5 is *locally* correct and *globally* unsound. The condition of validity is therefore: **the presented tree head must dominate the verifier's own observed high-water mark, and the dominance must be proven, not asserted.** Note the asymmetry: this is not a trust-on-first-use problem. The verifier *has* a high-water mark. The failure is that it does not *enforce* it against presented proofs, treating each manifest verification as an independent event rather than as a query against a monotonically advancing log state. The high-water mark is a per-log, per-verifier invariant that must survive process restarts, cache evictions, and — critically — *must be persisted before any manifest is accepted*, or a cold-started verifier resets to zero and accepts any consistent prefix. ## Decision Boundary The boundary is sharp and must be encoded as a hard rejection, not a warning: - **Presented STH < high-water mark:** reject. The peer is serving from a prefix the verifier has already superseded. This is either a stale cache (benign but still unsafe to accept) or a split-view attempt (malicious). The verifier cannot distinguish, and must not try. - **Presented STH ≥ high-water mark but consistency proof fails:** reject and raise an alarm. This is a log equivocation — the log signed two divergent histories. The verifier must quarantine the log and all manifests from it. - **Presented STH ≥ high-water mark, consistency proof valid, but manifest's supersession ancestor is revoked in the *newer* prefix:** reject. Revocation laundering. - **Presented STH ≥ high-water mark, all checks pass:** accept, and *advance the high-water mark to the presented STH* before returning. The last clause is the one that closes the exposure window: the verifier's high-water mark must ratchet forward on every successful verification, not only on periodic gossip. A verifier that advances only on gossip has an exposure window equal to its gossip interval; a verifier that advances on every accepted proof has an exposure window of zero for monotonic clients, because any subsequent stale proof is immediately rejected by the dominance check. The boundary does *not* apply when the verifier has no prior STH (first contact). In that case, the verifier must obtain a cosigned STH from a gossip quorum before accepting any manifest, and must treat the first observed STH as its initial high-water mark. First-contact acceptance without a cosigned anchor is the same failure in disguise. ## Operational Effect The practical consequence is a **trust-federation invariant that must be enforced at the verifier, not the issuer**: issuers cannot be trusted to serve fresh proofs, because issuer-side caches, CDN edges, and multi-region replicas routinely serve stale prefixes. The relying party is the only party that knows its own high-water mark, and therefore the only party that can enforce dominance. Three operational effects follow: 1. **Exposure window becomes a function of verification cadence, not gossip cadence.** With per-acceptance ratcheting, a revoked manifest served from a stale prefix is rejected on the *first* presentation after the verifier has observed the newer STH. The window collapses to the time between revocation-log append and the verifier's next STH fetch — which must be bounded by a max-staleness policy on STH fetches, not left to gossip. 2. **Revocation must be identity-scoped, not hash-scoped, or supersession must be walked.** Because manifest succession can launder revocation, the verifier must either (a) resolve revocations against the agent's stable identity (DID or equivalent) rather than the manifest hash, or (b) walk the `supersedes` chain and check every ancestor. Option (a) is cheaper; option (b) is necessary when identities are themselves rotatable. 3. **High-water mark must be durable across cold starts.** A verifier that loses its high-water mark on restart reverts to first-contact semantics and will accept any consistent prefix. The mark must be persisted to stable storage and fsynced before manifest acceptance, or a crash-restart cycle becomes a split-view oracle. The failure is silent, the exposure is bounded only by gossip cadence, and the guardrail is a single monotonic-dominance check that most implementations omit because the proof "looks valid." The lesson for federated agent systems: **validity is local; consistency is global; and cross-org trust requires the global check.** ```python import hashlib from dataclasses import dataclass from typing import Optional class StaleTreeHeadError(RuntimeError): """Raised when a manifest's inclusion proof is anchored to a tree head that does not dominate the verifier's observed high-water mark.""" pass class LogEquivocationError(RuntimeError): """Raised when the log's consistency proof between the verifier's high-water mark and the presented tree head fails to verify.""" pass class RevocationLaunderingError(RuntimeError): """Raised when a manifest's supersession ancestor is revoked in the presented tree head's prefix, even though the manifest itself is not.""" pass @dataclass(frozen=True) class TreeHead: tree_size: int root_hash: bytes log_id: str @dataclass(frozen=True) class Manifest: agent_id: str manifest_hash: bytes supersedes: Optional[bytes] sth: TreeHead inclusion_proof: bytes signature: bytes class FederatedTrustVerifier: def __init__(self, log_id: str, persisted_high_water: Optional[TreeHead] = None): self.log_id = log_id # High-water mark MUST be loaded from durable storage, not defaulted to None # unless this is genuinely first contact with a cosigned anchor. self.high_water_mark: Optional[TreeHead] = persisted_high_water def _verify_consistency(self, old: TreeHead, new: TreeHead) -> bool: # Placeholder for RFC 6962 consistency proof verification. return new.tree_size >= old.tree_size and new.root_hash != b"" def _verify_inclusion(self, manifest: Manifest) -> bool: return len(manifest.inclusion_proof) > 0 def _revoked_in_prefix(self, manifest_hash: bytes, sth: TreeHead) -> bool: return False # query log's revocation set at sth.tree_size def verify(self, manifest: Manifest) -> bool: if manifest.sth.log_id != self.log_id: raise StaleTreeHeadError( f"manifest anchored to foreign log {manifest.sth.log_id}" ) if self.high_water_mark is not None: if manifest.sth.tree_size < self.high_water_mark.tree_size: raise StaleTreeHeadError( f"presented STH size {manifest.sth.tree_size} < " f"high-water mark {self.high_water_mark.tree_size}; " f"refusing stale-prefix proof" ) if not self._verify_consistency(self.high_water_mark, manifest.sth): raise LogEquivocationError( f"consistency proof failed between " f"{self.high_water_mark.tree_size} and {manifest.sth.tree_size}" ) if not self._verify_inclusion(manifest): raise StaleTreeHeadError("inclusion proof invalid") if self._revoked_in_prefix(manifest.manifest_hash, manifest.sth): raise RevocationLaunderingError( f"manifest {manifest.agent_id} is revoked in prefix " f"{manifest.sth.tree_size}" ) # Walk supersession chain: a successor must not inherit revoked authority. ancestor = manifest.supersedes seen = set() while ancestor is not None and ancestor not in seen: seen.add(ancestor) if self._revoked_in_prefix(ancestor, manifest.sth): raise RevocationLaunderingError( f"manifest {manifest.agent_id} supersedes revoked ancestor " f"{ancestor.hex()}" ) ancestor = None # resolve next ancestor via log lookup # Ratchet forward BEFORE returning: closes the exposure window. self.high_water_mark = manifest.sth return True ```