Yearn Finance has suffered an exploit in one of its DAI lending pools, according to the decentralized finance (DeFi) protocol’s official Twitter account.
At 5:14 p.m. ET, banteg, from the Yearn team, posted in Discord: “Attacker got away with 2.8m, dai vault lost 11.1m.”
An Aave flash loan was used to trigger the vault draining, according to an Ethereum address presumed to be associated with the exploit.
Yearn Finance is one of the leading venues in DeFi, known for always enabling depositors to recoup all their yield in the token they initially deposited. The platform recently updated to a new suite of vaults, but like any smart contract platform, the prior smart contracts persisted. According to DeFi Pulse, Yearn currently has $500 million worth of assets entrusted to it. Even on version 1, many of its pools earn annual yields of well over 20%.
Users in the Yearn Discord and Telegram channels began reporting drains Thursday afternoon. At 4:38 p.m. ET in the Yearn Discord server, Jeffrey Bongos wrote, “Anyone know why v1Dai vault is showing that I’ve lost thousands of Dai in the last few minutes?”
At a little after 5 p.m. ET, the front end of the v1 DAI vault on the Yearn website showed a loss of 1059%.
Yearn’s YFI governance token had a price drop of $4,000 on the news. Just after the attack became public, the UniWhales Twitter account reported a large sale of YFI for ETH:
The vault attacked was Yearn’s v1 DAI vault, which updated to a new investment strategy last month, according to a blog post published by the Yearn team on Jan. 23.
The vault’s strategy at the time of the attack was to deposit all funds into the “3pool” on the automated market maker (AMM) Curve. Curve’s 3pool contains DAI, USDT and USDC, allowing users to swap any of the stablecoins for another at very low slippage.