Yearn Finance Hack
What happened
The legacy iEarn yTUSD vault was exploited through a misconfigured Fulcrum adapter and fragile share accounting. Its adapter referenced an sUSD market although the vault paid withdrawals in TUSD. The attacker manipulated the recorded pool value and inflated the supply of yTUSD used in Curve's yPool.
The Fulcrum adapter referenced iSUSD rather than a TUSD lender. Accounting included the donated lending token but ignored redeemed sUSD, allowing the recorded pool value to collapse and the share-minting formula to issue excessive yTUSD.
How it happened
- Flash-loaned liquidity established positions in the affected vault and pools.
- Donating iSUSD inflated the TUSD vault's reported value, enabling excess TUSD redemption.
- Rebalancing converted iSUSD to sUSD that the accounting ignored. With recorded pool value reduced to dust, a small TUSD deposit minted an enormous number of yTUSD shares.
- The attacker exchanged those shares through Curve's yPool and unwound the flash loan.
Protocol details
Security review history
- Quantstamp View report
- PeckShield View report
Evidence
Understand the attack patterns
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.