Crypto

Curve Finance’s $62M exploit exposes larger issues for DeFi ecosystem

Comment

blocks and chains over binary code
Image Credits: Getty Images

Hackers stole around $62 million from Curve Finance on Sunday, causing a ripple effect throughout the crypto sector and raising questions about the strength of the decentralized finance ecosystem.

Curve is one of the largest decentralized exchanges (DEX) in the crypto market today, with about $1.67 billion in total value locked (TVL), according to data on DeFi TVL aggregator DeFiLlama.

A handful of DeFi projects’ pools were also hacked, including PEGD’s pETH/ETH: $11 million; Metronome’s msETH/ETH: $3.4 million; Alchemix’s alETH/ETH: $22.6 million; and Curve DAO: around $24.7 million, according to LlamaRisk’s post-exploit assessment.

A bug found in older versions of the Vyper compiler contract programming language caused a failure in a security feature used by a handful of Curve liquidity pools. An admin in Curve Finance’s Telegram group declined to comment further to TechCrunch+ and referred us back to the post-exploit assessment.

By crypto standards, this wasn’t considered a “big” hack; Curve is a massive DEX, and this hack makes up about 4% of its TVL. A portion of the exploit was done by white hat hacker user c0ffeebabe.eth, who returned 2,879 ether, roughly $5.4 million, to Curve, according to on chain data.

But this exploit isn’t the only problem Curve — and the broader crypto space — is facing.

Curve founder Michael Egorov has a $100 million loan backed by 427.5 million of the DEX’s token, CRV. That’s around 47% of the entire circulating supply of CRV, according to Delphi Digital, a research and data platform. The token’s price dropping could spell bad news for the health of Curve and could create even more volatility in the broader DeFi ecosystem.

Egorov borrowed about 63.2 million tether from Aave Protocol V2, against collateral of 305 million CRV, which will be liquidated if the CRV/USDT pair drops to 37 cents, Delphi wrote. As it stands, CRV is down 19% to 59 cents from 73 cents before the Sunday attack, according to CoinMarketCap data. (Aave reached out to TechCrunch post-publication to note that its latest update released this January would make similar actions harder to take.)

Next in store

If Egorov hits that liquidation level, it could result in the CRV collateral backing the loan being sold off into an already shaky market, creating even more volatility in the broader DeFi ecosystem.

In November 2022, Curve Finance tweeted that both Solidity and Vyper are “good” if the code is well written and tested, and errors usually come from developers of the contract, not compilers. “But compilers are not bug-free,” Curve also wrote. One ApeWorX developer and Vyper contributor tweeted that code compilers don’t get “reviewed or audited as much as you think.”

In general, whenever any code-based system or project is updated, it should be audited and battle tested to avoid situations where exploits can occur. But that’s not always the case, especially in the crypto ecosystem where security isn’t always prioritized by many entities, both small and large.

However, security levels of crypto projects have improved significantly in the past few years, Ronghui Gu, CEO and co-founder of security-focused auditing firm CertiK previously told TechCrunch+. Before the decentralized finance wave, or “DeFi Summer,” in 2020, most projects only did audits to launch tokens, Gu said. “Now I’d say most projects are audited.”

One would expect that some of the biggest DeFi protocols like Curve would have security measures in place, even for automated smart contracts that execute without a middleman. But Curve’s vulnerability came from the Vyper compiler that reads the code, not its smart contract code. So who’s really to blame here? There’s not really one answer. Again, Curve declined to comment.

As Curve’s exploit shows, nothing is 100% certain and code updates can create significant opportunities for bad actors. (This is not new; recall Microsoft Windows operating system’s history of new versions, and new exploits.)

“Another pool potentially affected is Arbitrum’s Tricrypto pool,” the LlamaRisk report stated. “Auditors and Vyper devs could not find a profitable exploit, but Curve is advising LPs to exit that pool as a precaution.”

Going forward

Aside from the obvious multimillion-dollar hole left in the Curve community, there’s potential that the bigger crypto ecosystem will see more aftereffects given the potential for Egorov’s liquidation. Other exploits may also be waiting in the shadows if others using the Vyper code don’t act fast enough to fix the vulnerability.

The DeFi market has over $40 billion in TVL, according to DefiLlama, meaning that there’s potential for serious damage if contagion spreads across the ecosystem. If Egorov’s position gets liquidated, any DeFi protocol and project that integrate CRV tokens as collateral are at risk of being affected, possibly unleashing a domino effect.

Some crypto market players, like Tron founder Justin Sun, announced that they stepped in to “partner” with Curve. A crypto wallet linked to Sun acquired about 5 million CRV tokens from Egorov for $2 million USDT in a likely over-the-counter deal, according to security firm PeckShield.

By buying CRV tokens, one could speculate that it was done to help prevent the token from crumbling further, but we’ll see if Sun’s actions, and others’, hold up the cryptocurrency’s price enough.

To get a roundup of TechCrunch’s biggest and most important crypto stories delivered to your inbox every Thursday at 12 p.m. PT, subscribe here.

More TechCrunch

The Series C funding, which brings its total raise to around $95 million, will go toward mass production of the startup’s inaugural products

AI chip startup DEEPX secures $80M Series C at a $529M valuation 

A dust-up between Evolve Bank & Trust, Mercury and Synapse has led TabaPay to abandon its acquisition plans of troubled banking-as-a-service startup Synapse.

Infighting among fintech players has caused TabaPay to ‘pull out’ from buying bankrupt Synapse

The problem is not the media, but the message.

Apple’s ‘Crush’ ad is disgusting

The Twitter for Android client was “a demo app that Google had created and gave to us,” says Particle co-founder and ex-Twitter employee Sara Beykpour.

Google built some of the first social apps for Android, including Twitter and others

WhatsApp is updating its mobile apps for a fresh and more streamlined look, while also introducing a new “darker dark mode,” the company announced on Thursday. The messaging app says…

WhatsApp’s latest update streamlines navigation and adds a ‘darker dark mode’

Plinky lets you solve the problem of saving and organizing links from anywhere with a focus on simplicity and customization.

Plinky is an app for you to collect and organize links easily

The keynote kicks off at 10 a.m. PT on Tuesday and will offer glimpses into the latest versions of Android, Wear OS and Android TV.

Google I/O 2024: How to watch

For cancer patients, medicines administered in clinical trials can help save or extend lives. But despite thousands of trials in the United States each year, only 3% to 5% of…

Triomics raises $15M Series A to automate cancer clinical trials matching

Welcome back to TechCrunch Mobility — your central hub for news and insights on the future of transportation. Sign up here for free — just click TechCrunch Mobility! Tap, tap.…

Tesla drives Luminar lidar sales and Motional pauses robotaxi plans

The newly announced “Public Content Policy” will now join Reddit’s existing privacy policy and content policy to guide how Reddit’s data is being accessed and used by commercial entities and…

Reddit locks down its public data in new content policy, says use now requires a contract

Eva Ho plans to step away from her position as general partner at Fika Ventures, the Los Angeles-based seed firm she co-founded in 2016. Fika told LPs of Ho’s intention…

Fika Ventures co-founder Eva Ho will step back from the firm after its current fund is deployed

In a post on Werner Vogels’ personal blog, he details Distill, an open-source app he built to transcribe and summarize conference calls.

Amazon’s CTO built a meeting-summarizing app for some reason

Paris-based Mistral AI, a startup working on open source large language models — the building block for generative AI services — has been raising money at a $6 billion valuation,…

Sources: Mistral AI raising at a $6B valuation, SoftBank ‘not in’ but DST is

You can expect plenty of AI, but probably not a lot of hardware.

Google I/O 2024: What to expect

Dating apps and other social friend-finders are being put on notice: Dating app giant Bumble is looking to make more acquisitions.

Bumble says it’s looking to M&A to drive growth

When Class founder Michael Chasen was in college, he and a buddy came up with the idea for Blackboard, an online classroom organizational tool. His original company was acquired for…

Blackboard founder transforms Zoom add-on designed for teachers into business tool

Groww, an Indian investment app, has become one of the first startups from the country to shift its domicile back home.

Groww joins the first wave of Indian startups moving domiciles back home from US

Technology giant Dell notified customers on Thursday that it experienced a data breach involving customers’ names and physical addresses. In an email seen by TechCrunch and shared by several people…

Dell discloses data breach of customers’ physical addresses

Featured Article

Fairgen ‘boosts’ survey results using synthetic data and AI-generated responses

The Israeli startup has raised $5.5M for its platform that uses “statistical AI” to generate synthetic data that it says is as good as the real thing.

10 hours ago
Fairgen ‘boosts’ survey results using synthetic data and AI-generated responses

Hydrow, the at-home rowing machine maker, announced Thursday that it has acquired a majority stake in Speede Fitness, the company behind the AI-enabled strength training machine. The rowing startup also…

Rowing startup Hydrow acquires a majority stake in Speede Fitness as their CEO steps down

Call centers are embracing automation. There’s debate as to whether that’s a good thing, but it’s happening — and quite possibly accelerating. According to research firm TechSci Research, the global…

Retell AI lets companies build ‘voice agents’ to answer phone calls

TikTok is starting to automatically label AI-generated content that was made on other platforms, the company announced on Thursday. With this change, if a creator posts content on TikTok that…

TikTok will automatically label AI-generated content created on platforms like DALL·E 3

India’s mobile payments regulator is likely to extend the deadline for imposing market share caps on the popular UPI (unified payments interface) payments rail by one to two years, sources…

India likely to delay UPI market caps in win for PhonePe-Google Pay duopoly

Line Man Wongnai, an on-demand food delivery service in Thailand, is considering an initial public offering on a Thai exchange or the U.S. in 2025.

Thai food delivery app Line Man Wongnai weighs IPO in Thailand, US in 2025

Ever wonder why conversational AI like ChatGPT says “Sorry, I can’t do that” or some other polite refusal? OpenAI is offering a limited look at the reasoning behind its own…

OpenAI offers a peek behind the curtain of its AI’s secret instructions

The federal government agency responsible for granting patents and trademarks is alerting thousands of filers whose private addresses were exposed following a second data spill in as many years. The…

US Patent and Trademark Office confirms another leak of filers’ address data

As part of an investigation into people involved in the pro-independence movement in Catalonia, the Spanish police obtained information from the encrypted services Wire and Proton, which helped the authorities…

Encrypted services Apple, Proton and Wire helped Spanish police identify activist

Match Group, the company that owns several dating apps, including Tinder and Hinge, released its first-quarter earnings report on Tuesday, which shows that Tinder’s paying user base has decreased for…

Match looks to Hinge as Tinder fails

Private social networking is making a comeback. Gratitude Plus, a startup that aims to shift social media in a more positive direction, is expanding its wellness-focused, personal reflections journal to…

Gratitude Plus makes social networking positive, private and personal

With venture totals slipping year-over-year in key markets like the United States, and concern that venture firms themselves are struggling to raise more capital, founders might be worried. After all,…

Can AI help founders fundraise more quickly and easily?