DePo Hack
Incident Overview
The exploiter:
https://etherscan.io/address/0x6ffe6e18…6be215
The exploiter was a public team member and the deployer of this MasterChef contract:
https://etherscan.io/address/0x1ca1a593…1c8314#code
He was able to invoke emergencyRewardWithdraw() to steal DEPO tokens, the example transactions:
https://etherscan.io/tx/0xd47dfe0b…57a6b7
https://etherscan.io/tx/0x8ac9a06a…4495a5
https://etherscan.io/tx/0x287a7c33…b4e29b
Tokens were sold on Uniswap, the example transactions:
https://etherscan.io/tx/0x05996fc3…ff6a4e
https://etherscan.io/tx/0x82252439…a7940f
https://etherscan.io/tx/0x2d26cf1f…507bbf
Stolen funds were transferred to the external wallet:
https://etherscan.io/tx/0xe7e8cb72…ca5bde
The funds' recipient deposited them into Tornado Cash mixer:
https://bloxy.info/txs/transfers_from/0x10da7563…3307e9?currency_id=1
Incident Report
Protocol Information
What the Attacker Needed to Succeed
Understanding the prerequisites for this type of attack helps auditors identify protocols that are most at risk and helps developers build better defenses.
What Auditors Should Check
If you're auditing a protocol with similar architecture to DePo, these are the critical security checks that could have prevented this incident (February 2022).
- Verify all logic paths related to Access Control are guarded by proper access controls and input validation - see the Access Control Attacks attack class for patterns
- Review privileged functions (owner, admin, governance) for potential abuse vectors - centralization risks should be documented and bounded with timelocks or multi-sigs
Master these auditing techniques with hands-on labs and real exploit scenarios in the Smart Contract Hacking course.
Free TrialRelated Attack Classes
The technique used in this hack maps to these vulnerability classes in our security curriculum:
Sources & References
Learn to Prevent the Next DePo
The DePo hack is one of many attacks that skilled auditors are trained to detect before deployment. Master real exploit patterns and defense techniques with hands-on Web3 security training.