DeFi ‘circuit breaker’ could drastically reduce hacks and thefts

A newly proposed Ethereum ERC standard would make it easy to adopt sensible rate limiting on many DeFi protocols

article-image

Sutiwat Jutiamornloes/Shutterstock, modified by Blockworks

share

When things go wrong for a DeFi protocol, they tend to do so spectacularly.

Through the first half of 2023 alone, around $292 million has been lost across 85 DeFi security incidents, according to statistics from Beosin, a blockchain security firm.

“DeFi projects experienced the highest frequency of attacks and the highest amount of losses compared to other project types,” the firm wrote in a research report released Tuesday.

Meir Bank and Philippe Dumonet are out to change that with their proposed ERC-7265 “Circuit Breaker” specification.

The ERC — or “Ethereum request for comment” — published Monday, is devised as a “temporary halt on protocol-wide token outflows when a threshold is exceeded for a predefined metric.”

The authors studied the typical usage of DeFi dapps and found that it is rarely the case that a protocol experiences a sudden drawdown of upwards of 25% — except when there’s a hack or exploit in progress.

The proposal aims to reduce the attack surface of a protocol, by delaying or reverting value outflows beyond a configurable threshold.

Although some individual dapps have their own bespoke implementations of such limits, this is  the first such serious attempt at a standardized circuit breaker, Dumonet, co-founder of DeReg told Blockworks.

“Security has been a massive plague both for the reputation and adoption of the space,” Dumonet said. “Nobody wants to risk their capital in something that has a high perceived chance of being lost.”

Dumonet notes that the approach does not introduce any new centralization risk to all but the most decentralized dapps, “which is unfortunately quite rare in DeFi.”

Meir Bank, co-founder of Hydrogen Labs and developer of Fluid Protocol is “a big fan” of fully decentralized protocols such as Liquity, he told Blockworks. But he predicts a future in which they predominate is five to 10 years away.

“That’s just not what’s causing billions of dollars to be lost by real people, and all these companies to fire all their employees and go down, and good technology to be lost when these hacks happen and the companies can’t recover,” Bank said.

The project started during a hackathon at ETHGlobal Tokyo in April, inspired by the efforts of Cosmos DeFi dapp Umee, which implemented rate limiting. Bank set out to tackle the problem for Ethereum, to reduce risk of exploits that have affected many promising applications such as Euler — the victim of the largest this year, per Beosin.

“We’re still hoping to get some more feedback from the Ethereum community,” Bank said.

One drawback could be the occasional “false positive” which could, in theory, be considered a denial of service attack on a protocol, he said. But the Circuit Breaker contains a host of customizable parameters to minimize this risk.

The pair hopes that their standard will be adopted by developers of existing dapps as well as new ones coming in the future.

“It’s easier for new protocols that are just launching to integrate that, but it’s also quite feasible for protocols that are already in the wild to let developers know and migrate into the system,” Bank said.


Start your day with top crypto insights from David Canellis and Katherine Ross. Subscribe to the Empire newsletter.

Explore the growing intersection between crypto, macroeconomics, policy and finance with Ben Strack, Casey Wagner and Felix Jauvin. Subscribe to the On the Margin newsletter.

The Lightspeed newsletter is all things Solana, in your inbox, every day. Subscribe to daily Solana news from Jack Kubinec and Jeff Albus.

Tags

Upcoming Events

Salt Lake City, UT

MON - TUES, OCT. 7 - 8, 2024

Blockworks and Bankless in collaboration with buidlbox are excited to announce the second installment of the Permissionless Hackathon – taking place October 7-8 in Salt Lake City, Utah. We’ve partnered with buidlbox to bring together the brightest minds in crypto for […]

Salt Lake City, UT

WED - FRI, OCTOBER 9 - 11, 2024

Permissionless is a conference for founders, application developers, and users. Come meet the next generation of people building and using crypto.

recent research

Research Report Templates (1).png

Research

Solana Mobile is a highly ambitious foray into the mobile consumer hardware market, seeking to open up a crypto-native distribution channel for mobile-first applications. The market for Solana Mobile devices has demonstrated a phenomenon whereby external market actors (e.g. Solana-native projects) continuously underwrite subsidies to Mobile consumers. The value of these subsidies, coming in the form of airdrops, trial programs, and exclusive NFT mints, have consistently covered the cost of the phone and generated positive returns for consumers. Given this trend in subsidies, the unit economics in the market for Mobile devices, and the initial growth rate and trajectory of sales, it should be expected that Solana mobile can clear 1M to 10M units over the coming years. As more devices circulate amongst users, Solana Mobile presents a promising venue for the emergence of killer-applications uniquely enabled by this mobile-first, crypto-native distribution channel.

article-image

Mt. Gox has made decent headway with repayments, but they could ramp up from here

article-image

Firm known for crypto hardware wallets set to bring another touchscreen option to consumers

article-image

Plus, BlackRock’s BUIDL is paying out steady yield — and those dividends are growing

article-image

Solana’s biggest liquid staking provider takes a meaningful step towards restaking

article-image

BLAST token skids as Season 2 points plan earns mixed reviews

article-image

Plus, a look at the top asset-gathering ETH ETFs after two days of trading