On July 30, the decentralized finance (DeFi) space faced a significant setback as attackers exploited vulnerabilities in multiple stable pools on Curve Finance, along with several other DeFi projects. The aftermath of the attack left the ecosystem reeling from losses amounting to a staggering $24 million.
The Vyper Compiler Vulnerability: A Root Cause of the Exploit
The root cause of the exploit was traced back to specific versions (0.2.15, 0.2.16, and 0.3.0) of the Vyper compiler, a Python-based programming language used for creating smart contracts on the Ethereum blockchain. These versions had a flaw related to "malfunctioning reentrancy locks," which are vital security featur