Crypto Training
Bridges Threat Model: Message Passing, Trust Assumptions, and How Things Break
The large bridge losses we reviewed come down to a forged message that passed verification, a compromised signer set, a bad initialization or upgrade, or a message consumed twice. This post ties each to documented incidents and to checks an integrator can run.
A bridge is a contract on the destination chain that mints or releases assets when it is shown evidence of an event on another chain. Everything else (relayers, validator sets, proofs) exists to produce that evidence, so the threat model starts from one question, namely who can convince the destination contract that a message is real.
The answer has been expensive to get wrong. Chainalysis counted about $2 billion stolen in 13 bridge hacks by August 2022, which was 69% of all crypto stolen that year to date (report). The pattern has continued, and in April 2026 a forged attestation let an attacker drain about $290 million of rsETH from KelpDAO's bridge.
Who verifies the message#
| Model | What the destination trusts | Main failure mode | Audit first |
|---|---|---|---|
| Multisig or validator committee | A quorum of signing keys | Keys stolen, or too many keys under one operator | Signer set, threshold, who can change them |
| Configurable verifier networks (for example LayerZero DVNs) | The verifiers the application selected | A 1-of-1 configuration, fed by poisoned RPC nodes | The live configuration on each chain |
| Optimistic | That someone challenges a bad root within the window | A root accepted without any proof after an upgrade | Initial state, challenge window, who can pause |
| Light client or validity proof | The source chain's consensus plus the verifier code | Bugs in proof or signature verification | Verification code and its upgrade path |
| Rollup canonical bridge | The L1 contracts and the rollup's proof system | Upgrade keys and proof-system bugs | Upgrade authority and exit delay |
Read the table as a map of where the risk sits. For most deployed bridges it sits in keys and configuration more than in cryptography.
Verification bugs#
On 2 February 2022 an attacker minted 120,000 wrapped ETH on Solana through Wormhole without depositing anything on Ethereum. Wormhole's incident report gives the cause. The verify_signatures function read the result of signature checks from the instructions sysvar account, and it never asserted that the account passed in by the caller was that sysvar. The attacker supplied an account they had filled themselves, and the guardian signatures were never checked.
Poly Network in August 2021 is the EVM counterpart. Its cross-chain manager would call any target contract and method named inside a verified message, and the same manager owned the contract that stored the keeper public keys. The attacker sent a message whose method name hashed to the selector of the key setter, replaced the keepers with their own key, and then signed withdrawals worth about $610 million across three chains.
In both cases the signature scheme was sound and the code around it trusted an input it should have pinned. When we review a bridge we read the verification path first, and we ask of every account, address and selector in it whether the caller chose the value.
Compromised signers and verifiers#
Ronin lost 173,600 ETH and 25.5 million USDC on 23 March 2022 and did not notice for six days, until a user could not withdraw. Its post-mortem explains that withdrawals needed five of nine validator signatures. Sky Mavis ran four of the nine, and a fifth, run by Axie DAO, could be reached through a gas-free RPC allowlist that had been granted in November 2021 and was never revoked. One intrusion into Sky Mavis therefore produced a quorum.
Harmony's Horizon bridge was simpler still. Its Ethereum side released funds on two signatures from a set of five, and two keys were enough for about $100 million.
The April 2026 KelpDAO loss shows the same failure in a newer design. According to LayerZero's statement, Kelp's rsETH application used a 1-of-1 DVN configuration with LayerZero Labs as the sole verifier. Attackers compromised two RPC nodes that the verifier read from, ran a denial-of-service attack against the others to force failover, and the verifier then "confirmed transactions that never in fact took place". Kelp disputes who chose that setup and says it was LayerZero's documented default (CoinDesk). For an integrator the dispute changes little, because the configuration was readable on chain the whole time.
The number to quote for a bridge is how many independent parties an attacker has to breach, counting the infrastructure each signer reads the source chain through. In all three cases it was smaller than the nominal threshold suggested.
Initialization and upgrade mistakes#
Nomad was an optimistic bridge. Its Replica contract accepted a message only if it had been proven under a Merkle root whose challenge period had passed. Nomad's root cause analysis describes two facts that combined badly.
The initializer marked its _committedRoot argument as confirmed, and Replicas deployed together with their Home contract had been initialized with a root of bytes32(0). Then an upgrade on 21 June 2022 changed process() to look up the root under which a message had been proven and pass it to acceptableRoot(). An unproven message maps to the default value, which is also bytes32(0).
From that upgrade on, any message that had not yet been processed was accepted without a proof. On 1 August 2022 the first exploiter used it, and hundreds of others copied the calldata with their own address substituted, which emptied the bridge of more than $150 million (replay on this site).
Zero is the default of every mapping, so it must never be a value that means "trusted". A post-upgrade test that calls the verification function with zero and with garbage would have caught this. The deployment side of the same problem is covered in the CPIMP post.
Replay and double consumption#
A message has to be consumed exactly once, on the chain and contract it was addressed to. The usual checklist is short. The message ID should be a hash over the source chain, the source sender, the destination chain, the destination contract, a nonce and the payload. The destination should mark the ID as used before it acts on the payload, and every retry or recovery path should go through the same check.
Recovery paths are where this tends to break. In October 2026 zkLink Nova lost a reported $783,000 because claimMessage authenticated a message by comparing against a hash held in transient storage and did not clear it afterwards. A second claim in the same transaction reused the leftover hash and installed a batch root of the attacker's choosing, against which their withdrawal proofs then verified.
Finality and liveness#
A bridge that acts on a source event before that event is final can mint against a deposit that a reorg later removes. On Ethereum a block is normally finalized after two epochs, about 13 minutes, and reverting it would cost an attacker at least a third of all staked ETH (consensus docs). Bridges that deliver faster than that are extending credit, and you should know who carries the loss if the source reorgs.
None of the losses above came from a reorg. Reorg risk gets a large share of bridge threat-model discussions, while the documented nine-figure losses came from keys, configuration and verification code.
Delay is the other half. An Arbitrum withdrawal to L1 can be executed only after a dispute window of about 6.4 days, and an L1-to-L2 retryable ticket that fails expires after a week unless someone redeems or extends it (L2 to L1, L1 to L2). If your protocol's solvency depends on a message arriving by a deadline, model the case where it arrives a week late or never.
What an integrator controls#
You rarely get to fix the bridge, but the receiving contract is yours. The sketch below shows the checks we expect in one, whatever the messaging layer.
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;
abstract contract BridgeReceiver {
address public immutable messenger; // the bridge endpoint on this chain
mapping(uint256 srcChainId => bytes32 peer) public peers;
mapping(bytes32 messageId => bool) public consumed;
error NotMessenger();
error UnknownPeer();
error AlreadyConsumed();
constructor(address messenger_) {
messenger = messenger_;
}
function onMessage(uint256 srcChainId, bytes32 srcSender, uint64 nonce, bytes calldata payload) external {
if (msg.sender != messenger) revert NotMessenger();
// an unset peer is zero, so zero must never pass
if (srcSender == bytes32(0) || peers[srcChainId] != srcSender) revert UnknownPeer();
bytes32 id = keccak256(abi.encode(srcChainId, srcSender, block.chainid, address(this), nonce, payload));
if (consumed[id]) revert AlreadyConsumed();
consumed[id] = true;
_handle(srcChainId, payload);
}
function _handle(uint256 srcChainId, bytes calldata payload) internal virtual;
}
Beyond the receiver, five habits cover most of what goes wrong on the application side.
- Read the bridge's live configuration (signer set, threshold, verifier list, upgrade owner) from the chain before you integrate, and monitor it afterwards.
- Cap what one message and one day can mint or release, so that a forged message costs a bounded amount.
- Treat the payload as untrusted input even when the sender is authenticated, since a compromised peer on a weaker chain can send well-formed messages.
- Keep bridge failures from blocking unrelated functions, and give stuck messages an explicit retry or refund path that runs the same checks.
- Give yourself a pause that does not depend on the bridge operator.
What to log#
When an incident happens, these fields let you reconstruct it without the bridge operator's help.
| Field | Why you need it |
|---|---|
| Source transaction hash | Provenance of the message |
| Message ID | Deduplication and replay analysis |
| Source and destination chain IDs | Which domain the message was bound to |
| Destination execution transaction hash | What the message did |
| Verifier configuration at execution time | Which rules accepted it |
Sources#
- Wormhole incident report, February 2022 for the missing sysvar account check.
- Ronin community alert, March 2022 (archived copy, the original URL no longer resolves) for the five-of-nine quorum and the stale allowlist.
- Nomad root cause analysis, August 2022 for the zero root and the 21 June 2022 upgrade.
- LayerZero's KelpDAO incident statement, April 2026 and the longer incident report for the 1-of-1 DVN configuration and the RPC compromise.
- Chainalysis on bridge hacks, August 2022 for the 2022 loss figures.
- ethereum.org bridge overview for the taxonomy of bridge designs.
- Arbitrum docs on parent-to-child messaging for retryable tickets and their one-week lifetime, and the child-to-parent page for the dispute window.
- Replays on this site: Poly Network, Ronin, Harmony, Nomad, zkLink Nova.