All vulnerabilities
CRITICALWeb3exploited in the wild

WEB3-DRAINER-2024

Web3 · Wallets · Wallet drainer-as-a-service kits

Summary

Drainer-as-a-service kits (Inferno, Pink, Angel) industrialized crypto phishing, stealing roughly $295M from over 324,000 victims in 2023 and $494M from 332,000 victims in 2024 per Scam Sniffer; Inferno alone took nearly $88M from 137,000 victims before its November 2023 shutdown, with operators keeping a 20% cut of every theft and handing affiliates ready-made phishing scripts spoofing 100+ brands. The kit serves a malicious dApp front-end that injects a JavaScript drainer; it enumerates the connected wallet's most valuable tokens and NFTs, then sequences signature prompts whose intent the wallet cannot meaningfully render: an EIP-2612/Permit2 permit, an unlimited ERC-20 approve, or setApprovalForAll. Because the wallet shows an opaque EIP-712 hash or a generic approval, the victim clicks sign or confirm; the drainer relays the resulting signature or on-chain approval and immediately calls transferFrom or safeTransferFrom from a backend to sweep assets to attacker wallets, splitting proceeds with the kit operator. The affiliate model means thousands of low-skill actors run identical, optimized drainer logic at scale.

How to avoid it in your code

  • Wallets must integrate transaction-simulation and threat scanning (Blockaid, Wallet Guard, ScamSniffer) to flag known drainer signatures and contracts before the user signs.
  • Builders should decode and human-readably display every approval, Permit, and setApprovalForAll request, never raw hashes or generic confirm dialogs.
  • Users should connect only to bookmarked dApp URLs, distrust airdrop/mint links from social media, and never blind-sign on a fresh unverified contract.
  • Users should use a hardware wallet that renders full calldata and periodically revoke stale approvals via revoke.cash.
  • dApps should request least-privilege exact-amount approvals and scope token connections, reducing what a malicious clone can extract.

References

Related vulnerabilities

All Web3 →