Curve Finance (Backtest: 2023-06-01)
Vyper compiler reentrancy bug — multiple Curve pools using Vyper 0.2.15/0.2.16/0.3.0 were exploited due to a compiler bug in the reentrancy lock, allowing attackers to drain pools (alETH, msETH, pETH pools hit hardest)
What Hindenrank Would Have Said
As of June 1, 2023
“Moderate risk — strong track record and dominant market position in stablecoin trading are offset by single-language compiler dependency, novel untested mechanisms in crvUSD, and systemic concentration risk from founder's personal CRV loans.”
Scenario Predicted the Failure Mode
The B- grade (35/100) did not cross the D+ threshold for a high-risk flag. However, our collapse scenario analysis predicted the exact failure mode that occurred.
Flagged by dimensions: Interaction Severity, Scale Exposure
One or more collapse scenarios directly matched the actual failure mode.
Top Risks Identified
- 1.All Curve smart contracts are written exclusively in Vyper, creating a single-language compiler dependency. A compiler-level vulnerability could simultaneously affect multiple pools across the protocol, an unusual concentration risk compared to protocols using Solidity's more battle-tested toolchain.
- 2.Curve founder Michael Egorov holds approximately 47% of CRV supply as collateral for personal stablecoin loans across Aave and other lending protocols. A significant CRV price decline could trigger cascading liquidations that destabilize the CRV token and undermine the veCRV governance model.
- 3.crvUSD's novel LLAMMA soft-liquidation mechanism launched May 3, 2023 and has less than one month of production history. The mechanism converts collateral into LP positions during liquidation, creating complex dynamics that have not been tested through a major market stress event.
- 4.Concentration of veCRV voting power in meta-governance protocols (Convex controls ~50% of veCRV) creates governance capture risk where CRV emission direction is effectively controlled by a small number of external protocols.
Collapse Scenarios
Vyper Compiler Bug Causes Multi-Pool Exploit
ModerateA vulnerability is discovered in a Vyper compiler version (0.2.x or 0.3.x) used by deployed Curve pools, enabling re-entrancy or storage corruption attacks across multiple pools simultaneously
The Vyper ecosystem is smaller and less battle-tested than Solidity/OpenZeppelin. Compiler bugs have historically been a category of smart contract risk (Solidity optimizer bugs in 2020-2021). The DNS hijack of Curve in August 2022 demonstrated that the protocol's infrastructure has been targeted before.
Founder CRV Liquidation Cascade Triggers DeFi Contagion
ModerateCRV token price drops below $0.40 sustained for 48+ hours due to market downturn, whale selling, or protocol-specific negative event, approaching Egorov's liquidation thresholds across lending platforms
The November 2022 Avraham Eisenberg CRV short attack demonstrated the fragility of this setup. Eisenberg borrowed 88M CRV to short, and while the attack failed, it left Aave with $1.6M in bad debt and exposed the systemic risk of concentrated CRV collateral positions.
See how today's protocols score
The same 8-dimension rubric applied to 672+ live protocols.