Revest Hack
Incident Overview
An example of the transaction:
https://etherscan.io/tx/0x613b2de3…a5d9f5
The exploiter's address:
https://etherscan.io/address/0xef967ece…5bd58b
The attacker minted a massive amount of FNFT with no cost and used the minted FNFT to drain assets in the vault.
The attacker:
- flashloaned 2 ECO tokens from Uniswap
- called "mintAddressLock" in the Revest contract twice to get 2 FNFT[ID 1036] tokens and 7,700,00 FNFT[ID 1037] tokens
- during the second FNFT minting process, the attacker exploited the reentrancy issue and called the function “depositAdditionalToFNFT” to cause the minted FNFT can be used to drain assets in the vault
- called "withdrawFNFT" to drain assets from the vault by burning 7,700,001 FNFT[ID 1037] tokens and repaying the flashloan.
Stolen funds were deposited into the Tornado Cash mixer:
https://bloxy.info/txs/transfers_from/0xef967ece…5bd58b?currency_id=1
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 Revest, these are the critical security checks that could have prevented this incident (March 2022).
- 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 Revest
The Revest 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.