Euler Finance Hack Explained: $197M and Its Return
Part of our guide to smart contract vulnerabilities

Quick answer. The Euler Finance hack drained about $197 million through a missing donation health check and profitable attacker-controlled liquidation; negotiations later brought recoverable funds back. Comparing collateral-reducing paths and testing solvency across donations and liquidations could have exposed the failure.
Video transcript
Euler's failure was not the flash loan. A missing donation health check let collateral fall while debt remained, enabling profitable attacker-controlled liquidation.
On March thirteenth, twenty twenty-three, Euler version one was exploited. Euler Labs valued the extracted assets at about one hundred ninety-seven million dollars at attack-time prices.
Donations moved deposit balances into reserves, not into debt repayment. Unlike withdrawals and transfers, that collateral reduction lacked an equivalent account health check.
The attacker controlled both sides of the liquidation. Guardian's lesson: a healthy liquidator does not prove the borrower's remaining debt is backed.
Euler said all recoverable funds returned on April third, twenty twenty-three. That does not mean every stolen token returned. Keep negotiated returns, insurance proceeds and user claims separate.
The donation feature came from an earlier fix and underwent review. Audit counts alone cannot establish that a changed function preserves solvency.
Guardian's approach combines manual review with executable solvency tests. Check collateral reductions, examine liquidation outcomes across accounts and reserves, and rerun the suite after accounting changes. These practices are not a detection guarantee.
Read the full case study for the mechanism and recovery accounting. Scoping a lending upgrade? Talk to Guardian about donation checks, liquidation incentives and bad debt.
What Happened
Euler V1's lending pools lost assets through the interaction between reserve donations and liquidation. Contemporary reporting identified stETH, USDC, WBTC and DAI among the extracted assets.[1, 2]
Euler says the donation feature arose while fixing an earlier first-depositor vulnerability. It was a repair that introduced another failure, not simply unreviewed code.
How the Attack Worked
V1 represented deposits with eTokens, while debt was tracked separately. Its donateToReserves function moved part of the donor's eToken balance into reserves.[3]
That was an internal accounting transfer, not repayment. The donor's collateral fell, but its debt stayed in place.
Withdrawals and transfers invoked liquidity validation. Donation accounting did not perform the equivalent check after reducing the account's balance.
The missing check let an account cross the health boundary through its own action, rather than through an external price move.
The attacker controlled separate borrowing and liquidating accounts. Euler says deliberate deterioration followed by liquidation generated a benefit greater than the donation loss.[1, 4, 5]
The historical liquidation code transferred debt and collateral to the liquidator. It limited seized collateral to the balance the borrower actually held.
When that collateral limit applied, the associated debt transfer shrank too. Executing a liquidation did not necessarily clear all the borrower's liabilities.
The path validated the liquidator's health. Guardian analysis: that local check cannot establish that every remaining borrower liability is backed.
Contemporaneous reporting describes flash-loan funding. The loan supplied capital; the underlying failure was the donation and liquidation accounting, not borrowing alone.[2]
Our flash loan attacks explainer compares funding with root causes across incidents. Euler's specific audit question is whether collateral reduction can create profitable insolvency.
Timeline and Recovery
The April 12 redemption plan recorded roughly 95,556 ETH and 43.06 million DAI returned to the treasury following negotiations.[6]
It separately recorded insurance proceeds from Sherlock: 3,396,964 USDC and 1,007,321 DAI. These were not the same accounting category as negotiated returns.
That snapshot listed 1,100 ETH sent to Tornado Cash and 100 ETH sent to an address attributed to Ronin's attacker as unrecovered.
These were historical exceptions, not a verified outstanding balance today. The accounting does not support describing the outcome as every stolen token returned.
Euler's later retrospective valued recovery at about $240 million, explaining that ETH rose during negotiations. That is a later valuation, not additional stolen principal.[1]
For incident records, preserve asset quantities alongside dollar estimates and valuation times.
For the response work behind these milestones, our guide to negotiating with a hacker covers offers, staged returns and escalation.
- March 13, 2023: Euler V1 is exploited. Euler later values the extracted assets at approximately $197 million at attack-time prices.[7]
- March 14: Euler offers to let the attacker keep 10% if 90% returns within 24 hours, according to contemporaneous reporting.[2]
- March 18: reporting records 3,000 ETH returned to Euler's deployer address, worth approximately $5.4 million then.
- April 3: all recoverable funds return, according to the Euler Foundation's announcement published April 4.
- April 12: user redemptions open, as reported by Unchained on April 13. Treasury recovery and user access were separate events.[8]
What the Reviews Covered
The July 6, 2022 eIP 14 proposal described donateToReserves as an addition to the EToken module, alongside changes elsewhere in the protocol.[9]
A July 7 reply said Omniscia had audited the Chainlink changes. It separately said Sherlock and other parties were reviewing the other changes.
An August 9 reply reported another review by WATCHPUG. These are dated governance disclosures, not a reconstruction of each auditor's complete scope.
An August 18 reply announced that the upgrades had been performed. The proposal, review updates and completion announcement were separate stages.
An audit count alone cannot show that a changed entry point preserved system-level solvency.
Guardian analysis: release approval should connect changed functions, reviewed commits and safety properties, rather than treating a familiar auditor name as coverage evidence.
A patch should be reviewed for the behavior it introduces, not only the bug it removes.
Euler Finance Hack Lessons
Inventory every entry point that can lower collateral, including helper and reserve paths. For each, record when debt and health are checked.
Inspect liquidation outcomes across borrower, liquidator and reserves together.
Model common economic control across multiple actors when evaluating incentives. Do not assume separate addresses represent independent users, or that every voluntary loss is irrational.
Specify how any remaining shortfall is recognized and who absorbs it.
Our lending protocol audit checklist supplies the broader scope.[10]
Testing Donations and Liquidations
Guardian's lending protocol audit checks health after collateral-reducing actions, liquidation incentives and bad-debt handling, the review areas this failure connects.[10]
Guardian's published process puts two independent teams on one scope, with each cross-checking the other.[11]
One combines manual review with an invariant suite for solvency, accounting and edge states. The other runs Helix; only human-verified findings reach the report.
For this failure class, include donation entry points in the same stateful test environment as borrowing and liquidation. Assert the relevant properties after successful actions.
Require evidence that tests reach indebted donors near the permitted health boundary and relevant liquidation outcomes. A passing suite without those states leaves the central question unanswered.
Include normal liquidations as controls. A health-check patch should prevent deliberate collateral depletion without making legitimate liquidation unreachable or hiding an existing shortfall.
Guardian's executable solvency suite stays with the code for later changes. Rerun it whenever reserve accounting or liquidation rules change.
These practices describe how the failure could be caught, not a guarantee that any audit would catch it.
Review Your Donation and Liquidation Paths
Scoping a lending upgrade? Talk to Guardian about a lending protocol audit covering collateral reductions, liquidation incentives and bad debt.
Frequently Asked Questions
Was Euler V2 affected by this exploit?
The incident concerned V1. Euler Labs says the rebuilt Euler V2 launched in September 2024. The historical code examined here does not establish a vulnerability in that later implementation.[12]
How did the redemption plan handle contract accounts?
The revised plan required case-by-case handling because contracts could not necessarily call the distributor, and direct transfers could disrupt their accounting. Confirmed multisig wallets could join the initial distribution; other integrations needed a compatible claiming route.[6]
What happened to the $1 million information reward?
On April 4, 2023, the Euler Foundation closed the community investigation and stopped accepting information under the reward campaign. Its announcement did not report a reward payout; an advertised offer should not be counted as a payment.[7]
Related reading
- Lending Protocol Audit Checklist: 40 Money Market Checks
- 13 Liquidation Vulnerabilities Every DeFi Auditor Must Know
- Flash Loan Attacks Explained, With Real Examples
- How to Negotiate With a Hacker After a DeFi Exploit
Sources
- Euler Labs: War & Peace: Behind the Scenes of Euler’s $240M Exploit Recovery
- crypto.news: Euler Finance exploiter returns 3,000 ETH worth $5.4m
- Euler: Euler V1 EToken.sol, pinned historical revision
- Euler: Euler V1 Liquidation.sol, pinned historical revision
- Cointelegraph: Euler Finance attack: How it happened, and what can be learned
- Euler Governance Forum: Plan for Redemption of Euler Funds V2
- Euler Foundation: Special Announcement
- Unchained: Euler Finance Users Redeem $133 Million, DeFi Insurer Wants Money Back From Hack Victims
- Euler Governance Forum: eIP 14: Contract Upgrades
- Guardian: Lending Protocol Audit Checklist: 40 Money Market Checks
- Guardian: 13 Liquidation Vulnerabilities Every DeFi Auditor Must Know
- Euler Labs: Euler Q1 and a Retrospective: The Protocol Works. Here’s What Did Not.