# Why does an instance in a Byzantine agent quorum accept a forged audit warrant when the signature chain is intact? **Date of Record:** 2026 November 22 **Scope:** Applies to multi-agent decision quorums (e.g., 3f+1 or 2f+1 configurations) where agents exchange signed audit warrants or decision attestations. Does not apply to single-agent tool-use loops or stateless request-response pipelines. ## Core Distinction The failure is not a cryptographic break, nor a simple message-drop partition. It is a **semantic equivocation** enabled by the gap between *signature validity* and *propositional consistency*. An agent instance verifies the signature chain correctly, confirms the warrant was signed by a legitimate peer, and then accepts a decision that contradicts a previously committed state—because the warrant's payload is a *different but validly signed* proposition. Byzantine fault-tolerant (BFT) consensus protocols bound the number of faulty nodes (f), but they assume faulty nodes produce *detectable* contradictions or silence. They do not bound a faulty node that produces two validly signed, mutually inconsistent warrants at different logical times, each addressed to a different quorum subset, and each internally consistent. The invariant "a correct agent never accepts two conflicting decisions" is not enforced by signature verification alone; it requires an **equivocation-detection layer** that binds warrants to a monotonic decision sequence and a quorum intersection witness. ## What Was Observed Consider a 4-agent quorum (n=4, f=1, quorum size 3). Agents A, B, C, D. A is Byzantine. The protocol requires a decision warrant to carry: `(decision_id, proposer_id, quorum_signatures[], payload_hash)`. At logical time t1, A proposes decision X to {B, C} and collects signatures. At t2, A proposes decision Y (where Y ≠ X, payload_hash differs) to {C, D} and collects signatures. Both warrants are validly signed by 3 agents. A correct agent C, which signed both, receives both warrants. C's verification logic checks: (1) all signatures valid, (2) quorum size ≥ 3, (3) proposer_id is a known peer. All pass. C commits X, then commits Y, violating the safety invariant (no two correct agents commit different decisions at the same sequence number). The equivocation is invisible to signature checks because C's own signature appears on both warrants—C was *used* as an unwitting cosigner, not because C is faulty, but because C signed two proposals at the same sequence number without checking for prior commitments. The failure trace is: C signs proposal X at t1 (no local commit yet) → A withholds X's warrant from D → A proposes Y to C and D at t2 → C signs Y (no local check against pending signatures) → A broadcasts both warrants → C and D both accept both, but C's local state now has two conflicting commits. D, who only saw Y, has a different commit. The quorum intersection property (any two quorums share at least one correct node) is satisfied—C is the intersection—but C's *behavior* at the intersection was to sign twice, which the protocol did not forbid. The invariant that must hold is: **a correct agent must never sign two warrants for the same (sequence_number, decision_slot) pair**, and must reject any incoming warrant whose (sequence_number, decision_slot) matches a locally signed or committed value with a different payload_hash. This is the "sign-once-per-slot" invariant. Without it, quorum intersection guarantees liveness but not safety against equivocating proposers. ## Condition of Validity This failure mode is valid only when: (a) the protocol uses signed warrants with quorum thresholds, (b) the proposer can selectively disseminate warrants to different subsets (i.e., no reliable broadcast with consistency checks), (c) correct agents do not maintain a local "signed-slot registry" that rejects duplicate signatures for the same slot, and (d) the decision slot identifier is not globally unique and monotonic across the quorum's lifetime (e.g., it is a local counter that resets on leader change). If any of (a)–(d) is false, the equivocation either cannot occur or is detected. Specifically, if the protocol uses a reliable broadcast primitive (e.g., Bracha broadcast) where the proposer must send the same value to all, or if agents use a per-slot lock (sign once, then refuse), the attack surface closes. The condition of validity is *not* met when the quorum size is 2f+1 with f=0 (single fault-free agent), or when the warrant includes a cryptographic commitment to the entire quorum's view (e.g., a threshold signature over the slot). ## Decision Boundary The decision boundary for an agent instance is: **before signing any warrant, check a local persistent map `signed_slots: dict[(sequence_number, decision_slot), payload_hash]`.** If the key exists and the new payload_hash differs, raise an equivocation alarm and refuse to sign; do not overwrite. If the key exists and payload_hash matches, return the cached signature (idempotent). If the key does not exist, sign and persist atomically. Additionally, upon receiving a warrant, verify that no locally committed decision exists for the same (sequence_number, decision_slot) with a different payload_hash; if so, the warrant is a Byzantine equivocation and must be discarded, and the sender flagged. The boundary is not "verify signatures" but "verify slot uniqueness against local history." The cost is a small persistent store and an atomic check-and-set; the benefit is that quorum intersection becomes a safety guarantee rather than a liveness-only property. ## Operational Effect Without the sign-once-per-slot invariant, a single Byzantine proposer can force two correct agents to commit conflicting decisions, causing a permanent state divergence that requires manual reconciliation or a full quorum restart. The observable effect is not a crash but a **silent fork**: agents A and B report decision X, agents C and D report decision Y, and each believes it has a valid quorum certificate. Downstream consumers of the decision (e.g., an execution agent that acts on the committed value) will perform conflicting actions—one transfers funds, the other does not—and the audit trail shows two validly signed warrants with no cryptographic anomaly. The only detection signal is a cross-agent comparison of committed (sequence_number, payload_hash) pairs, which is an out-of-band reconciliation step. With the invariant enforced, the equivocating proposer's second warrant is rejected at the signing step by the intersecting correct agent, and the proposer is identified as faulty (it solicited a signature for a slot already signed). The operational effect is that safety holds under f Byzantine faults, and the failure mode degrades to liveness (the proposer is ejected, a view change occurs) rather than safety violation. ```python import hashlib from typing import Dict, Tuple class EquivocationError(RuntimeError): """Raised when an agent detects a conflicting warrant for an already-signed slot.""" pass class WarrantSigner: def __init__(self): # Persistent map: (sequence_number, decision_slot) -> payload_hash self.signed_slots: Dict[Tuple[int, int], str] = {} def _hash_payload(self, payload: bytes) -> str: return hashlib.sha256(payload).hexdigest() def sign_warrant(self, sequence_number: int, decision_slot: int, payload: bytes) -> str: key = (sequence_number, decision_slot) payload_hash = self._hash_payload(payload) if key in self.signed_slots: existing = self.signed_slots[key] if existing != payload_hash: raise EquivocationError( f"Refusing to sign slot {key}: already signed payload {existing[:8]}, " f"new payload {payload_hash[:8]} differs. Byzantine equivocation detected." ) # Idempotent re-sign: return existing signature (simulated) return f"sig:{key}:{existing[:8]}" # Atomic check-and-set (simulated as single-threaded) self.signed_slots[key] = payload_hash return f"sig:{key}:{payload_hash[:8]}" def accept_warrant(self, sequence_number: int, decision_slot: int, payload: bytes, signature: str) -> bool: key = (sequence_number, decision_slot) payload_hash = self._hash_payload(payload) if key in self.signed_slots and self.signed_slots[key] != payload_hash: raise EquivocationError( f"Rejecting warrant for slot {key}: local commit hash {self.signed_slots[key][:8]} " f"conflicts with warrant hash {payload_hash[:8]}. Sender is Byzantine." ) # Signature verification (simulated) expected = f"sig:{key}:{payload_hash[:8]}" if signature != expected: raise EquivocationError(f"Invalid signature for slot {key}.") return True # Example trace: Byzantine proposer attempts equivocation signer = WarrantSigner() signer.sign_warrant(seq=10, slot=0, payload=b"decision_X") try: signer.sign_warrant(seq=10, slot=0, payload=b"decision_Y") # conflicting payload except EquivocationError as e: print(f"Caught: {e}") ```