Beanstalk (Backtest: March 2022)
Attacker used flash loans ($1B+ from Aave, Uniswap V2, SushiSwap) to acquire BEAN3CRV-f and BEANLUSD-f Curve LP tokens, deposited them in the Silo to obtain ~79% of total Stalk governance voting power (exceeding the 2/3 supermajority threshold), and called emergencyCommit on BIP-18, a pre-submitted malicious governance proposal that transferred all Silo deposits and protocol-held assets to the attacker address. The entire attack occurred in a single Ethereum transaction. Beanstalk had no timelock on governance execution and no flash-loan resistance on voting power acquisition. The Omnicia audit had not covered the emergencyCommit function or LP token whitelisting.
What Hindenrank Would Have Said
As of March 1, 2022
“High risk: novel uncollateralized stablecoin with critical governance vulnerability (no timelock, no flash-loan resistance) and unaudited attack surface.”
Grade Predicted This Failure
Flagged by dimensions: Mechanism Novelty, Interaction Severity, Oracle Surface, Track Record
One or more collapse scenarios directly matched the actual failure mode.
Top Risks Identified
- 1.On-chain governance with emergencyCommit function allows proposals to execute immediately upon reaching a 2/3 supermajority vote, with no enforced timelock delay. Governance voting power is derived from Stalk tokens, which can be acquired by depositing assets (including LP tokens) into the Silo, creating a potential flash-loan governance attack vector where an attacker borrows assets, deposits them, votes, and executes a malicious proposal in a single transaction.
- 2.Beanstalk is an uncollateralized algorithmic stablecoin that relies entirely on a credit-based mechanism (Pods/Soil/Weather) to maintain its $1 peg. If confidence in Bean creditworthiness declines, the protocol must offer increasingly high Weather (interest rates) to attract lenders, creating a reflexive debt spiral: below-peg conditions require more debt issuance, which further erodes confidence in the protocol ability to repay.
- 3.The protocol uses Curve pool spot prices (BEAN3CRV-f, BEANLUSD-f) as its effective price oracle for peg maintenance decisions without multi-block MEV-resistant TWAP protection or Chainlink fallback. This makes Season-level supply adjustments vulnerable to single-block price manipulation.
- 4.Omnicia audited the Beanstalk smart contracts, but the audit was completed before governance changes that introduced the emergencyCommit function and LP token whitelisting for Silo deposits. The most critical attack surface (governance + flash loans) was never formally audited.
Collapse Scenarios
Flash-Loan Governance Takeover via emergencyCommit
ElevatedAn attacker acquires enough flash-loaned capital (estimated $1B+ from Aave, Uniswap, SushiSwap) to create BEAN3CRV-f and BEANLUSD-f LP positions, deposits them in the Silo to obtain >67% of total Stalk voting power, and calls emergencyCommit on a pre-submitted malicious BIP, all within a single Ethereum transaction.
The Beanstalk governance mechanism has structural similarities to the early Compound governance design, but critically lacks a timelock contract. Flash loan governance attacks have been theorized since 2020 (MakerDAO governance forum discussions). The combination of (a) no flash-loan resistance on voting power acquisition and (b) an emergencyCommit that bypasses the voting period creates a more direct attack path than previously seen in DeFi governance.
Credit-Based Peg Death Spiral via Weather Exhaustion
ModerateSustained below-peg trading (BEAN < $0.95 for >72 hours) combined with declining confidence in the credit model, causing Soil demand to dry up despite Weather rates exceeding 500%.
The Basis Cash (BAC) and Empty Set Dollar (ESD) algorithmic stablecoins both experienced credit/seigniorage death spirals in early 2021 when their debt instruments (bonds/coupons) failed to attract buyers during below-peg periods. Both protocols stablecoins lost their peg permanently. Terra/UST uses a different mechanism but shares the fundamental reflexivity risk of algorithmic stablecoins without collateral backing.
Curve Pool Oracle Manipulation Causing Erroneous Supply Adjustments
ModerateAn attacker manipulates the BEAN3CRV-f Curve pool price within a single block to trick Beanstalk Season oracle into making incorrect supply adjustments, specifically minting Beans when the true market price is at or below peg.
Oracle manipulation via AMM pool price distortion has been exploited in multiple DeFi protocols, including Harvest Finance (October 2020, $34M loss via Curve pool manipulation) and Warp Finance (December 2020, $7.7M via LP token price manipulation). Beanstalk reliance on Curve pool spot prices for core peg maintenance decisions makes it vulnerable to the same class of attack.
See how today's protocols score
The same 8-dimension rubric applied to 672+ live protocols.