Fantasm Finance Hack
Incident Overview
The exploiter's address:
https://ftmscan.com/address/0x47091e01…07ae8d
The exploiter:
- deployed contract to trigger the exploit
https://ftmscan.com/address/0x944b58c9…749e3e
- minted XFTM by input only FSM token without entering any FTM
- collected XFTM token
- sold XFTM token to FTM
- bought more FSM and repeated the first step to get a larger amount of FTM
- sold all his FTM for ETH and bridged these ETH to Ethereum via Celer Bridge
- deposited stolen funds into Tornado Cash mixer:
https://etherscan.io/address/0x47091e01…07ae8d
That contract exploited the error in Fantasm’s Pool contract where the developer missed the condition checking for the minimum amount of input FTM when minting XFTM.
Incident Report
Protocol Information
Market Context at Time of Hack
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 Fantasm Finance, these are the critical security checks that could have prevented this incident (March 2022).
- Verify all logic paths related to Missing Condition Check / 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 TrialSecurity Audit History
- Audit Report 1 Report
Proof-of-Concept Exploits
On-Chain Evidence & References
Sources & References
Learn to Prevent the Next Fantasm Finance
The Fantasm 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.