What is a wallet drainer?
A wallet drainer is malicious code, often sold as a kit, that tricks users into signing transactions or approvals that move their crypto to an attacker.
Also called: Drainer kit, Crypto drainer
How it works
A drainer is usually embedded in a phishing site that copies a real project, airdrop or mint page. When the victim connects a crypto wallet, the script reads the balances and builds signature requests that target the most valuable assets.
The requests may be direct transfers, unlimited token approvals, or off-chain signed messages that grant spending rights. Once the victim signs, the attacker moves the assets out, often within seconds.
Drainer as a service
Many drainers are rented to affiliates in exchange for a share of stolen funds. The operator supplies the code and updates, while affiliates handle traffic through fake ads, hijacked social accounts, fake support messages and search results. This model spreads the attack widely and quickly.
Warning signs
- A link to a mint, airdrop or claim page from a direct message or a reply to a popular post.
- A site that asks you to connect your wallet before showing any content.
- Signature requests that mention approval, permit or
setApprovalForAllfor assets you did not plan to use. - A message that is hard to read or shows no clear amount.
How to protect against it
Reach sites through bookmarks rather than links, use a separate wallet with small balances for new projects, and review every request before signing. Wallets that simulate transactions and show the expected result give a useful second check.
If you have signed a harmful approval, revoke it at once and move remaining assets to a new wallet. Drainers are closely related to approval phishing and need no access to the seed phrase.
Related terms
- Approval phishingApproval phishing tricks a crypto user into granting an attacker permission to spend their tokens, so the attacker can take them later without the user's keys.
- Crypto walletA crypto wallet is software or hardware that stores the private keys used to control funds on a blockchain and to sign transactions.
- PhishingPhishing is a scam where attackers pose as a trusted company or person, by email, text, call or fake website, to trick people into sharing credentials, codes or money.
- Address poisoningAddress poisoning is a scam in which an attacker plants a lookalike address in a victim's transaction history, hoping the victim will copy it by mistake and send funds there.
- Smart contractA smart contract is a program stored on a blockchain that runs automatically when called, holding and moving assets according to its code.