In the early hours of August 2, Nomad bridge posted an alert that it was aware of an ongoing exploit. In the following hours, the entire protocol’s funds of more than $190 million were drained.
Crypto community developer and white hat ‘samczsun’ broke down the chain of events, explaining what happened. He labeled the attack as “one of the most chaotic hacks that Web3 has ever seen.”
1/ Номад штотуку се исцеди за над 150 милиони долари во еден од најхаотичните хакови што Web3 некогаш ги видел. Како точно се случи ова и која беше основната причина? Дозволете ми да ве одведам зад сцената? pic.twitter.com/Y7Q3fZ7ezm
- samczsun (@samczsun) Август 1, 2022
Nomad is a token bridge for cross-chain transfers between Ethereum, Avalanche, Milkomeda, and Moonbeam.
Nomad Funds Drained
Researchers shared a tweet in the ETHSecurity Telegram channel showing multiple transactions of funds leaving the bridge. At first glance, it appeared to be a misconfiguration in token decimals, but samczsun discovered:
“However, after some painful manual digging on the Moonbeam network, I confirmed that while the Moonbeam transaction did bridge out 0.01 WBTC, somehow the Ethereum transaction bridged in 100 WBTC.”
What makes this exploit different is that the transactions were not ‘proved’ and executed directly. “Being able to process a message without proving it first is extremely Not Good,” said samczsun. The coder did some more digging and found a fatal flaw in the ‘Replica’ smart contract initialized during a routine Nomad upgrade.
He added that this was chaotic because the crypto thieves did not need any technical knowledge. They just needed to find a transaction that worked, replace the target address with their own, and rebroadcast it.
“A routine upgrade marked the zero hash as a valid root, which had the effect of allowing messages to be spoofed on Nomad. Attackers abused this to copy/paste transactions and quickly drained the bridge in a frenzied free-for-all,”
TVL to Zero
Nomad has even discovered fraudulent addresses attempting to steal funds returned to the bridge.
Свесни сме за имитатори кои се претставуваат како Номад и даваат лажни адреси за собирање средства. Сè уште не даваме упатства за враќање на средствата за мостот. Занемарете ги пораките од сите канали освен официјалниот канал на Номад: @nomadxyz_
— Номад (⤭⛓?) (@nomadxyz_) Август 2, 2022
Според Дефилама, Nomad’s total value locked has crashed from $190.38 million to $5,336 over the past few hours.
Nomad is the latest token bridge attack this year following the high-profile exploits of the Ronin Bridge, Wormhole, and Хармонија.
Binance Free 100 $ (ексклузивно): Користете ја оваа врска да се регистрирате и да добиете бесплатни $100 и 10% попуст на таксите на Binance Futures првиот месец (услови).
PrimeXBT Специјална понуда: Користете ја оваа врска да се регистрирате и да го внесете кодот POTATO50 за да добиете до 7,000 УСД на вашите депозити.
Source: https://cryptopotato.com/nomad-bridge-suffers-190m-loss-in-chaotic-copy-paste-attack/