Wormhole hack illustrates danger of DeFi cross-chain bridges

Wormhole hack illustrates danger of DeFi cross-chain bridges

Solana has become one of the fastest-growing smart contract blockchain networks since it was first officially launched in March 2020. 

The total value locked (TVL) on decentralized finance (DeFi) protocols on the network grew from nearly $152 million in March 2021 to $8.08 billion at the time of writing, as per data from DefiLlama.

Our top trading bots

Wormhole hack illustrates danger of DeFi cross-chain bridges

Simultaneously, the network has also been subject to several network issues and outages. Most recently, the Wormhole token bridge was hit by a security exploit on Feb. 3 that culminated in the loss of 120,000 wrapped Ether (wETH) tokens, worth over $375 million at the current price of Ether (ETH). 

This exploit was the biggest so far in 2022 and the second largest DeFi hack ever, following the Poly Network hack where over $600 million was stolen from three different blockchain networks when an Ethereum bridge was compromised.

Wormhole is a token bridge protocol that connects multiple blockchain networks like Ethereum, Solana, Terra, BNB Smart Chain, Polygon, Avalanche and Oasis. It enables users to send and receive tokens between these networks without the need for a centralized exchange or tedious conversion processes. While wrapped Ether was the only asset impacted by this exploit, Certik, a smart contract auditing firm, mentioned that Wormhole’s bridge to the Terra blockchain network could be impacted by the same vulnerability as the Solana bridge. 

The token bridging protocol has released a detailed incident report that tracks the chronology of the hack and all the associated aspects of it including security audits, bug bounties and the security roadmap. Cointelegraph discussed this hack with Max Galka, the CEO of blockchain data analytics firm Elementus. He said:

“About three hours before the Ether was taken from Wormhole, the wallet that is currently holding the stolen funds had a smaller transaction deposited from Tornado Cash — a mixer that anonymizes transactions. There was a transfer from a mixer on Ethereum to this wallet now holding the stolen funds.”

Galka further mentioned that while it is evident as to why the hacker would have experimented with Tornado Cash in the first place, it is less clear as to why they would use the mixer to deposit funds exactly into the same wallet before executing a major exploit.

Soon after, Wormhole launched a bug bounty program with Immunefi on Feb.12 with a $10 million reward that covers smart contracts, web user interface (UI), guardian nodes and Wormhole integrations. This makes it the largest bug bounty program in the cryptoverse, on par with Maker DAO’s bug bounty program.  

Jump Crypto, the crypto investment arm of trading firm Jump Trading and one of the lead investors backing Wormhole, has stepped in to “make the community members whole.” The venture capital firm has replaced the 120,000 ETH and stated via a Twitter post on the same day of the hack that the firm believes in a multichain future and that Wormhole is essential infrastructure for this future.

Security concerns with cross-chain activity

Vitalik Buterin, a co-founder of Ethereum, wrote on a Reddit AMA session along with the Ethereum Foundation’s Research Team where he said that the future of blockchain technology is multichain and not cross-chain. Buterin has reasoned this with security concerns of bridges and non-native token assets with a focus on the probability of 51% attacks. He said, “It’s always safer to hold Ethereum-native assets on Ethereum or Solana-native assets on Solana than it is to hold Ethereum-native assets on Solana or Solana-native assets on Ethereum.”

Jagdeep Sidhu, the chief technology officer of Syscoin, a proof-of-work (PoW) blockchain network that is “merged-mined” with Bitcoin, spoke to Cointelegraph further on this narrative. He said, “He simply means that where there is a blockchain, there is a zone-of-sovereignty within that chain which has free will on the security of that blockchain. Any time blocks roll back, for example, all systems depending on the security of that chain also roll back. Because of this, when creating cross-chain bridges, you have to either assume a new consensus system that will watch and act on rollbacks or cautiously wait around the possibilities of a rollback, depending on the value of the transaction.”

Sidhu further said that the Wormhole hack revealed the complexities of creating cross-chain exchanging and bridging, as the attack was only enabled due to an externality by the Solana team which rendered a certain operation in the consensus code legacy. This operation opened a loophole in the logic of Wormhole that was taken advantage of by the hacker.

Even though this particular hack impacted a cross-chain bridge, it is noteworthy that, technically, this was a smart contract exploit, which has been around as long as the concept of smart contracts has existed. Galka stated:

“The history of smart contracts has involved a pretty consistent stream of vulnerabilities and hacks dating back to the very early days of Ethereum when The DAO was attacked in 2016. In general, cross-chain bridge contracts have large balances making them prime targets. Historically, there have always been hacks on smart contracts. I would expect that to continue.”

Cointelegraph also discussed this aspect of the hack with Anton Bukov, co-founder of the 1inch Network, a DEX aggregator, who mentioned that the cause that led to this hack was a low-level smart contract bug. It was related to the mechanism that Solana used for precompiled smart contract calls. He noted that the bug fix was publicly available on the interoperability protocol’s GitHub repository for more than two weeks before the hack. 

The fix being publicly available could’ve been the cue for the exploiter to identify the hack. Bukov also agreed with Buterin’s concerns with cross-chain operations and stated that “Cross-chain operations are much more dangerous and vulnerable than any other blockchain operations.”

Zero-knowledge rollups 

Despite Solana’s rapid growth in the short time since its launch, the network has become increasingly susceptible to issues as more users begin to come onboard. The network had a bad start to the year when it faced six network outages in January that caused a lot of frustration to its community.

Related: Scalability or stability? Solana network outages show work still needed

Sidhu pointed out that Solana, like all other alternative smart contract networks, uses a monolithic architecture that does not provide for economies of scale. Due to this, as more users come onto the network, the fees and the resources to keep the network stable, secure and decentralized will increase. 

Suggesting an alternative to this incoming issue, he said, “The best way we know to scale is through a modular architecture. This is what Ethereum and some other blockchains such as Syscoin are transitioning toward due to the creation of great scaling solutions such as optimistic and zero-knowledge proof based rollups.”

Proving a detailed solution for this issue, Sidhu mentioned that the best solution for cross-chaining assets is to use zero-knowledge (ZK) proofs as a better alternative to having the pool of money sitting on an external consensus such as a multi-party protocol which requires an honest majority assumption of external validators. This use of ZK-proofs would replace the external consensus with mathematical validity proofs. 

Nonetheless, he also added that none of the solutions are as secure as using a reliable layer 1. He added, “A ZK bridge is a promising improvement to cross-chain bridging, but I do not think it should be used as a generic cross-chain DeFi ecosystem, as, by definition, it cannot provide as much security as simply using a secure layer 1.”

Bukov noted the possibilities of this hack being replicated with bridges on other blockchain networks as well:

“Historically speaking, there have been cases of one party exploiting code and then copycats seizing on this initial exploit. In 2017, a series of multisignature Ethereum wallets had their underlying code hacked. In this instance, several follow-up hacks occurred by other actors seizing on the same vulnerability.”

This hack could be a sign for core developers of interoperable bridging protocols and other smart contract blockchain networks to proceed with caution for cross-chain smart contracts and assets and work on regular updates, audits, bug bounties, etc., to plug costly loopholes like these in their operations.

Continue reading with Cointelegraph
FTX acquires Japan's FCA-licensed crypto exchange Liquid
American billionaire and CEO of crypto exchange FTX Sam Bankman-Fried announced that his company acquired Japanese crypto firm Liquid Group and its subsidiaries. As...
Price analysis 12/20: BTC, ETH, BNB, SOL, ADA, XRP, LUNA, AVAX, DOT, DOGE
Bitcoin (BTC) continues to lose ground in December, a signal that traders may be locking in their gains before the end of the year. The lack of a Santa...
$1.1B in Bitcoin options expire on Friday, but data points to a sub-$55K BTC price
Bitcoin (BTC) bulls are still licking their wounds from the bloody Dec. 4 correction, which saw the price collapse from $57,000 all the way to $42,000....
Here’s why Bitcoin losing $6K in hours was good for BTC price action
Bitcoin (BTC) traded just below $65,000 on Nov. 11 after an overnight correction canceled out previous snap gains.BTC/USD 1-hour candle chart (Bitstamp)....
SEC reportedly knocks back Valkyrie's leveraged Bitcoin ETF
Reports are emerging that the U.S. Securities and Exchange Commission has rejected one, or possibly two, recent Bitcoin exchange-traded fund applications...
BoE deputy gov: Regulators should pursue crypto as a ‘matter of urgency’
Jon Cunliffe, deputy governor for financial stability at the Bank of England, said the risks of a growing crypto market on the financial system are “relatively...
Almost half of crypto owners turn to celebs like Kim Kardashian for advice: Survey
A new survey has revealed bleak insights into the apparent willingness of retail investors to follow digital asset advice from the social media accounts...
JPMorgan sounds alarm over ‘frothy’ crypto markets after August boom
JPMorgan analysts have warned clients that cryptocurrency markets are looking frothy after the August trading boom saw spot market trading volumes once...
The great crypto flippening: Can Ethereum overtake Bitcoin?
“Ethereum’s ascent to the top of the cryptoverse seems unstoppable,” declared Nigel Green in mid-August, and it’s not hard to see why the deVere CEO thinks...
Congressman takes aim at peers who think crypto could cause a ‘financial 9/11’
Representative Ted Budd of North Carolina, a member of the House Financial Services Committee and Congressional Blockchain Caucus, has urged lawmakers to...
Altcoins pump while traders anticipate a lower support test from Bitcoin
Bitcoin (BTC) bulls are locked in a battle with bears in order to take control of the $40,000 level and dovish comments from U.S. Federal Reserve Chair...
Here's why pro traders expect further downside from Ethereum price
Derivatives data shows that Ether (ETH) traders are feeling less bullish when compared to Bitcoin (BTC). Even though the altcoin captured a nearly 200%...
Ether Expected to Outperform Bitcoin Before 2019, Survey Shows
Different participants in the sphere of blockchain expect the leading cyber coins in the world – bitcoin and ether – to prosper and their price to more...
Wozniak Says 7 of His Bitcoins Stolen, Explains Why He Sold Most Of BTC Units
Blockchain might not be as secure as media expected. Apple’s co-founder Steve Wozniak, who recently sold out most of his bitcoins, revealed that seven...
Beef On The Blockchain
WhitePaper here . The companies have combined their operations to create a structure for the production and supply of organic beef from the field to...