MetaMoonMars Hack
Incident Overview
MetaMoonMars token was exit scammed via Withdrawal Fee issue. The token deployer used a privileged function to set a huge fee multiplier
MetaMoonMars is a BEP20 token trading on PancakeSwap. The contract of the token contained privileged function aprove() which sets a fee multiplier. At first, the fee was 8 percent, and after some period the function was called again, setting a fee of 99 percent.
Users were not able to buy a fair amount of tokens, and their funds were transferred into the pool.
of the huge fee, users couldn't sell the little amount of $M3 token they receive. The scammer profited for 866 $USD.
Attacker address:
https://bscscan.com/address/0xda7e1666…a17c96
Malicious transactions:
https://bscscan.com/tx/0x93a82872…6fdcc0
https://bscscan.com/tx/0xe4095741…dc78d7
Tokens transfer transaction:
https://bscscan.com/tx/0x77c2be94…3ce378
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 MetaMoonMars, these are the critical security checks that could have prevented this incident (November 2021).
- 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 MetaMoonMars
The MetaMoonMars 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.