DarkPool Hack
Incident Overview
Dark Pool token was hacked and 103,859 $USD was stolen from the liquidity pool. The hacker used the vulnerability of the token's smart contract.
Dark Pool is the BEP20 standard token trading on PancakeSwap. The smart contract of the $DPC token has a vulnerability, which allows users to accumulate a huge amount of rewards after staking LP tokens. The claimStakeLP() function was called multiple times by the attacker's malicious contracts and granted the attacker the opportunity to withdraw more than 20,000 $DPC tokens.
Consequently, the attacker swapped $DPC tokens for $USDT and made a profit of 103,859 $USD. All stolen funds remain in the attacker's address at the moment of writing.
Attacker address:
https://bscscan.com/address/0xf211Fa86…5b25C9
Attacker contract:
https://bscscan.com/address/0x2109bbec…4ab419
Draining transaction:
https://bscscan.com/tx/0x92cab23d…72e86f
Liquidity Pool:
https://bscscan.com/address/0x79cd24ed…f04be3
Incident Report
Protocol Information
Market Context at Time of Hack
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 DarkPool, these are the critical security checks that could have prevented this incident (September 2022).
- Verify all logic paths related to Other are guarded by proper access controls and input validation
- 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 TrialSources & References
Learn to Prevent the Next DarkPool
The DarkPool 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.