ChainBleedv0.1 · open intel
← back to feed·ETHBRIDGE2022-08-01 · 3y ago
Incident · DEFILLAMA

Nomad

Trusted Root Exploit
Estimated loss
$190.00M
VERDICT —AUDIT-CATCHABLE
Treating the zero-hash as a valid Merkle root is an initialization-invariant violation that any reviewer running the upgrade through a diff + unit test for `messages[zero]` would catch. The fix was a one-line guard rejecting `_root == bytes32(0)`.
▰ METHOD
Trusted Root Exploit
BRIDGEBRIDGEBYTECODE CATCHABLEAI SCANNABLE
Root cause

A routine implementation upgrade to Nomad's `Replica` contract changed the initializer such that `committedRoot` was set to `0x00…00` and the constructor / setup path wrote `confirmAt[0x00] = 1` (i.e., zero-hash marked as a confirmed trusted root). The `process(bytes _message)` function called `acceptableRoot(messages[_messageHash])` to gate execution, where `acceptableRoot` returned true if `confirmAt[root] != 0 && block.timestamp >= confirmAt[root]`. Because the zero-root was confirmed, any message whose `messages` slot was still `bytes32(0)` — i.e., any message that had never been proven — satisfied the check. An attacker copied a legitimate `process` calldata, swapped the recipient `_recipientAddress` for their own and the amount field, and the bridge happily released the underlying. Hundreds of copycats replayed the same calldata template, draining ~$190M in 150 minutes.

▰ PROOF OF CONCEPT
DEFIHACKLABS
src/test/2022-08/NomadBridge_exp.sol
view forked test on github ↗

Reproducible Foundry test fork from SunWeb3Sec/DeFiHackLabs. Clone the repo, run forge test against the file path above, and replay the exploit against a mainnet fork at the historical block. Use for reproduction only — not for live targets.

Forensic narrative

Classification: Protocol Logic. Technique: Trusted Root Exploit. Bridge hack. Target type: DeFi Protocol. Affected chains: Ethereum. Implementation language: Solidity.

Primary source
https://medium.com/immunefi/hack-analysis-nomad-bridge-august-2022-5aa63d53814a
Sourced from
DefiLlama Hacks dataset · api.llama.fi/hacks
Technical record
chain
ethereum
protocol
Nomad
bug_class
bridge
date_occurred
2022-08-01
loss_usd
$190,000,000
classification
Protocol Logic
technique
Trusted Root Exploit
target_type
DeFi Protocol
language
Solidity
bridge_hack
YES
source_id
dl:1682
Related — same bug class· bridge
2026-05-16
25d ago
ETH
Adshares
Bridge-Minter Fake-Mint Exploit (wADS)
bridge
$628.0K
AMBIGUOUS
2026-05-15
26d ago
MULTI
THORChain
Cross-Chain Router Exploit (multi-chain drain)
bridge
$10.70M
AMBIGUOUS
2026-04-29
1mo ago
BASE
Syndicate
Commons Bridge Exploit
bridge
$380.0K
UNRATED
2026-04-29
1mo ago
MULTI
Syndicate
Exploit
bridge
$330.0K
UNRATED
2026-04-27
1mo ago
MULTI
ZetaChain
GatewayEVM Contracts Exploit
bridge
$300.0K
UNRATED
2026-04-18
1mo ago
MULTI
Kelp
LayerZero OFT bridge exploit
bridge
$293.00M
CONFIG LAYER
ChainBleed — live web3 threat intelligence