Euler Finance Hack: $197M Flash Loan Attack
March 13, 2023 · Ethereum · Unknown (funds returned)
What happened
On March 13, 2023, Euler Finance — a permissionless lending protocol on Ethereum — suffered the largest DeFi hack of 2023 at the time: $197M drained via a sophisticated flash loan re-entrancy exploit. The attacker weaponized a flaw in Euler's donation mechanism (`donateToReserves`) that bypassed the health-check guard, allowing a single transaction to simultaneously hold massive debt and trigger liquidations against their own position. The hack was notable for its unexpected resolution: after failed negotiations and an on-chain ultimatum, the attacker returned $177M — keeping only ~$20M — making it one of the few DeFi exploits with a partial recovery.
How the funds moved
Flash Loan Setup
Attacker borrowed 30M DAI via flash loan from Aave v2, used it to mint eDAI (Euler's wrapped token). Simultaneous borrow and repay created a position where donated collateral artificially inflated the reserve balance without triggering the liquidity check.
donateToReserves Exploit
Euler's `donateToReserves()` function reduced the attacker's collateral without a health-factor check afterward. Combined with a large dToken (debt token) position, this left the account in a technically insolvent state that the protocol's liquidation engine couldn't resolve correctly.
Self-Liquidation
Attacker set up a second address as liquidator and self-liquidated at a discount, pocketing the liquidation bonus applied to the inflated position. This extracted real ETH, DAI, WBTC, USDC, and stETH from Euler's reserves.
Partial Recovery
Euler deployed security researchers and negotiated on-chain. The attacker sent multiple messages via tx calldata. On March 25, the full $177M was returned in two tranches — DAI and ETH — following an ultimatum. The team later offered a $1M bounty to identify the attacker.
Key findings
Exploiter Address
Root Cause
Funds Recovered
Key Timeline
Investigate your own incident
ChainHint traced the Euler Finance hack in minutes.
Use the same tool for your case.