The Kelp DAO Exploit Highlights the Vulnerability of Crypto Bridges
The latest crypto bridge hack, resulting in a $292 million exploit tied to KelpDAO, underscores the persistent vulnerability of these systems designed to connect blockchains. This incident involved KelpDAO's utilization of LayerZero's cross-chain messaging system, a widely used infrastructure for moving data and assets between blockchains. Crypto bridges are intended to facilitate the transfer of assets between different blockchains, such as from Ethereum to another network. However, instead of serving as seamless connectors, they have repeatedly become weak points, resulting in the loss of billions of dollars over the past few years. The fundamental issue lies in the structural design of bridges, which often rely on trusting intermediaries. When moving tokens from one blockchain to another, the second chain requires proof that the tokens existed and were locked on the first chain. Ideally, it would verify this independently, but in reality, this process is too complex and expensive. Most bridges do not fully verify transactions on other chains; instead, they rely on smaller systems to report this information, which becomes the trusted source. This approach creates risk, as seen in the Kelp DAO-related exploit, where attackers targeted the data feeding into the bridge, compromising nodes and feeding the system false information. Bridge hacks often manifest differently on the surface, involving stolen keys, faulty smart contracts, or other issues, but experts agree that these are symptoms of deeper design flaws. The process of using bridges appears simple to users, who merely click a button to move assets. However, behind the scenes, the process is more complicated, involving the locking of tokens on the original blockchain, confirmation by a separate system, and the sending of a message to the second blockchain to issue new tokens. The problem arises from trusting the entity that sends this message, as attackers can compromise this system and send false messages to 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 incentives, with security often not being the top priority for teams focused on quick launches, user growth, and increasing total value locked. Building secure systems requires time and money, resources that many DeFi projects lack, making it challenging to invest in audits, monitoring, and infrastructure. The integration of new blockchains adds complexity, with each connection introducing more assumptions. Bridge hacks can have far-reaching consequences, as compromised assets are used across lending protocols, liquidity pools, and yield strategies, potentially leading to contagion. Users are rarely informed about the inner workings of bridges or the potential risks. To make bridges safer, experts recommend removing single points of failure by relying on independent data sources rather than shared infrastructure. This can involve using computers that watch blockchains and report on transactions, potentially run by the bridge itself or external networks. However, many rely on the same underlying services, meaning a single compromised source can feed bad data across multiple systems. Other approaches include hardware protections, better monitoring to catch misconfigurations early, and designs that verify data directly using cryptography instead of intermediaries. Ultimately, a more fundamental shift may be necessary, as the continued reliance on validator-based bridges will likely lead to ongoing problems.