PREMINT | NFT Hack
Incident Overview
Users of the PREMINT NFT platform transferred approval rights to the hacker instead of logging into the platform due to a malicious code, uploaded by the hacker. $375k worth of NFT's were stolen by the hacker.
PREMINT is an NFT service intended to help project creators build access lists for new NFT projects based on various qualifications.
The PREMINT's platform website was attacked by a hacker utilizing a malicious JavaScript code.
When users tried to log into the platform, they instead signed over all approvals of their wallet to the attacker. The attacker proceeded to exploit affected wallets and send NFTs out of famous collections such as Murakami.Flowers, Kaiju Kingz and Azuki to a variety of his own wallets. Below a number of transaction made by the attacker:
https://etherscan.io/tx/0xc705b6ad…ab0662
https://etherscan.io/tx/0x81d49fc3…ba25a8
https://etherscan.io/tx/0x78607d70…ffb4ab
A majority of the funds were aggregated in this wallet (https://etherscan.io/address/0x99aeb028…826bf4). As the time of this writing 284 $ETH have been laundered through Tornado.Cash.
Attackers addresses:
https://etherscan.io/address/0xaab00f61…f281f3
https://etherscan.io/txs?a=0x4499bac5…aafeef
https://etherscan.io/address/0x4ed07767…d06ca1
https://etherscan.io/address/0x28733543…2bb49d
https://etherscan.io/address/0x0C979780…7418d0
https://etherscan.io/address/0x99aeb028…826bf4
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 PREMINT | NFT, these are the critical security checks that could have prevented this incident (July 2022).
- Verify all logic paths related to Access Control are guarded by proper access controls and input validation - see the Access Control Attacks attack class for patterns
- 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 TrialRelated Attack Classes
The technique used in this hack maps to these vulnerability classes in our security curriculum:
Sources & References
Learn to Prevent the Next PREMINT | NFT
The PREMINT | NFT 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.