The Vulnerability of Crypto Bridges: How the $292 Million Kelp DAO Exploit Exposes a Deeper Issue
The latest crypto bridge hack, resulting in a $292 million loss for KelpDAO, underscores the ongoing vulnerability of these systems designed to connect blockchains. This incident involved the use of LayerZero's cross-chain messaging system, a common infrastructure used to transfer data and assets between blockchains. However, instead of facilitating seamless connections, bridges have repeatedly become the easiest points of failure, resulting in billions of dollars in losses over the past few years. The root cause of these exploits lies not in poor coding or careless mistakes, but in the fundamental design of bridges. At the core of the issue is the reliance on intermediaries to verify transactions between blockchains. Ideally, the second blockchain should verify the existence and locking of tokens on the first chain independently. However, this process is complex and expensive, leading bridges to outsource verification to smaller systems, which become the trusted entities. This shortcut introduces significant risk, as seen in the Kelp DAO exploit where attackers compromised nodes and fed false information into the bridge. Experts argue that bridge hacks, whether through stolen keys, faulty smart contracts, or other means, are symptoms of a deeper design flaw. The process of using bridges appears simple to users but is more complicated behind the scenes. It involves locking tokens on the original blockchain, which are then confirmed by a separate system, usually a small group of operators or validators. These operators send a message to the second blockchain, which, if accepted, results in the creation of new, wrapped tokens. The problem arises from trusting the entity that sends this message, as attackers can compromise this system and create unbacked tokens. Given the frequency of bridge failures, the question arises as to why the industry has not addressed these issues. Part of the answer lies in the priorities of projects, which often focus on quick launches, user growth, and increasing total value locked, with security taking a backseat. Building secure systems requires significant time and resources, which many DeFi projects lack. Furthermore, the rush to support more blockchains adds complexity and assumptions, increasing the risk of failures. When a bridge fails, the impact rarely remains contained, as bridged assets are used across various platforms, leading to contagion. To make bridges safer, experts suggest removing single points of failure by using independent data sources instead of shared infrastructure. Other approaches include hardware protections, better monitoring, and cryptographic verification of data. Ultimately, a fundamental shift in the design of bridges, moving away from validator-based systems, may be necessary to mitigate these risks.