Securing bridges by disturbing trust / Georgios

Prague DeFi Summit 2023 · June 2023 · 5:32

Georgios presents Hashi, a framework for additive security in cross-chain bridges. With more than two billion dollars stolen in bridge exploits in 2022, he argues that no single bridge design is fully secure. Borrowing the idea of redundant drives, Hashi aggregates several independent verification mechanisms, such as light clients, optimistic bridges and ZK bridges, behind a common block hash standard. It favours security over latency and cost, with a governance module on top, and shows an Ethereum to Gnosis Chain example.

Topics

From Prague DeFi Summit 2023, hosted by Duct Tape.

Transcript

foreign [Music] do you hear me good yeah so I want to talk to you about the concept of additive security for crocheting bridging and hash is a framework we're implementing uh that does exactly that um so first of all why do we need that essentially Bridge hacks have been quite a lot only in 2022 there are two billion and out of the top five worst hacks ever happened for four of them have affected

Bridges and not as a particular type of bridge but many different kind of security mechanisms so for one thing can we can be sure that there is 100 secure Bridge does not exist all of them have trade-offs um before we go to the framework to some layer definitions um so we can we can split British in three layers essentially so there's a transfer layer uh this can be an off chain component such as a relayer that transfers the state route of uh one chain to the other uh then there is the verification layer which is the the most important one and the toughest one the one that we're going to focus on which is ensuring that this state route that

you brought from the remote chain is essentially correct and then there is different types of verification zika light clients MPC multisigs and stuff and then there's of course the execution layer which is given a correct State Route do something with it right send some tokens or perform any kind of computation on it um we're searching for the Holy Grail for the best the most secure uh breeds mechanism right and then we've seen there are three General categories one is the fully trusted setup multi-state committee base and stuff and there's the optimistic one like Nomad maybe you've heard of it and the new type the ZK light client based one but with what we've seen the root cause for hacks were

not intentionally related to to the bridge mechanism right they were more uh related to some human errors compromised private Keys social engineering or even smart contract bugs um so then we came up with the following idea which is uh if you know like if you heard from the hardware at times or did an array of independent drives where you have two hard drives storing essentially the same things and if one fails you can you have the second one or third one if it's a failover and we thought to apply this mechanism Bridges right so we can have uh you can have many types of security mechanisms um and if one fails you can you have redundancy uh on the others so yeah what is Hashi now and the

additive security approach the main goal here is to distribute trust for business on the mechanism level so every breed so far has has relied on one specific Bridge mechanisms and we we want to change that we don't want to rely on one specific uh security mechanism uh we also want to standardize on on the lowest level which is the bridge the block hash and yeah I was going to imagine this this kind of mechanism uh prioritize security over latency and cost so this is a lot slower of course and a lot more expensive but in order to compromise that's a mechanism you need to hack multiple bridges in parallel the same time so here there is a clear trade

of security over latency and cost uh the main goal of this framework is diversification uh so you may have heard the ethereum protocol a client diversification um for the reasons that there is in case there's a zero zero day bag on one you can have failover to other mechanisms the same thing we want to do here especially the verification layer so we we want to implement different kind of zikilite clients uh different kind of mechanisms on the verification layer of course on the execution layer as well although it's not that crucial and yeah so and this is just to give you a a visual on how this actually looks

like so hash is like now uh first version is already out and the most important part is um this is shows essentially how a token Bridge would work like so one side is ethereum the other side is another chain hypnosis chain in this case and the interesting part is you can see different kind of uh the orange boxes are adapters so different kind of bridges Wormhole maybe you've heard of it A and B is a bridge implementation of the gnosis chain uh different kind of adapters so telepathies zitkey light client by Sync lab ZK breeds by another team and essentially we are aggregating all of this into Hashi and we have some um

governance module on top that will decide if this is secure or not and yeah then you can feel secure to release the tokens on the other side because you're secured essentially by four or five different Bridges you know that just one and yeah that was it if you want to learn more uh just reach out to me or check on agnosis website thank you very much [Music]

Related talks