Dswap Hack
Incident Overview
The contract deployer added initial liquidity at:
https://etherscan.io/tx/0x7d31eaea…6f769d
Project tokens were sold by the contract deployer at:
https://etherscan.io/tx/0x0a151e34…5bc690
https://etherscan.io/tx/0x1ae854eb…5d98db
The liquidity was removed by the contract deployer at:
https://etherscan.io/tx/0x775274b8…33cd65
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 Dswap, these are the critical security checks that could have prevented this incident (November 2020).
- Verify all logic paths related to Rugpull 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 TrialLearn to Prevent the Next Dswap
The Dswap 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.