Share this article

Attacker Drains $182M From Beanstalk Stablecoin Protocol

The flash-loan attack becomes the second nine-figure DeFi exploit in a month.

Updated Apr 9, 2024, 11:14 p.m. UTCPublished Apr 17, 2022, 6:30 p.m. UTC
(Sean Stratton/Unsplash)
(Sean Stratton/Unsplash)

Beanstalk Farms, an Ethereum-based stablecoin protocol, was exploited for $182 million Sunday.

The attack was flagged on Twitter by blockchain security firm PeckShield, which said the attacker made away with at least $80 million in crypto, although the losses suffered by the protocol were much larger.

The market for Beanstalk’s BEAN stablecoin collapsed as a result of the attack. At press time, the token was down 86% from its $1 peg, according to CoinGecko.

When reached for comment, Beanstalk pointed CoinDesk to a post in its Discord server summarizing how the attack occurred.

According to the summary, the attacker took out a flash loan on lending platform Aave, which was used to amass a large amount of Beanstalk’s native governance token, stalk. With the voting power granted by these stalk tokens, the attacker was able to quickly pass a malicious governance proposal that drained all protocol funds into a private Ethereum wallet.

According to PeckShield, the attacker laundered all stolen funds through Tornado Cash, which enables users to send and receive crypto while obfuscating its source.

Project leads wrote in the attack summary:

“Beanstalk did not use a flash loan resistant measure to determine the % of Stalk that had voted in favor of the [governance proposal]. This was the fault that allowed the hacker to exploit Beanstalk.”

Beanstalk’s smart contracts were audited by the blockchain security firm Omnicia. However, the audit was completed before the introduction of the flash loan vulnerability, the firm said in a Sunday post-mortem.

Beanstalk declined to provide details to CoinDesk regarding whether funds would be reimbursed to users, saying more news will be coming in a town hall event scheduled for Sunday.

The attacker appeared to donate $250,000 of the stolen funds to a Ukrainian relief wallet, according to PeckShield.

This is the latest in a string of major decentralized finance (DeFi) exploits to occur in the past few weeks. In March, Axie Infinity’s Ronin Blockchain was exploited for $625 million in an attack that U.S. officials have linked to North Korea.

UPDATE (April 18, 14:19 UTC): Added information about Tornado Cash.

Sam Kessler

Sam is CoinDesk's deputy managing editor for tech and protocols. His reporting is focused on decentralized technology, infrastructure and governance. Sam holds a computer science degree from Harvard University, where he led the Harvard Political Review. He has a background in the technology industry and owns some ETH and BTC. Sam was part of the team that won a 2023 Gerald Loeb Award for CoinDesk's coverage of Sam Bankman-Fried and the FTX collapse.

Picture of CoinDesk author Sam Kessler
  翻译: