Skip to content
INTERN STATUS

Security

How to Spot a Wallet Drainer Before It Spots You

Wallet drainers trick you into approving or signing away your tokens. How they work, the red flags, how to review and revoke approvals, and what to do if hit.

By SATOSHI'S INTERN Editorial DeskPublished Updated 12 MIN READFacts checked

Part of What Is a Crypto Wallet? Keys, Not Coins

A wallet drainer is a phishing setup, usually a fake or compromised website with malicious code behind it, that gets you to sign a token approval, a permit signature or a transaction handing your assets to an attacker. It rarely breaks any cryptography. It asks, dressed up as an airdrop claim, a mint or a login, and waits for you to press Confirm.

Because the attack needs your signature, the place to stop it is the wallet prompt, and the prompts follow a small number of patterns you can learn.

How drainers work

Chainalysis describes approval phishing in one line: it "tricks a victim into giving a malicious actor access to their wallet", and "can take the form of an innocuous-seeming transaction." The access can come in several forms.

Token approvals. Under the ERC-20 standard, approve lets another address (the spender) withdraw your tokens "multiple times, up to the _value amount." Legitimate apps need this to swap or deposit your tokens. A drainer asks for the same thing, sometimes for an unlimited amount, and names an address it controls as the spender.

As a Chainalysis investigator puts it, the scammer can then "move instantaneously or lurk until an ideal moment, like right after the victim deposits fresh funds from their exchange." The token approval glossary entry covers the mechanism in brief.

setApprovalForAll. NFT standards have a switch that lets an operator manage every token you hold in a collection. ERC-721 describes it as approval for a third party "to manage all of msg.sender's assets"; core ERC-1155 offers only this all-or-nothing form. One click covers the whole collection.

Permit and Permit2 signatures. EIP-2612 lets a token allowance be granted with a signed message instead of a transaction, and Uniswap's Permit2 contract does the same for any ERC-20 token its owner has already approved to the Permit2 contract. The prompt costs no gas and can look like a login.

MetaMask warns that the act of signing a Permit2 message is "not recorded on chain", and that if the approval stays valid for weeks, the attacker can steal the assets later. The fields to look for are explained in wallet signature vs transaction.

Transfers disguised as claims. Sometimes the "claim" button simply sends a transaction that transfers your tokens or native coins out. The wallet shows it as a transaction with a fee, but the website's button says Claim.

EIP-7702 delegations. Since Ethereum's May 2025 Pectra upgrade, an account can delegate itself to contract code. EIP-7702 says the code an authorisation points to "has unrestricted access to the account", and that applications "must not" expect to suggest users sign such authorisations. Treat any website that asks for one as hostile.

Solana delegates. On Solana, the SPL Token program lets an owner delegate authority over some or all of a token balance with an Approve instruction; the delegate can then transfer or burn up to that amount. A malicious transaction can include that instruction, or a transfer, alongside whatever the site claims it is doing.

Seed phrase phishing. The bluntest version skips approvals entirely: a form asks you to "validate", "sync" or "restore" your wallet by typing your recovery words. Anyone who gets the phrase has every key in the wallet.

Table: What a drainer asks for, and how to undo it

You are asked toIt grantsOnchain before use?Can you undo it?
Approve a token (transaction)Spender can move that token up to the amountYesYes: revoke it (costs gas)
setApprovalForAll (transaction)Operator can move every NFT in the collectionYesYes: revoke it (costs gas)
Sign a permit or Permit2 messageAn allowance, once someone submits itNoTry to cancel before use; after use, revoke
Sign a transfer transactionAssets leave immediatelyYesNo
Sign an EIP-7702 authorisationContract code controls the accountNot until someone submits itOnly from your wallet, if it supports it
Type your seed phraseEvery key in the walletNoNo: move to a new wallet

The bait

The mechanisms are technical; the lures are not. Common ones:

  • Free airdrops and rewards. In June 2025 the FBI warned that criminals were sending Hedera non-custodial wallet users NFT airdrops disguised as free rewards. Links in the airdrop memos led to sites that linked the victim's wallet and often asked for login and security information, including seed phrases. Tokens or NFTs you never asked for, with a link to "claim", are a classic opener.
  • Cloned sites. A copy of a real mint, bridge or swap site at a lookalike domain: one swapped letter, an extra hyphen, a different ending. Fake buy and claim pages are a common lure around token presales and launches, when many people expect to connect a wallet.
  • Compromised accounts. A real project's social account or community server posting an "urgent" mint or migration link.
  • Fake support. Someone contacts you first to fix a problem you never reported. Phantom says its support "will never DM you or ask you for your recovery phrase"; MetaMask and Ledger say the same about the phrase.

The intern once connected to a site called something like free-airdrop-totally-real. Nothing happened, because his wallet was empty. That is not a security strategy.

Red flags in the wallet prompt

  1. The request type does not fit the action. Logging in needs a readable message. If a login or "verify wallet" step asks for an approval, a permit or a transaction, stop.
  2. A spender or operator you do not recognise, especially with an unlimited amount (the number 115792089237316195423570985008687907853269984665640564039457584007913129639935 is 2^256 − 1, the maximum), or typed data containing Permit, spender, value or deadline on a site that has no reason to spend your tokens.
  3. setApprovalForAll on a claim or mint page. Minting does not normally require handing over the collection you already own.
  4. A preview showing assets leaving when the button promised you would receive something. Believe the preview.
  5. An unreadable hex blob, or a hardware wallet that cannot display the details. When a signer cannot decode what it is signing, Ledger says "you are essentially signing a 'blank check'".
  6. Urgency. "Claim before the snapshot closes." Real projects do not need you to panic.
  7. Any request for your seed phrase. There are no exceptions.

A hardware wallet does not shorten this list. In the revoke.cash FAQ's words, "Hardware wallets offer no extra protection against approval exploits": the device protects your keys, and will sign a malicious approval if you confirm it. For a step-by-step way to read each prompt type, use the checklist before you click sign.

How to review and revoke approvals

Approvals stay in place until you remove them (or, for some Permit2 allowances, until they expire). Reviewing them occasionally shrinks what a future mistake or a hacked app can reach; MetaMask suggests doing it regularly, for example monthly.

On Ethereum and other EVM chains

  1. Open an approval checker by typing its address. Two examples as of September 2026: revoke.cash (revoke.cash), which says it supports over 100 networks, and Etherscan's Token Approval Checker (etherscan.io/tokenapprovalchecker) for Ethereum. Tool interfaces change, so follow each tool's current instructions. Do not reach either through an ad or a DM: a fake revoke tool is exactly where a drainer would like you to connect your wallet.
  2. Look up your address. revoke.cash lets you enter a wallet address or ENS name, or connect your wallet; revoking itself needs your wallet, because it is a transaction.
  3. Choose the network. Approvals are per chain, so check each network you have used.
  4. Read the list. For each entry, note the token, the spender and the allowed amount. Anything you do not recognise, anything unlimited you no longer use, and anything tied to an app you have stopped using is a candidate.
  5. Revoke, or lower the amount. Each revocation is an onchain transaction, so your wallet will ask you to confirm it and pay gas.
  6. Check the result once the transaction confirms.

On Solana

Phantom's help centre recommends using "a trusted revoke tool" (as of September 2026 it points to Famous Fox's Revoker), and notes that scams on Solana often target Associated Token Accounts. The SPL Token program's Revoke instruction removes a delegate. As on EVM chains, the revocation is a transaction with a fee.

What revoking cannot do

  • It cannot cancel an unused permit signature the normal way, because nothing is onchain yet. revoke.cash offers a way to try to cancel some signatures before they are used; once used, they become ordinary approvals you can revoke.
  • It cannot undo an EIP-7702 delegation. revoke.cash can show one, but revoking it happens in your wallet.
  • It cannot help if your seed phrase or private key is exposed. The attacker does not need approvals; they have your keys.
  • It cannot recover anything already taken. revoke.cash says so directly.

What to do if you have been drained

Onchain theft is usually permanent. The FTC notes that "cryptocurrency payments typically are not reversible", and revoke.cash's FAQ says a revoke tool "cannot be used to recover any stolen funds". What you can do is stop further loss and create a record.

  1. Work out what happened. Look at the most recent transactions and signatures from the wallet in a block explorer. Did you approve something, sign a permit, send a transaction, or type your seed phrase?
  2. If you approved or signed something but your phrase is safe, revoke the approval, and move remaining assets to another wallet you control.
  3. If your seed phrase or a private key may be exposed, or your device may have malware, treat the whole wallet as lost (why a leaked phrase is worse than any approval). Create a new wallet with a new phrase on a clean device and move whatever is left, quickly. revoke.cash warns that sweeper bots on compromised wallets drain incoming funds "instantly, often within the same block", which is why "sending ETH to cover gas fees rarely works".
  4. Record the details: the site's URL, the attacker's addresses, transaction hashes, screenshots of messages, dates and amounts.
  5. Report it. In the US, file with the FBI's Internet Crime Complaint Center at ic3.gov; the FTC also asks people to report crypto scams at ReportFraud.ftc.gov. revoke.cash lists Action Fraud for the UK and the BKA for Germany. Tell the platform where you found the link, so it can warn others.
  6. Ignore anyone who offers to get it back for a fee. Recovery scammers target recent victims. In April 2025 the FBI warned that criminals were impersonating the IC3 itself, and stated that "The IC3 will not ask for payment to recover lost funds".

To make a repeat less likely, work through the crypto wallet security checklist; for how keys, custody and hardware wallets fit together, see what a crypto wallet is.

FAQ

Does disconnecting my wallet from a site remove its approvals?

No. An approval lives onchain, and Phantom warns that a malicious one can be used "even after you disconnect from the app". Revoke it with an approval checker instead.

Does revoking an approval cost gas?

Yes, because a revocation is a transaction. revoke.cash's FAQ (as of September 2026) says its core tools are otherwise free: "inspecting approvals and revoking them one by one only costs the network's gas fee".

Sources

Join the Intern List with a wallet and you sign a plain sign-in message. No approval, no permit, no transaction.

JOIN THE INTERN LIST

Educational content, not financial, legal or tax advice. Nothing here says any asset will go up. Crypto is risky — read the Risk Disclosure.