Leaderboard
945All-time rank
Uniswap V1
Apr 18, 2020
$220K
Lost
$220K
Recovered
$0
Net loss
$220K
Unrecovered0% recovered
An attacker exploited a reentrancy vulnerability in Uniswap V1's imBTC liquidity pool using ERC777's callback mechanism. By calling deposit, triggering the ERC777 callback before balance updates, and immediately withdrawing, the attacker could drain tokens from the pool at artificial prices.
The Consensys team had discovered the vulnerability in 2019 but no exploitable ERC777 token existed until imBTC launched.
How the exploit worked
View reproducible PoCERC777 Reentrancy.
Lost: $220,000
Source: DeFiHackLabs (SunWeb3Sec)
- Target
- DeFi
- Classification
- Reentrancy
- Technique
- Reentrancy
- Attribution
- Unknown
- Chains
Ethereum
Event timeline
- Apr 18, 2020Exploit executed — $220K drained via reentrancy
- Attributed to Unknown
- Recovery status Unrecovered 0%
Data credits
- DefiLlamaIncident record, amounts, chains, recovery data and logo
- DeFiHackLabsExploit analysis and reproducible proof-of-concept (by SunWeb3Sec)
