BasketDAO Hack
What happened
On January 17, 2024, an attacker used BasketDAO's BMIZapper periphery contract to steal 114,146 USDC from one user who had approved USDC to the zapper. The attacker swapped it for 44.79 WETH, paid 2.24 ETH to a block builder, and kept 42.55 ETH (about $107,000, the figure BlockSec reported). BlockSec traced the theft to a transferFrom issue caused by arbitrary low-level calls in the BasketDAO contract and told users to revoke their approvals to it.
The attacker address 0x63136677355840F26c0695dD6DE5C9E4f514f8e8 sent the exploit transaction 0x97201900198d0054a2f7a914f5625591feb6a18e7fc6bb4f0c964b967a6c15f6 to its contract 0xae5919160A646f5D80d89F7aaE35A2CA74738440. On January 20 the attacker began depositing ETH into Tornado Cash, for example transaction 0x1fb689f8481a842d9342cbb78d3395988015bd6b6ff5445c97a74ecf78033057 (10 ETH).
How it happened
- The victim wallet
0x07d7685b...1b4dhad given BMIZapper a USDC allowance. - The attacker's contract called BMIZapper with a crafted payload. In the same transaction, 114,146 USDC moved from the victim to the attacker's contract, alongside zero-value zap and mint transfers of Yearn Curve vault tokens and BMI.
- The contract sold the USDC on Uniswap V2 for 44.79 WETH.
- It paid 2.24 ETH to the block builder and sent 42.55 ETH to the attacker address, which later deposited funds into Tornado Cash.
Protocol details
Security review history
- HAECHI Audit View report
Evidence
- report @CyversAlerts incident report twitter.com
- transaction Etherscan transaction 0x97201900...15f6 etherscan.io
- transaction Etherscan transaction 0x1fb689f8...3057 (Tornado Cash deposit) etherscan.io
- transaction etherscan.io transaction 0xa95e…4a7d etherscan.io
- address etherscan.io address 0x6313…f8e8 etherscan.io
- address etherscan.io address 0xae59…8440 etherscan.io
- analysis Web Archive archive.is
- analysis DeFiLlama defillama.com
- analysis BlockSec: BasketDAO contract is under attack, please revoke relevant authorizations bitget.com
Understand the attack patterns
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.