Sub topic 12
Fake Airdrops, Drainer Sites, and Claim Scams
This chapter assumes you understand wallet addresses, transactions, tokens, and decentralized exchanges. The goal is to inspect an airdrop claim before you connect a wallet, approve a token, or sign a message.
How a real airdrop claim works
An airdrop distributes tokens to selected wallet addresses. The project may determine eligibility from a snapshot, which is a recorded view of wallet activity at a particular block. A claim contract then checks your address and sends the allocated tokens after you complete a transaction.
A normal claim may require:
- Connecting to the project's official application.
- Proving eligibility with a read-only wallet check.
- Signing a transaction that calls a claim function.
- Paying network fees.
- Receiving tokens without sending valuable assets to an unrelated address.
A claim contract can still have dangerous permissions, so eligibility alone does not prove safety.
The main drainer techniques
A drainer site is a malicious website designed to obtain permission to move assets from your wallet. It may copy the branding of a real project and advertise a limited-time claim.
Watch for these requests:
| Request | What it can allow | Warning |
|---|---|---|
| ERC-20 approval | A spender can call `transferFrom` for the approved token | Unlimited approval is especially risky |
| Permit or Permit2 signature | An off-chain signature can authorize later token transfers | No gas prompt does not mean no risk |
| `setApprovalForAll` | An operator can move all NFTs in a collection | Treat as highly sensitive |
| Contract call with native value | Sends ETH or another native asset immediately | A claim normally should not require an unexplained payment |
| Blind typed-data signature | Approves terms you may not understand | Never sign only because a site says it is required |
The dangerous actor does not always need your seed phrase. A valid approval or signature may be enough. A token approval gives a spender permission over a specific token. A signature-based permit can create similar permission without an immediate on-chain approval transaction.
Red flags during a claim
Pause when:
- The link arrived through an unsolicited direct message.
- The domain differs by one character from the project's known domain.
- The site demands a seed phrase or private key. No legitimate claim needs either.
- The wallet shows an approval, permit, transfer, or
setApprovalForAllinstead of a claim. - The transaction sends funds to an unfamiliar recipient.
- The site creates urgency with a countdown or threatens loss of eligibility.
- The project has no independently verifiable announcement or claim contract.
- The requested token amount, spender, chain, or contract address does not match the announcement.
Use a separate wallet with no valuable assets for experiments. This limits damage but does not make signing unknown messages safe.
Revoke a suspicious ERC-20 approval
If you approved a suspicious spender, revoke the allowance as soon as possible. Setting the allowance to zero removes that spender's permission for that token. Use the correct token and spender addresses, verify the network, and review the transaction before submitting it.
import { ethers } from "ethers";
const provider = new ethers.JsonRpcProvider(process.env.RPC_URL);
const wallet = new ethers.Wallet(process.env.PRIVATE_KEY, provider);
const abi = ["function approve(address spender, uint256 amount) returns (bool)"];
const token = new ethers.Contract(process.env.TOKEN_ADDRESS, abi, wallet);
const tx = await token.approve(process.env.SPENDER_ADDRESS, 0n);
await tx.wait();
console.log("Revoked approval in transaction:", tx.hash);Revoking one ERC-20 allowance does not revoke every permission. Check other tokens, NFT operators, and Permit2 permissions separately. If a malicious signature has already authorized a transfer, move remaining assets to a fresh wallet when appropriate.
Exercise
A claim page asks you to sign a Permit2 message and shows no gas fee. Should you sign it?
Show answer
No. A Permit2 signature can authorize later token transfers without an immediate gas transaction. Verify the request through independent official sources or reject it.