Hacks
Beanstalk, 17 April 2022
Data as of 22 November 2026
DefiLlama's record lists Beanstalk on 17 April 2022, with $181.0M lost on Ethereum, classed as Governance, technique Flashloan Governance Attack. By amount it is the 25th largest of 1,373 incidents in the record, and the 6th largest of 2022. The account below is ours, written from the sources it links; the figures are DefiLlama's, as of 22 November 2026, and the record does not say whether they are before or after any recovery.
- Amount recorded$181.0M
- Date17 April 2022
- ClassGovernance
- TechniqueFlashloan Governance Attack
What happened
Beanstalk is an Ethereum protocol for Bean, a stablecoin that relies on credit instead of collateral. Its users governed it by voting on Beanstalk Improvement Proposals (BIPs), Immunefi’s analysis explains. At about 12:24 UTC on 17 April 2022 an attacker used a flash loan to exploit that governance process and send the protocol’s funds to a wallet they controlled, Beanstalk Farms wrote. The development team put the theft at about $77 million in non-Beanstalk user assets, taken from the protocol’s liquidity pools. CertiK estimated the attacker’s profit at about $76 million.
How it worked
The attack took two steps a day apart. First the attacker deposited Bean in the protocol, which allowed them to submit proposals, CertiK says. They filed two. BIP-18 transferred the protocol’s funds to the attacker. BIP-19 proposed sending $250,000 worth of Bean to Ukraine’s official crypto donation address, according to Immunefi.
The second step used emergencyCommit. That function executed a proposal while
voting was still open, as long as at least 24 hours had passed since it was
submitted and it had at least two-thirds of the vote. The ordinary commit path
executed only proposals whose voting had closed, so it was out of a flash loan’s
reach. Voting power came from assets deposited in Beanstalk’s Silo, including
Curve liquidity tokens that paired Bean with other stablecoins. CertiK
identifies the root cause: those tokens could be created with borrowed money,
and the protocol had no defence against flash loans.
Once the 24 hours had passed, the attacker flash-borrowed about $1 billion in
DAI, USDC and USDT from Aave, plus Bean from Uniswap and LUSD from SushiSwap,
Immunefi says. The attacker turned this into Bean-pool Curve tokens and
deposited them, which gave BIP-18 more than 78 per cent of the vote (CertiK). In
the same transaction the attacker called emergencyCommit. BIP-18’s code ran
through delegatecall and moved the pooled assets to the attacker’s contract.
The attacker then withdrew the underlying liquidity, repaid every loan and kept
the rest. CertiK’s trace shows 250,000 USDC going to the Ukrainian donation
address.
Afterwards
The Beanstalk Farms team shut off governance, paused the protocol and burned the Beans left in the exploiter’s contract, its post says. CertiK’s trace shows the attacker’s ether going to Tornado Cash about three hours after the attack. Beanstalk Farms proposed relaunching a more secure version of the protocol. The plan aimed to attract enough new capital to restart it while preserving as much of existing users’ positions as possible.
Account reviewed 22 November 2026. The facts in it come from the sources linked in the text; the figures above are DefiLlama's record, which places it on Ethereum and files the target as DeFi Protocol.
In DefiLlama's record
| Date | Incident | Class | Technique | Chains | Amount |
|---|---|---|---|---|---|
| 2022-04-17 | Beanstalk | Governance | Flashloan Governance Attack | Ethereum | $181.0M |
More from the record: every incident in 2022, Governance, and the whole record.
Other large incidents in 2022
| Date | Incident | Class | Technique | Chains | Amount |
|---|---|---|---|---|---|
| 2022-03-23 | Ronin Bridge | Key Compromise | Validator Key Compromised | Ethereum | $624.0M |
| 2022-10-06 | Binance Bridge | Bridge & Cross-Chain | Proof Verifier Bug | BSC | $570.0M |
| 2022-11-12 | FTX | Social Engineering | Phishing | Ethereum, Solana | $450.0M |
| 2022-02-02 | Portal | Input Validation | Signature Verification Flaw | Solana | $326.0M |
| 2022-08-01 | Nomad | Bridge & Cross-Chain | Forged Proof | Ethereum | $190.0M |
| 2022-09-20 | Wintermute | Social Engineering | Phishing | Ethereum | $160.0M |
| 2022-10-11 | Mango Markets V3 | Oracle Manipulation | Spot Price Manipulation | Solana | $115.0M |
| 2022-06-05 | Elrond | Token & Share Accounting | Infinite Mint | MultiversX | $113.0M |
| 2022-06-23 | Harmony Bridge | Key Compromise | Validator Key Compromised | Ethereum, BSC | $100.0M |
| 2022-05-01 | Rari Capital | Reentrancy | Reentrancy | Ethereum, Arbitrum | $80.0M |
| 2022-01-28 | Qubit | Input Validation | Missing Input Validation | BSC | $80.0M |
| 2022-03-23 | Cashio | Input Validation | Missing Input Validation | Solana | $52.8M |
Source: DefiLlama, retrieved 22 November 2026, under its open methodology. Figures are a dated snapshot, not a live feed.