The Bridges of Blockchain County
Any test engineer worth her (or his) salt, and who has a bit of blockchain knowledge, will tell you that cross-chain bridges are going to be the most vulnerable to attacks, exploits, and hacks.
Those of you who are not test engineers with blockchain knowledge may wonder, "Why would that be?"
The answer is simply this: attack surfaces. But before I dig into what attack surfaces are, here is a whirlwind tour of what blockchain bridges are all about.
A bridge is something that allows users to transfer assets from one blockchain to another.
Except that you can't actually do what the previous sentence says. Digital assets aren't like Van Gogh paintings - you can't wrap them up carefully and ship them from the Kr?ller-Müller museum to the Louvre for a display, and then ship them back again a few months later.
A digital asset lives on the blockchain that it was created on, and can never move onto another system in any real sense.
But what you can do is lock up assets on one chain, and then create secondary assets on another chain, which represent the assets on the first chain, with a guarantee that if and only if the secondary assets are destroyed, the primary assets will be released again.
Except that you can't actually guarantee what the previous sentence says. Because as any test engineer worth her (or his) salt knows, software contains bugs.
And a bridge needs a lot of software on a lot of different platforms to work. The more lines of code, and the more "operating systems" that those lines of code have to run on, the more likely it is that there will be bugs.
And a bridge has three operating systems:
领英推荐
Here's an analogy: if your vault only has one door, then there is only one way for a burglar to get into it. But if your vault has two doors and a window ... well, you do the math.
And that's what attack surfaces are. They are the doors and windows to the room containing the treasure that we are trying to protect. The more doors and windows there are, the more opportunities there are for hackers to subvert the system.
And in the blockchain world, bridges have the most doors and windows. They can't avoid it.
I guess that's why Gavin Wood has taken so long to roll out features for the Polkadot ecosystem, which is all about cross-chain communication. Perhaps he's still smarting from the Parity wallet hack (150 000 ETH lost) and has become a lot more careful because of it. And that's a good thing.
It's also why I'm not impressed by Vitalik Buterin finally announcing in 2022 that bridges are risky. We knew that well before the Wormhole hack, from empirical evidence. Just look at the Poly Network hack in August last year, which saw over 600M US$ stolen. A bug in a bridge resulted in the biggest blockchain heist ever.
At this point I image some of of you are thinking, "That's a lot of criticisms, Keir, but what can we do about it?"
I am, at heart, a test engineer. Have been one since 1999. And in my experience, everything contains bugs, no matter how much effort you put into eliminating them. Software is like living in a kitchen full of aging fruit, with more bananas and mangoes arriving every day - you're going to have fruit flies, no matter how much time and effort you put into fumigating the place.
So I'll be honest: I don't know what the solution is.
There are no silver bullets that can provide 100% guaranteed bug-free secure bridging protocols, because there are no silver bullets that can provide 100% guaranteed bug-free anything.
Sorry about that.
Manager - CIO Advisory @ KPMG | Educator @ HiFi Bitcoin, A Platform for High Quality Bitcoin Education
2 年Great read. I personally am a huge proponent of self-custody. When using a bridge, you’re just trusting someone else to hold your money and not lose it.
Driving Digital Transformation in Finance | Expert in Regulation / Lawyer, Web3, Blockchain, and PropTech | Real Estate Investor
2 年Brilliantly put, what bridges (and their imminent risks) are, Keir - thx for it. Referring to your "no silver bullets" conclusion, Keir Finlow-Bates, would you thereby suggest to abstain from building inter blockchain bridges in principle, or see (and support) related developments / projects like Polkadot as a reasonable way to establish interoperability eventually ... and take the potential economic losses caused by hacking as cost of digitization, as referred to by Thy-Diep ("Yip") Ta further down in this thread ?? ?
Senior Data Analyst at New York University - Data Integrity - Office of the Bursar
2 年#blockchain #education
Experienced Unix/Linux/AIX/NVidia(GPU) Systems Engineer. SRE. DevOps. Blockchain. Able to Relocate in the United States, Canada, Mexico.
2 年Never a dull moment when Blockchain Gandalf rolls into town. I always feel like the answer is for people to listen, think, cooperate, rise above their greed, and relax their crushed egos. Is it possible for us to do this much much better? Absolutely. "In practice". Yea, never gonna happen. The whole world is too busy doing Live-Action Role-Play of actually trying. While the uber-nerds argue about block_size, the sales ninjas have constructed a massive scam machine. Periodically the Level 2 or 3 exoskeleton detaches completely from the building and collapses.