Aave’s exposure to Curve hack, explained
If CRV dips below 65%, it will be at risk of liquidation
Akif CUBUK/Shutterstock modified by Blockworks
Decentralized exchange Curve Finance saw exploits of over $70 million on Sunday, caused by a Vyper reentrancy lock malfunction.
There had been a bug in versions 2.15 to 3.0 of the Vyper coding language, curvecap.lens explained in an X space.
Vyper code incorporates built-in reentrancy protection, which prevented developers and auditors from noticing potential issues during external inspections.
So what has Aave got to do with all of this?
Founder of Curve, Michael Egorov, has a loan of roughly $63 million in USDT using CRV as collateral on Aave v2.
When liquidations do occur, collateral deposited by the borrower will be sold for the borrowed asset. In this case, this means that CRV will be sold for USDT, cascading into bad debt.
This concern has previously been flagged by Gauntlet, who had suggested freezing CRV and setting CRV’s loan to value (LTV) to zero on Aave v2.
“The amount of CRV concentrated on Aave, relative to the circulating supply of CRV, is already high. Given the limitations of V2 mechanisms, including the possibility of circumventing an LTV of 0, the only way to truly prevent more risk of this position is to prevent borrowing of all assets on V2,” Gauntlet wrote.
This proposal ultimately did not pass.
In light of the current situation, Marc Zeller, the founder of Aave-Chan Initiative, a delegate platform that contributes to AAVE governance, told Blockworks that Aave governance is aware of the CRV situation.
“The risks associated with it are gradually reduced in a stream of AIPs for the past months,” Zeller said. “Governance [is managing] this and [the] situation gradually is getting better.”
To prevent risks like this from occurring Zeller notes that users should migrate to Aave v3.
“The old Aave [v2] doesn’t have caps and that is how this situation exists. V3 does and makes this kind of scenario impossible there,” he said.
Correction Aug. 15 2023 at 3:53 am ET: Egorov’s Aave loan at time of publication was $63 million not $70 million.
Don’t miss the next big story – join our free daily newsletter.