Curve Finance Liquidity Pools Under Continuous Attack

Curve Finance Liquidity Pools Under Continuous Attack

After the incidents with Conic Finance and JPEG'd, several projects related to Curve Finance's liquidity pools are also under attack.

Series of Attacks on Curve's Liquidity Pools

The issue didn't just start this week; it dates back to last week (21/07), when Conic Finance was drained of assets due to its association with LP Tokens on Curve Finance.

On the evening of 30/07, the NFT lending project JPEG'd reported an exploit in its pETH-ETH liquidity pool on Curve Finance, losing up to $11 million.

Another project affected on the same night was Metronome, with $1.6 million lost due to an exploit.

Alchemix's alETH was also a victim, originating from a Curve liquidity pool, with estimated losses of $13.6 million.

"alETH curve pool hit (possibly whitehat, i saw team in discussion with security?) for 13.6m." — Spreek (@spreekaway) July 30, 2023

Further reports indicated vulnerabilities in deBridge and Ellipsis, with total losses reaching $26.76 million by 00:00 AM on 31/07.

Potential Causes

At the time of writing, there is no detailed report on the exact causes of the multiple exploits related to Curve’s liquidity pools. However, the community speculates two main reasons:

  1. Vulnerabilities in VyperLang Versions 0.2.15/0.2.16/0.3.0: The anti-reentrancy guards in these versions were ineffective, allowing multiple reentrancy attacks to drain funds from the liquidity pools.
  2. Exploitation of the "get_virtual_price" Function: According to a ChainSecurity document, this function, used to determine the market price of LP Tokens on Curve Finance, could be exploited by hackers to manipulate oracle prices and create reentrancy loops to drain funds.

The former reason likely explains recent exploits within Curve’s pools (Alchemix, JPEG'd, and Metronome), while earlier incidents, such as with Conic Finance, may be due to the latter reason.

Updates from the Team

The Curve team has stated that volatile pools and pools related to stETH, frxETH, cbETH, rETH, and sETH are still safe.

Curve confirmed that the affected liquidity pools were using Vyper versions 0.2.15, 0.2.16, and 0.3.0. Both the Curve team and the Vyper development team are investigating the issue and calling for affected projects to reach out directly.

An anonymous security expert with the Twitter handle pcaversaccio announced a large-scale rescue operation for the at-risk pools, calling for affected projects to contact them.

CRV Token Price Movements

The CRV token has experienced significant volatility, dropping over 4.5% to $0.699.

The continuous attacks on Curve Finance highlight the importance of robust security measures and prompt responses to vulnerabilities to protect DeFi projects and their users.

Read more