Protection Against On-Chain Attacks
Practical on-chain security guide: identifying wallet drainers, detecting malicious smart contracts, revoking token approvals, and mitigating phishing schemes.
Common Web3 Attack Vectors
Phishing clones mimic legitimate decentralized applications. Drainers request broad permit or allowance approvals to siphon entire wallet balances. Approval exploits target historical authorizations. Clipboard malware hijacks pasted addresses. Ice phishing tricks users into signing ERC-721/1155 setApprovalForAll calls.
How Wallet Drainers Operate
Drainers disguise malicious permit or approval payloads as free mints, claim allocations, or verification requests. An off-chain 'Sign Message' prompt (EIP-712 / Permit2) without an on-chain gas fee is frequently a gasless asset transfer authorization.
Verifying Contracts and Domains
Inspect the browser address bar character by character. Use transaction simulation extensions (Rabby, ScamSniffer). Audit contracts on Etherscan: examine deployment age, source code verification status, transaction frequency, and verified social channels.
Incident Response and Containment
If a compromise occurs, immediately transfer uncompromised assets to a clean, newly generated hardware wallet. Revoke remaining approvals on the compromised address. Never reuse the compromised mnemonic phrase again.