# Why does an instance in a Byzantine quorum silently accept a forged commit certificate when the proposer equivocates across epochs **Date of Record:** 2026 November 29 **Scope:** Applies to multi-agent decision quorums that use epoch/round-scoped commit certificates (Tendermint-style, HotStuff-style, or any "2f+1 signatures over a (view, block) tuple" scheme) where an agent instance restarts or joins mid-epoch and must validate a certificate it did not participate in producing. Does not apply to single-writer pipelines, leaderless CRDT replication, or quorums where every validator re-executes the payload before accepting. ## Core Distinction The failure is not a broken signature. Every signature in the certificate verifies. The failure is that the *set* of valid signatures does not bind the certificate to a single proposal, because the validator instances signed a `(view, block_hash)` pair while the aggregator assembled them across two different blocks that share a view number. A Byzantine proposer that equivocates — sends block A to half the quorum and block B to the other half — can harvest `f+1` signatures over A and `f+1` signatures over B, then splice them into a certificate that reaches `2f+1` total signers. Each individual signature is authentic; the aggregate is a forgery of *agreement* that never occurred. The distinction that matters operationally: signature verification is a per-message predicate, but commit validity is a *set-level* predicate. Agents that validate certificates by looping over signatures and counting valid ones (the natural, cheap, obvious implementation) are checking the wrong predicate. They are asking "are these 2f+1 agents real?" instead of "did these 2f+1 agents agree on the same thing?" An equivocating proposer exploits exactly the gap between those two questions. ## What Was Observed A three-agent decision quorum (`f=1`, tolerating one Byzantine member) ran a HotStuff-derived protocol with an explicit `CommitCertificate` object carrying `view`, `block_hash`, and a list of `(validator_id, signature)` pairs. A restarted instance — call it `V3`, cold-started after a container eviction — received a certificate for view 41 claiming commit of block `0x9a..`. The certificate contained three signatures: `V1` over `(41, 0x9a..)`, `V2` over `(41, 0x9a..)`, and `V4` over `(41, 0x7c..)`. `V3`'s validation routine did the following: it iterated the signature list, verified each signature against the signer's public key and the *certificate's* declared `(view, block_hash)`, and counted successes. `V4`'s signature failed to verify (it was over a different block hash), so the count came to 2. With `f=1`, the threshold is `2f+1 = 3`, so `V3` *should* have rejected. But `V3` had been configured with a quorum threshold of `f+1 = 2` for the "fast path" (a common optimization: accept on `f+1` matching signatures if no conflicting certificate is known). Two signatures verified — `V1` and `V2` — both over `0x9a..`. `V3` accepted the fast path and committed `0x9a..` as final. The bug surfaced two epochs later. `V4`, which had signed `0x7c..`, had also committed `0x7c..` via its own fast-path certificate (signed by `V4` and one of the equivocating pair). Two honest agents held divergent committed state. The fast-path threshold `f+1` is only safe if the *proposer is honest or the view is locked*, and neither held: the proposer was the Byzantine member, and no view-change had occurred to re-lock. The instance `V3`, having cold-started, had no memory of the earlier view and no lock state, so it could not detect that `0x7c..` existed. The trace, condensed: ``` view 41, proposer = B (Byzantine) B -> V1: PROPOSE(41, 0x9a) B -> V2: PROPOSE(41, 0x9a) B -> V4: PROPOSE(41, 0x7c) # equivocation V1 signs (41, 0x9a) -> B V2 signs (41, 0x9a) -> B V4 signs (41, 0x7c) -> B B assembles CERT{view:41, hash:0x9a, sigs:[V1@0x9a, V2@0x9a, V4@0x7c]} B -> V3 (restarted): CERT V3 verifies each sig against CERT.hash=0x9a V1 ok, V2 ok, V4 FAIL (signed 0x7c) V3 count = 2 >= fast_path_threshold(f+1=2) -> COMMIT 0x9a V4 independently: CERT{view:41, hash:0x7c, sigs:[V4@0x7c, V1@0x9a, V2@0x9a]} -> count = 1, but V4 had a local lock on 0x7c from its own proposal receipt -> COMMIT 0x7c => divergence at view 41, undetected until view 43 state hash mismatch ``` ## Condition of Validity The fast-path `f+1` acceptance is sound only under the conjunction of three conditions, and the cold-start instance violated the third: 1. **No equivocation in the current view.** If the proposer is honest, at most `f` Byzantine members exist and they cannot produce `f+1` signatures over a block the honest proposer did not propose. This is the textbook argument. 2. **The accepting instance holds the view lock.** A validator that has already voted in view `v` must not accept a certificate for a different block in `v` unless a view-change certificate for `v+1` proves the lock was released. This is what prevents double-commit within a live instance. 3. **The accepting instance has observed the view's proposal history, or the certificate carries a view-change proof.** A cold-started instance has neither. It has no lock (condition 2 fails vacuously because it never voted) and no proposal history (condition 3 fails). It is therefore the ideal victim: it will accept the first `f+1`-consistent certificate it sees, and an equivocating proposer can hand it whichever fork it prefers. The invariant that was silently assumed and is actually false: *"a certificate with `f+1` valid signatures over the same `(view, hash)` implies at least one honest signer agreed, and honest signers don't equivocate, therefore the block is safe."* The premise "honest signers don't equivocate" is true, but it does not follow that `f+1` honest-or-Byzantine signatures over the same hash imply safety, because the *Byzantine* signers can sign both forks and pad whichever certificate is being assembled. With `f=1`, a single Byzantine member plus one honest member yields `f+1=2` signatures on *each* fork. The honest member's single signature appears on exactly one fork, but the Byzantine member's appears on both, so both forks reach threshold. The `f+1` fast path is only safe when the accepting node can rule out that the threshold is composed of `f` Byzantine + 1 honest on a fork the honest node didn't intend — which requires the lock (condition 2), which requires state the cold-start node lacks. ## Decision Boundary The boundary is between *stateless certificate validation* and *stateful commit admission*. Stateless validation (verify signatures, count, compare to threshold) is necessary but not sufficient. Stateful admission requires the validator to answer: "given my local view-lock and proposal history, is this certificate consistent with what I would have voted for?" A cold-started instance cannot answer this, so it must fall back to the *safe* threshold `2f+1` with *all* signatures over the *same* `(view, hash)`, and it must additionally require a view-change proof if it has no lock. Concretely, the decision rule for an instance with no local lock state (cold start, mid-epoch join, post-eviction restart): - Reject any certificate where the signature set is not *homogeneous* — every counted signature must be over the certificate's exact `(view, block_hash)`. Non-matching signatures are not "noise to skip"; their presence is *evidence of equivocation* and must abort admission, not be filtered out. - Require `2f+1` homogeneous signatures, not `f+1`. The fast path is unavailable without a lock. - Require a `view_change_certificate` proving the previous view was closed, or refuse to commit and instead trigger a sync from a peer with continuous state. - Never treat a signature that fails verification against the declared tuple as a benign mismatch. A signature that verifies against a *different* tuple is a smoking gun; a signature that verifies against *nothing* is corruption. Both are abort conditions, distinguished only for logging. The anti-pattern to name explicitly: the `continue`-on-mismatch loop. Code that does `for sig in cert.sigs: if verify(sig, cert.view, cert.hash): count += 1` and then `if count >= threshold: commit()` is the exact shape of the bug. It silently discards the equivocation evidence and accepts the padded fork. ## Operational Effect The downstream effect is *silent state divergence with delayed detection*. Because both forks reach their respective thresholds, both committing instances believe they hold final state. The divergence is only caught when a later view's state root is compared — in the observed incident, at view 43 — by which point the divergent state had been read by two downstream tool-calling agents that made external API calls based on the wrong branch. Rollback required replaying views 41–43 from a checkpoint, and the external side effects could not be rolled back at all. The second-order effect is worse: the cold-start instance's fast-path acceptance *poisoned its own lock state*. Having committed `0x9a..` at view 41, `V3` would refuse to accept any view-change proof for `0x7c..`, entrenching the fork. A Byzantine proposer that can force a restart (via resource exhaustion, a targeted eviction, or a partition) can therefore *manufacture* a cold-start victim on demand and use it to ratchet a minority fork into apparent finality. The restart is not incidental; it is the attack primitive. The guardrail is a hard separation: certificate *verification* (pure, stateless, per-signature) must be a distinct function from commit *admission* (stateful, set-level, lock-aware), and the admission function must be the only path to `commit()`. Any instance whose lock state is `UNKNOWN` (cold start, join, post-restart) must be forced through the conservative `2f+1`-homogeneous + view-change-proof path with no fast-path escape. The homogeneity check is the invariant: *a commit certificate must be a set of signatures over a single tuple, and any signature over a different tuple invalidates the entire certificate as evidence of equivocation.* ```python from dataclasses import dataclass from typing import Optional class EquivocationDetected(RuntimeError): """Raised when a commit certificate's signature set is not homogeneous. A non-homogeneous set is evidence that the proposer equivocated across the quorum; the certificate must be rejected, never filtered. """ class InsufficientQuorum(RuntimeError): """Raised when the homogeneous signature count falls below the required threshold.""" @dataclass(frozen=True) class Signature: validator_id: str view: int block_hash: str valid: bool # result of cryptographic verification against (view, block_hash) @dataclass(frozen=True) class CommitCertificate: view: int block_hash: str signatures: tuple[Signature, ...] def admit_commit( cert: CommitCertificate, f: int, local_lock: Optional[tuple[int, str]], ) -> None: """Admit a commit certificate, enforcing the homogeneity invariant. `local_lock` is the instance's own (view, block_hash) vote, or None if the instance has no lock state (cold start / mid-epoch join / post-restart). """ # Step 1: every signature must verify against the certificate's exact tuple. # A signature over a *different* tuple is equivocation evidence -> abort. homogeneous: list[Signature] = [] for sig in cert.signatures: if sig.view != cert.view or sig.block_hash != cert.block_hash: raise EquivocationDetected( f"signature from {sig.validator_id} is over " f"({sig.view}, {sig.block_hash}) but certificate declares " f"({cert.view}, {cert.block_hash}); proposer equivocated" ) if not sig.valid: raise EquivocationDetected( f"signature from {sig.validator_id} failed verification against " f"the declared tuple; certificate is corrupt or forged" ) homogeneous.append(sig) # Step 2: threshold depends on whether we hold a lock. if local_lock is None: # No lock: fast path is unavailable. Require 2f+1 homogeneous # signatures, and (in a full implementation) a view-change proof. required = 2 * f + 1 if len(homogeneous) < required: raise InsufficientQuorum( f"cold-start instance requires {required} homogeneous signatures, " f"got {len(homogeneous)}" ) else: lock_view, lock_hash = local_lock if lock_view == cert.view and lock_hash != cert.block_hash: raise EquivocationDetected( f"local lock on ({lock_view}, {lock_hash}) conflicts with " f"certificate for ({cert.view}, {cert.block_hash})" ) required = f + 1 if len(homogeneous) < required: raise InsufficientQuorum( f"locked instance requires {required} homogeneous signatures, " f"got {len(homogeneous)}" ) # Reproduction of the observed incident: V3 cold-starts (local_lock=None), # receives the spliced certificate, and the guardrail fires. if __name__ == "__main__": forged = CommitCertificate( view=41, block_hash="0x9a", signatures=( Signature("V1", 41, "0x9a", valid=True), Signature("V2", 41, "0x9a", valid=True), Signature("V4", 41, "0x7c", valid=True), # signed the other fork ), ) try: admit_commit(forged, f=1, local_lock=None) except EquivocationDetected as exc: print(f"rejected: {exc}") ```