Simple definition
A wallet drainer is a malicious tool or script designed to steal assets from a cryptocurrency wallet. It is often hidden inside phishing websites, fake airdrop pages, counterfeit NFT minting pages, or malicious DApps. These pages try to persuade users to connect their wallet and sign a transaction or approval. Once the user approves, the attacker may be able to transfer tokens, NFTs, or use previously granted permissions to move assets later.
A wallet drainer is not a normal trading tool and is not a standard feature of blockchain wallets. It is malicious infrastructure commonly used in crypto scams.
How it works
A wallet drainer does not always need direct access to your private key or seed phrase. In many cases, it relies on the user voluntarily signing an action that looks routine but is actually dangerous.
| Method | What happens | Possible consequence |
|---|---|---|
Malicious token approval | The user approves a contract to spend their ERC-20 tokens | The attacker may transfer tokens up to the approved allowance |
NFT collection-wide approval | The user signs an approval such as setApprovalForAll | The attacker may be able to transfer all NFTs in that collection |
Malicious signature | The user signs an unreadable message or transaction | It may be used later to submit a transaction or prove authorization intent |
Fake transaction confirmation | The page claims it is for “claiming rewards” or “verifying a wallet,” but it is actually a transfer or approval | Assets in the wallet may be transferred directly |
Seed phrase phishing | A website asks for a seed phrase, private key, or Keystore file | The wallet may be fully compromised; this is among the highest-risk scenarios |
Important: once a blockchain transaction is confirmed, it is usually difficult or impossible to reverse. Revoking approvals may reduce future losses, but it cannot recover assets that have already been transferred.
Where wallet drainers commonly appear
Wallet drainers often appear in the following situations:
- Fake airdrops or fake allowlist pages: Social media posts claiming “limited-time token claims” or “free NFT mints.”
- Impersonated exchanges, wallets, or project websites: Domains that look similar to the real site but differ by one letter, character, or suffix.
- Direct-message links on Discord, Telegram, X, and similar platforms: Scammers impersonate support staff, project teams, or administrators.
- Compromised official accounts or websites: Even if a source appears trustworthy, users should still verify the link and the signature request.
- Malicious ads and search results: Ads shown when searching for wallets, exchanges, or DeFi projects may lead to phishing sites.
Simple example
Suppose a user sees a link on social media advertising an “airdrop claim” for a popular project. The page asks the user to connect a wallet and then displays an approval transaction. The user thinks they are only verifying the wallet, but in reality they approve a contract to spend an unlimited amount of their stablecoins. A few minutes later, the attacker calls the contract and transfers the stablecoins out of the user’s wallet.
This example shows that the risk is often not simply “connecting a wallet.” The main risk is what the user signs or approves.
What beginners should check before signing
Before signing, users should at least review the following:
- Whether the site asks for a seed phrase or private key: A legitimate DApp should not ask you to enter your seed phrase or private key.
- Whether the transaction type is clear: If the wallet shows “approve,” “authorization,” or “signature request,” do not rely only on the website’s wording.
- Whether the allowance is excessive: Unlimited approvals can expand the potential loss. Limited approvals may reduce exposure.
- Whether the domain is correct: Verify domains through official channels and avoid unfamiliar links from private messages or ads.
- Whether the contract address is trustworthy: A block explorer can help review the contract creation date, interaction history, and public information from the project team.
- Whether the signature content is readable: Be especially cautious with signatures that are unclear, garbled, or displayed only as hexadecimal data.
Ways to reduce risk
- Use a hardware wallet for long-term holdings, while still carefully reviewing what you sign.
- Separate your everyday interaction wallet from your long-term storage wallet. Avoid keeping all assets in a single hot wallet.
- Regularly review and revoke token or NFT approvals that are no longer needed.
- Be cautious with new projects, obscure links, and “limited-time claim” messages.
- Test a new interaction flow with a small amount of funds first, while recognizing that this does not eliminate risk.
- If you notice suspicious activity, prioritize moving assets that are not affected by existing approvals and revoke suspicious approvals. If your seed phrase has been exposed, move to a new wallet immediately.
How it differs from ordinary wallet attacks
A wallet drainer commonly relies on persuading the user to approve or sign something, rather than only on a technical intrusion. It exploits a user’s limited understanding of transaction meanings, uncertainty about a website’s source, or misunderstanding of actions such as “connect wallet.”
For this reason, prevention is not only about installing security software. It also requires understanding the approval target, allowance amount, and transaction purpose shown in the wallet prompt.
Related terms
- Phishing: Impersonating a trusted website or person to induce users to disclose information or sign dangerous transactions.
- Token approval: Permission that allows a smart contract to transfer specific tokens on a user’s behalf.
- Seed phrase: The core recovery credential for a wallet. If it is exposed, the wallet is usually no longer safe to use.
- Hot wallet: A wallet used while connected to the internet. It is convenient for transactions but has a larger exposure surface.
- Hardware wallet: A device that keeps private keys offline. It can reduce private key theft risk, but it cannot decide for the user whether an approval is malicious.
References
- https://consumer.ftc.gov/articles/what-know-about-cryptocurrency-and-scams
- https://www.sec.gov/investor/alerts
- https://www.fbi.gov/how-we-can-help-you/scams-and-safety/common-scams-and-crimes/cryptocurrency-investment-fraud
- https://support.metamask.io/privacy-and-security/staying-safe-in-web3/
- https://help.coinbase.com/en/wallet/security/avoiding-crypto-scams