Conversation

Once you connect your wallet, this code is now actively processing in your browser. Literally code that says "drain NFTs" in it. 😐 What it does is:
3
260
1. Scan through your addresses's contents 2. Use 's API to determine the your most expensive NFT 3. Identifies your most expensive NFT and finds the smart contract info for it
2
206
4. Once you hit "mint", it generates a transaction that interacts with the contract of your most expensive NFT. This tx grants the scammers access to transfer out your NFT. This is called the setApprovalForAll tx More on it here:
Quote Tweet
Here's what it looks like when you're asked to setApprovalForAll on Metamask. If you ever see this function in your Metamask popup, TRIPLE CHECK that you actually want to do this. If you're not interacting with a trusted marketplace then you almost certainly don't want to do this
Show this thread
Image
10
292
So while you think you just executed a typical free mint transaction, instead, you actually granted permission for your super expensive NFT to be transferred out of your wallet by a scammer. Brutal.
5
214
To summarize, the exploit works as follows: 1. Create hype around a free degen mint project, use legit tools like to get high value wallets to participate 2. Create a website with malicious JavaScript that analyzes your wallet to your highest value NFTs
3
240
3. Fake mint button that rather then actually generating a mint transaction, creates a malicious one that grants access for a scammer to transfer out your NFT 4. Repeat steps 1-3 with the same code but under a different "project"
1
179
Also check out my wallet security thread for tips on preventing this from happening to you in the future
Quote Tweet
After seeing millions of dollars of NFTs lost due to scams in the past month alone, I've put together an easy-to-setup, personal wallet security framework that can help keep you safe in your web3 explorations TLDR in 🧵 below mirror.xyz/montanawong.et
Show this thread
18
230