Euler Finance Hack, 2023: $197 Million Taken and Returned

Euler Finance hack of 13 March 2023: the donateToReserves flaw, $197 million drained, what we read on-chain, and how the attacker returned the funds.

SECURITY5 min readBy AlgoSys ResearchPublished Dec 6, 2026
At a glanceEuler Finance hack · Exploit of the Euler v1 lending protocol on Ethereum
Date
13 March 2023, from 08:50:59 UTC, block 16,817,9961·21 Etherscan · Transaction 0xc310a0af…6b111d, block 16817996 · 13 March 20232 Euler Labs · War & Peace: Behind the Scenes of Euler's $240M Exploit Recovery · 10 January 2024
Taken
About $197 million (Euler); $198.2 million by our count of the contract2·32 Euler Labs · War & Peace: Behind the Scenes of Euler's $240M Exploit Recovery · 10 January 20243 AlgoSys · Euler Finance hack, 13 March 2023: what left the contract and how it came back (PDF) · 6 December 2026
Flaw
donateToReserves without a health check, added by eIP-1444 Rekt · Euler Finance - REKT · 14 March 2023
Assets
WETH, stETH and wstETH, WBTC, USDC, DAI33 AlgoSys · Euler Finance hack, 13 March 2023: what left the contract and how it came back (PDF) · 6 December 2026
Returned
18 March – 3 April 2023; Euler said all recoverable funds came back2·52 Euler Labs · War & Peace: Behind the Scenes of Euler's $240M Exploit Recovery · 10 January 20245 CoinDesk · Euler Says All 'Recoverable Funds' Stolen in $200M Hack Have Been Returned · 3 April 2023
Not returned
1,100 ETH via Tornado Cash, 100 ETH to the Ronin exploiter address6·76 Euler DAO forum · Plan for Redemption of Euler Funds V2 · 12 April 20237 Etherscan · Transaction 0x202a67d3…2bd457 (100 ETH to the Ronin Bridge Exploiter address) · 17 March 2023
Aftermath
Users repaid
From 12 April 2023; 95,556 ETH and 43.06 million DAI6·86 Euler DAO forum · Plan for Redemption of Euler Funds V2 · 12 April 20238 CoinDesk · Euler Finance Lets Users Redeem Recovered Funds Following $200M Theft · 12 April 2023
Euler v2
Launched 4 September 2024 after 31 audits99 The Block · Euler returns to launch v2 modular DeFi lending protocol following 31 audits post-$197 million hack · 4 September 2024
Contents

The Euler Finance hack was the theft of about $197 million from Euler, a lending protocol on Ethereum, on 13 March 2023.22 Euler Labs · War & Peace: Behind the Scenes of Euler's $240M Exploit Recovery · 10 January 2024 The attacker exploited a function added in a 2022 upgrade that let an account donate its collateral without checking that it remained solvent.44 Rekt · Euler Finance - REKT · 14 March 2023 Over the following three weeks the attacker returned the funds, and Euler said that all recoverable money had come back.55 CoinDesk · Euler Says All 'Recoverable Funds' Stolen in $200M Hack Have Been Returned · 3 April 2023 We read the Euler contract before and after the attack and counted $198.2 million taken in six tokens; the DAI that stayed on the attacker's address afterward matches to the dollar the DAI Euler later paid out to users.3·63 AlgoSys · Euler Finance hack, 13 March 2023: what left the contract and how it came back (PDF) · 6 December 20266 Euler DAO forum · Plan for Redemption of Euler Funds V2 · 12 April 2023

How lending protocols and their liquidations work is covered on our page on decentralized lending and borrowing.

ETH on the Euler attacker’s addressesFirst bar: three hours after the attack on 13 Mar 2023. Returns on 18 and 25 March and 3 April. ETH on the Euler attacker’s addresses ETH and WETH on the four addresses named by Euler Labs, at 00:00 UTC 0k20k40k60k80k100k13 Mar17 Mar21 Mar25 Mar29 Mar2 Apr6 Apr algosys.terminal Exploiter 2Exploiter 1Exploiter 4
ETH and WETH on the four attacker addresses named by Euler Labs, 13 March – 6 April 2023, 00:00 UTC. Source: archive RPC, our calculation.

Timeline

Date (UTC) Event
2022 Upgrade eIP-14 adds the donateToReserves function44 Rekt · Euler Finance - REKT · 14 March 2023
13 Mar 2023, 08:50:59 First attack transaction, about $8.8 million of DAI, block 16,817,9961·21 Etherscan · Transaction 0xc310a0af…6b111d, block 16817996 · 13 March 20232 Euler Labs · War & Peace: Behind the Scenes of Euler's $240M Exploit Recovery · 10 January 2024
13 Mar, 08:56⁠–⁠09:10 Further transactions drain the other markets22 Euler Labs · War & Peace: Behind the Scenes of Euler's $240M Exploit Recovery · 10 January 2024
14 Mar Sherlock agrees to pay Euler a $4.5 million claim1010 The Block · Crypto auditor Sherlock to pay out $4.5 million to Euler Finance after exploit · 14 March 2023
17 Mar 100 ETH sent from an attacker address to the address of the Ronin bridge exploiter2·72 Euler Labs · War & Peace: Behind the Scenes of Euler's $240M Exploit Recovery · 10 January 20247 Etherscan · Transaction 0x202a67d3…2bd457 (100 ETH to the Ronin Bridge Exploiter address) · 17 March 2023
18 Mar First return: 3,000 ETH22 Euler Labs · War & Peace: Behind the Scenes of Euler's $240M Exploit Recovery · 10 January 2024
25 Mar 51,000 ETH returned22 Euler Labs · War & Peace: Behind the Scenes of Euler's $240M Exploit Recovery · 10 January 2024
3 Apr Last returns: 12 million DAI and about 10,580 ETH2·112 Euler Labs · War & Peace: Behind the Scenes of Euler's $240M Exploit Recovery · 10 January 202411 The Block · Euler hacker returns $31 million, marking end to 'recoverable funds' in DeFi exploit · 4 April 2023
12 Apr Users can redeem recovered funds88 CoinDesk · Euler Finance Lets Users Redeem Recovered Funds Following $200M Theft · 12 April 2023
4 Sep 2024 Euler v2 launches99 The Block · Euler returns to launch v2 modular DeFi lending protocol following 31 audits post-$197 million hack · 4 September 2024

How the attack worked

Euler let users take leveraged positions by minting eTokens (deposits) and dTokens (debt). In each step the attacker took a flash loan of DAI from Aave, deposited it, borrowed against it several times over, then called donateToReserves to give away a large part of the deposit.1·41 Etherscan · Transaction 0xc310a0af…6b111d, block 16817996 · 13 March 20234 Rekt · Euler Finance - REKT · 14 March 2023 The function reduced the account's collateral without checking whether its health factor remained above one. The account was now insolvent, and a second contract controlled by the attacker liquidated it; Euler's liquidation discount for deeply insolvent accounts let the liquidator take collateral worth more than the debt it repaid.44 Rekt · Euler Finance - REKT · 14 March 2023 The profit was withdrawn, the flash loan repaid, and the same pattern repeated in each market.

Sherlock, which had reviewed the eIP-14 change, accepted a $4.5 million claim the day after the attack.4·104 Rekt · Euler Finance - REKT · 14 March 202310 The Block · Crypto auditor Sherlock to pay out $4.5 million to Euler Finance after exploit · 14 March 2023

Our on-chain count

The main Euler v1 contract holds the reserves of all its markets. We read its token balances in the block before the first attack transaction and three hours later, using an archive node.33 AlgoSys · Euler Finance hack, 13 March 2023: what left the contract and how it came back (PDF) · 6 December 2026

Token Before (block 16,817,995) Three hours later Price on 13 March Value, $ million
wstETH 66,271.5 0.0 $1,771.31 117.4
USDC 34,413,863 2 $0.987 34.0
WBTC 849.14 0.01 $22,305 18.9
WETH 8,099.3 0.98 $1,592.12 12.9
DAI 8,904,507 0 $0.989 8.8
stETH 3,897.5 0 $1,594.09 6.2
Total 198.2

Source: archive RPC, prices from DefiLlama; our calculation.33 AlgoSys · Euler Finance hack, 13 March 2023: what left the contract and how it came back (PDF) · 6 December 2026

Our $198.2 million agrees with Euler's $197 million.22 Euler Labs · War & Peace: Behind the Scenes of Euler's $240M Exploit Recovery · 10 January 2024 USDC was trading below a dollar that morning because of the USDC depeg after the failure of Silicon Valley Bank. The contract also lost 2.08 million USDT and 128,366 LINK in those hours, which do not appear in the attacker's lists, so we leave them out of the total.33 AlgoSys · Euler Finance hack, 13 March 2023: what left the contract and how it came back (PDF) · 6 December 2026

Three hours after the attack two of the attacker's addresses held 96,737 ETH and 43.06 million DAI.33 AlgoSys · Euler Finance hack, 13 March 2023: what left the contract and how it came back (PDF) · 6 December 2026 Euler's redemption plan later distributed 95,556.36 ETH and 43,063,729 DAI.66 Euler DAO forum · Plan for Redemption of Euler Funds V2 · 12 April 2023 The DAI matches to the dollar, and the ETH differs by about 1,180, roughly what went to Tornado Cash and to the Ronin exploiter address.

The return of the funds

Date, 00:00 UTC ETH on the four addresses Change
14 Mar 96,737
17 Mar 95,637 −1,100 moved towards Tornado Cash
18 Mar 95,537 −100 to the Ronin exploiter address
19 Mar 92,537 −3,000 returned on 18 March
26 Mar 10,586 Main address emptied, 51,000 ETH returned on 25 March
4 Apr 6 Last 8,080 and 2,500 ETH returned on 3 April

Source: archive RPC, our calculation.2·32 Euler Labs · War & Peace: Behind the Scenes of Euler's $240M Exploit Recovery · 10 January 20243 AlgoSys · Euler Finance hack, 13 March 2023: what left the contract and how it came back (PDF) · 6 December 2026

The attacker first moved 100 ETH to the address that had received the Ronin bridge funds in 2022, which the US Treasury has linked to North Korea's Lazarus Group.77 Etherscan · Transaction 0x202a67d3…2bd457 (100 ETH to the Ronin Bridge Exploiter address) · 17 March 2023 Euler Labs reports that an encrypted message later came from that address.22 Euler Labs · War & Peace: Behind the Scenes of Euler's $240M Exploit Recovery · 10 January 2024 Beyond this transfer we see nothing in the data that links the two attacks.

Euler offered a 10% bounty and threatened a $1 million reward for information leading to an arrest if 90% of the funds were not returned.2·112 Euler Labs · War & Peace: Behind the Scenes of Euler's $240M Exploit Recovery · 10 January 202411 The Block · Euler hacker returns $31 million, marking end to 'recoverable funds' in DeFi exploit · 4 April 2023 On-chain messages from the attacker followed: on 20 March "No intention of keeping what is not ours", and on 3 April "Going for it" before the last returns.22 Euler Labs · War & Peace: Behind the Scenes of Euler's $240M Exploit Recovery · 10 January 2024 Between 25 March and 3 April the ETH moved back through intermediate addresses; the four named addresses were empty by 4 April.33 AlgoSys · Euler Finance hack, 13 March 2023: what left the contract and how it came back (PDF) · 6 December 2026 Euler Labs said that "all of the recoverable funds" had been returned.55 CoinDesk · Euler Says All 'Recoverable Funds' Stolen in $200M Hack Have Been Returned · 3 April 2023 No arrest or charge has been announced.

Users repaid

Redemptions opened on 12 April 2023, through a contract that paid each user a share of 95,556 ETH and 43.06 million DAI according to a snapshot of balances; protocol reserves were excluded.6·86 Euler DAO forum · Plan for Redemption of Euler Funds V2 · 12 April 20238 CoinDesk · Euler Finance Lets Users Redeem Recovered Funds Following $200M Theft · 12 April 2023 ETH rose from $1,592 at the time of the attack to about $1,810 on 4 April, so the recovered funds were worth more than what was taken: Euler later spoke of a $240 million recovery.2·32 Euler Labs · War & Peace: Behind the Scenes of Euler's $240M Exploit Recovery · 10 January 20243 AlgoSys · Euler Finance hack, 13 March 2023: what left the contract and how it came back (PDF) · 6 December 2026 Sherlock's payment of about $4.4 million went into the DAO treasury.66 Euler DAO forum · Plan for Redemption of Euler Funds V2 · 12 April 2023

Euler returned with a rebuilt protocol, Euler v2, on 4 September 2024, after 31 audits.99 The Block · Euler returns to launch v2 modular DeFi lending protocol following 31 audits post-$197 million hack · 4 September 2024

Our assessment

The Euler hack is a textbook case of a function that broke an invariant. Every account in a lending protocol must stay solvent after each action; donateToReserves was the one path that skipped the check, and it had passed review. The return of the funds is rarer than the bug: our balances show the attacker kept the ETH untouched for days, then gave back nearly everything except what had already gone through a mixer.33 AlgoSys · Euler Finance hack, 13 March 2023: what left the contract and how it came back (PDF) · 6 December 2026 The same month, the USDC depeg showed DeFi users a second kind of risk, from the collateral itself.

Commonly repeated mistakes

  • "3,000 ETH went to the North Korean hackers." 3,000 ETH was the first return; the Ronin exploiter address received 100 ETH.2·72 Euler Labs · War & Peace: Behind the Scenes of Euler's $240M Exploit Recovery · 10 January 20247 Etherscan · Transaction 0x202a67d3…2bd457 (100 ETH to the Ronin Bridge Exploiter address) · 17 March 2023
  • "The flash loan was the bug." Flash loans supplied the capital; the flaw was the missing solvency check.44 Rekt · Euler Finance - REKT · 14 March 2023
  • "Users lost $197 million." Most of it came back; the redemption plan distributed 95,556 ETH and 43.06 million DAI.66 Euler DAO forum · Plan for Redemption of Euler Funds V2 · 12 April 2023

See also

Categories:HacksDeFi2023

FAQ · 4

How much was stolen from Euler Finance?

About $197 million on 13 March 2023, according to Euler Labs. Reading the Euler contract before and after the attack, we count $198.2 million in WETH, staked ether, WBTC, USDC and DAI at that day's prices.

How did the Euler hack work?

The attacker used flash loans to build a leveraged position, then called donateToReserves, a function added by an upgrade in 2022 that did not check whether the account stayed solvent. The account became insolvent and was liquidated by the attacker's second contract at a profit.

Did the Euler hacker return the money?

Yes, in stages from 18 March to 3 April 2023. Euler said all recoverable funds were returned; about 1,100 ETH sent through Tornado Cash and 100 ETH sent to a sanctioned address were not.

Were Euler users repaid?

Redemptions opened on 12 April 2023 for 95,556 ETH and 43.06 million DAI. Because ETH had risen, the recovered funds were worth about $240 million.

Documents · 2

  • Euler hack: contract reserves before and after, prices, and the attacker addresses by dayAlgoSys · 6 December 2026download PDF
  • Euler Labs: War & Peace, account of the exploit recoveryEuler Labs · 10 January 2024official file

Sources · 11

  1. ↑3 Etherscan. Transaction 0xc310a0af…6b111d, block 16817996. 13 March 2023. accessed 6 December 2026, archived copy.
  2. ↑17 Euler Labs. War & Peace: Behind the Scenes of Euler's $240M Exploit Recovery. 10 January 2024. accessed 6 December 2026.
  3. ↑11 AlgoSys. Euler Finance hack, 13 March 2023: what left the contract and how it came back (PDF) PDF. 6 December 2026. accessed 6 December 2026.
  4. ↑7 Rekt. Euler Finance - REKT. 14 March 2023. accessed 6 December 2026, archived copy.
  5. ↑3 CoinDesk. Euler Says All 'Recoverable Funds' Stolen in $200M Hack Have Been Returned. 3 April 2023. accessed 6 December 2026, archived copy.
  6. ↑7 Euler DAO forum. Plan for Redemption of Euler Funds V2. 12 April 2023. accessed 6 December 2026.
  7. ↑4 Etherscan. Transaction 0x202a67d3…2bd457 (100 ETH to the Ronin Bridge Exploiter address). 17 March 2023. accessed 6 December 2026, archived copy.
  8. ↑3 CoinDesk. Euler Finance Lets Users Redeem Recovered Funds Following $200M Theft. 12 April 2023. accessed 6 December 2026, archived copy.
  9. ↑3 The Block. Euler returns to launch v2 modular DeFi lending protocol following 31 audits post-$197 million hack. 4 September 2024. accessed 6 December 2026.
  10. ↑2 The Block. Crypto auditor Sherlock to pay out $4.5 million to Euler Finance after exploit. 14 March 2023. accessed 6 December 2026.
  11. ↑2 The Block. Euler hacker returns $31 million, marking end to 'recoverable funds' in DeFi exploit. 4 April 2023. accessed 6 December 2026, archived copy.

How we collected the data and checked the facts → editorial policy · data and method (PDF)

Put this to work in the terminal

Live charts, derivatives, on-chain and macro data, free.

Open terminal →