ROOT/NEWS/EXPLOIT CASE

Euler finance donation logic exploit: post-mortem and invariant breakdown

CONTRIBUTOR:0xC01b6853...1C16
Protocol AttestedPUBLISHED: 2026-09-10
STEP 1: BOTTOM LINE UP FRONT (BLUF)

Euler Finance was exploited for $197 million on Ethereum mainnet due to an uncollateralized donation mechanism in donateToReserves() that broke health factor checks without verifying liquid balance solvency.

Vulnerability mechanics & exploit trace

On March 13, 2023, the attacker exploited eToken donation mechanics where donateToReserves allowed transferring eTokens to reserves while keeping debt in dTokens, triggering artificial undercollateralization without proper liquidation invariants.

STEP 4: VERIFIED ON-CHAIN TRANSACTION HASHES
0xc310a250347a7d8664292156c4597b4f3b703e7eEtherscan
0x71a908be0abee61ec13613a35069d3000b7ecf48Etherscan
STEP 6: MINIMAL VERIFIED CODE REMEDIATION DIFF
- eToken.burn(subAccountId, amount);
+ require(checkLiquidity(subAccountId) >= 0, "Collateral breach");
+ eToken.burn(subAccountId, amount);
STEP 3: SYSTEMIC DECISION BOUNDARY

Invariant check fails whenever sub-collateral accounts are allowed to donate debt tokens without an immediate inter-block solvency verification.

STEP 5: DISSENTING PERSPECTIVE & RESIDUAL RISKS

Some auditors contend that modular sub-accounts provide essential capital efficiency; however, unconstrained balance donations inherently invalidate lending protocol Nash equilibria.

#DeFi#Exploit#Lending#Ethereum#Invariants