$25 000 000 USD





"Harvest Finance is an automatic yield farming protocol that helps traders take advantage of the latest DeFi platforms with the highest yield." "The DeFi space is becoming more complex as more protocols are being introduced. Harvest Finance aims to help non-savvy users yield farm and get the highest DeFi yield while saving time and money. For users who are yield farming with small amounts of capital, it may not be the most effective use of time to constantly harvest yield from the various DeFi yield farms. Constantly harvesting yield will also incur high gas cost. Harvest Finance collates capital from various yield farmers to do yield farming more effectively saving time and money for users." "[O]n October 6th, Harvest Finance published a security update stating that they were ensuring the safety of their lands via “rigorous security audits” from Peckshield, Haechi Labs, and CertiK." "The team states that its smart contracts have been audited by Haechi Labs and PeckShield."


"On October 26, 02:53:31 AM +UTC, an attacker executed a theft of funds from the USDC and USDT vaults of Harvest Finance. The attacker exploited an arbitrage and impermanent loss that influences the value of individual assets inside the Y pool of Curve.fi, which is where the funds of Harvest’s vaults were invested." "A skilled farmer used flash loans to reap $33.8 million from the FARM_USDT and FARM_USDC pools."


"The price calculation mechanism for LP deposits and withdrawals was the source of the exploit, meaning this attack could have carried over to the renBTC pool, the FARM_TUSD pool, and the FARM_DAI pool. However the hacker chose to stop after draining $25m or 17% of what was available in the FARM_USDT and FARM_USDC pools, although they could have easily continued to drain the entire pool for a total of $400m if they had so desired."


"Harvest Finance is sorry for the “engineering error,” committed to change, and kindly requests that the thief return the stolen money." "For the attacker: you've proven your point, if you can return the funds to the users, it would be greatly appreciated by the community, including many bystanders watching DeFi from afar."


"To protect users, Harvest Finance pulled the y pool and BTC Curve strategy funds to its vault adding that all stablecoin and BTC funds are secured." "LPs and Harvest developers received a reasonably sized sum of money, as the hacker chose to throw back some scraps ($2,478,549.94) to the Harvest Deployer in the form of USDT and USDC." "The $2.5 million returned by the hacker will be “distributed to the affected depositors pro-rata using a snapshot,” Harvest tweeted."

Smart contract thinks it's a good idea to give $25m to a hacker - no issues or suspicion at all. It does what it's programmed to do.


Development team asks hacker to return funds. He does - return some of them.


The decentralized finance space is still new and developing. In the meantime, it can't be considered secure. Even in the future, it's not possible to know if any exploits remain. A smart contract is pretty similar to a hot wallet.


The only secure storage of customer funds is in an offline (air-gapped) multi-signature wallet held by trained individuals.


Check Our Framework For Safe Secure Exchange Platforms

Sources And Further Reading

 For questions or enquiries, email info@quadrigainitiative.com.

Get Social

  • email
  • reddit
  • telegram
  • Twitter

© 2021 Quadriga Initiative. Your use of this site/service accepts the Terms of Use and Privacy Policy. This site is not associated with Ernst & Young, Miller Thompson, or the Official Committee of Affected Users. Hosted in Canada by HosterBox.