Blockchain Bridges: A Security Perspective

PUBLISHED ON
Apr 19, 2024
WRITTEN BY
Sarah Imran
DURATION
5 min
CATEGORY
DeFi, insights
Gaming
Wallet
DeFi

The Blockchain Interoperability Problem

Interoperability has been a long withstanding problem in the blockchain space. Many argue that the very benefits of decentralization and trustlessness that this technology is built on have resulted in a major communication gap between blockchains- each instead continuing to function independently with separate goals and distinct audiences. In fact, some have even gone so far as to say that the limitations of interoperability between blockchains are hindering the technological advancement of our community.

Currently, there are many issues that blockchain interoperability can help solve. As of now, over 100 public blockchains are active, including major names like Bitcoin, Ethereum, and Ripple. Decentralized apps are built on top of these blockchains, due to which they are forced to transact using only those tokens which are native to them- isolating them from the majority of liquidity in the crypto space which is being offered on other blockchains. As a result, a fragmentation of liquidity is seen, which is then distributed across hundreds of exchanges. This can contribute to bigger problems like increased fees and slippage, as a larger order may need to be carried out over several exchanges, each with relatively shallow liquidity.

Another missing link that interoperability may solve is the lack of composable application infrastructure currently present in the blockchain space. Composability can be understood as building on top of existing parts of a system to create something new. The result is a much more efficient solution with the potential to become even more innovative. By making the infrastructure of an application composable, resources can be consumed as needed as well. In the blockchain world, this can only be done with interoperability solutions that work to bridge the gap between different blockchains.

Blockchain Bridges

To combat these growing issues, the concept of blockchain bridges has emerged as a potential solution. Similar to how bridges in the real world act as a merger between two pieces of land separated by water, blockchain bridges link two independently functioning blockchains together. Users can then use this technology to achieve a variety of tasks, including the transfer of assets, cross-chain lending, and execution of dapps on many platforms instead of just one. 

To further understand the concept of bridges, we can compare their architecture to oracles, a more common occurrence seen on the blockchain. Oracles work similarly to bridges in the sense that their objective is to provide the blockchain with a connection. However, the difference here is that oracles feed data from off-chain sources to the blockchain, while bridges are developed to establish links between blockchains. Oracles are also usually centralized third parties and bring about trust conflicts within the ecosystem as well.

The blockchain community has seen an explosion of interoperability solutions this past year alone, with over 40 different bridge projects operating currently. Many of these projects have a centralized structure, requiring users to place their trust in a central body which is required for the bridge to operate. These are known as federated bridges, and may use proof of stake (POS) or proof of authority (POA) to facilitate bridging. However, some are working towards decentralized or trustless solutions as well, such as Bifrost and Interlay.

A Bigger Emphasis on Security

Recently, Poly Network was attacked by a hacker who managed to steal a record $600M by manipulating a design flaw in the contract code. The interoperability protocol allows different heterogeneous blockchains to work with each other under its own platform. As a result, the hacker was able to steal funds from a variety of chains, including Ethereum, Binance Smart Chain, and Polygon.

For a more detailed analysis of the hack and its interesting aftermath, you can read this piece titled The Poly Network Hack: Who To Blame?

Unfortunately, this was not a lone case. Earlier this year, the cross-chain asset bridge ChainSwap was also attacked, losing over $8M in crypto assets from various protocols. In the same year, cross-chain DeFi protocol pNetwork was also swindled out of $12M due to a bug in their codebase.

These events, though unfortunate, teach us a powerful lesson on the importance of security. As blockchain bridges and other interoperability solutions work to connect different blockchains together, the responsibility they hold is even more paramount. This is further discussed in academic literature as well. A research piece titled “A Survey on Blockchain Interoperability: Past, Present, and Future Trends” addressed both the advantages and limitations of blockchain bridges and other cross-chain solutions in detail, highlighting open issues and challenges currently present in the blockchain interoperability landscape. The paper cited the gap between theory and practice, discoverability, privacy and security, and governance as the most relevant issues of interoperability today.

At the end of the day, it should be understood that a product or solution is only as good as its reliability to its users. While it is true that collaboration breeds innovation, the risks associated with interesting solutions must be considered beforehand. In the blockchain world, security should always be regarded as the top priority.

Also read :

GameFi: Future of Gaming or Short-lived Gimmick?

Metaverse: Virtual Wonderland Or Capitalist Dystopia?

Cryptocurrency: Cutting-edge or Criminal?

related reports

subscribe to our newsletter !

State of security

Zunami Hack Analysis
Read More
Bonq DAOhack analysis
Read More