SafeMoonX Hack
Incident Overview
SafeMoonX (SFMX) experienced a rugpull on Jul 26, 2023; deployer removed liquidity, resulting in a loss of 25,018 $USD (14.79 $ETH).
SafeMoonX (SFMX) is an ERC20 token trading on UniSwap. On Jul 26, 2023, the deployer removed liquidity from the LP pool via a privileged function using a malicious contract with verified source code. The stolen funds, amounting to 25,018 $USD worth 14.79 $ETH, were transferred through a couple of EOA addresses and currently remain at one of them.
- Deployer Address:
https://etherscan.io/address/0x892F10E3…A7fC93
- Scammer Address:
https://etherscan.io/address/0x9aF4D799…DaDFCf
- Funds Holder as of August 18, 2023:
https://etherscan.io/address/0xc1eff258…bce480
- Liquidity Removal Transaction:
https://etherscan.io/tx/0x566e0693…04dbee
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 SafeMoonX, these are the critical security checks that could have prevented this incident (July 2023).
- 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 TrialSources & References
Learn to Prevent the Next SafeMoonX
The SafeMoonX 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.