x20 finance Hack
Incident Overview
The contract deployer invoked mint transaction and generated 50 thousand X20 tokens onto his wallet:
https://etherscan.io/tx/0xe6222931…d1d855
Most of them were added into liquidity at:
https://etherscan.io/tx/0xff2d791a…93a0a6
Part of them was sold in the following transactions:
https://etherscan.io/tx/0x7917b57c…0a6682
https://etherscan.io/tx/0x91ea88c9…f02075
https://etherscan.io/tx/0xae127f55…19984a
https://etherscan.io/tx/0xc260eb01…63a18a
1 day after, the liquidity was deleted:
https://etherscan.io/tx/0xe558685b…4c92b6
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 x20 finance, 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 TrialSecurity Audit History
- Audit Report 1 Report
Sources & References
Learn to Prevent the Next x20 finance
The x20 finance 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.