KoiSwap Hack
Incident Overview
The contract deployer added the initial liquidity at:
https://bscscan.com/tx/0xa5bad7ab…85c812
The liquidity was removed by the contract deployer at:
https://bscscan.com/tx/0x0c1e68fb…d6cfe3
In addition, the contract deployer sold tokens multiple time at:
https://explorer.bitquery.io/bsc/txs/calls?caller=0xc0acd947…a5d6c6&contract=0x05ff2b0d…608c7f
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 KoiSwap, these are the critical security checks that could have prevented this incident (March 2021).
- 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 KoiSwap
The KoiSwap 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.