# Solana scams and attacks: how wallets get drained

36 ways people lose crypto on Solana, from drained wallets and lookalike addresses to rug pulls, each with what to do now and how to stay safe.

Not sure what happened? Start from what you see: [Wallet drained or hacked? What to do now](https://traceme.dev/wallet-drained)

## Stay safe

- **Never type your recovery phrase (seed phrase) anywhere but your wallet app.** Protects against: [Recovery-phrase phishing](https://traceme.dev/attacks/seed-phrase-phishing), [Fake support](https://traceme.dev/attacks/fake-support-impersonation), [Fake wallet app or extension](https://traceme.dev/attacks/fake-wallet-app), [Compromised key or recovery phrase](https://traceme.dev/attacks/private-key-compromise)
- **Read what a transaction does before you sign it.** Protects against: [Wallet drainer](https://traceme.dev/attacks/wallet-drainer), [Wallet owner change (`Assign`)](https://traceme.dev/attacks/account-owner-change), [Token account owner change (`SetAuthority`)](https://traceme.dev/attacks/token-owner-change), [Delegate approval abuse](https://traceme.dev/attacks/delegate-approval-abuse), [Durable-nonce delayed execution](https://traceme.dev/attacks/durable-nonce-delayed-execution)
- **Check the whole address, not its first and last characters.** Protects against: [Address poisoning](https://traceme.dev/attacks/address-poisoning), [Clipboard hijack](https://traceme.dev/attacks/clipboard-hijack), [System-address impersonation](https://traceme.dev/attacks/system-address-impersonation)
- **Never import your seed phrase into bots, apps or “tools”.** Protects against: [Wallet or bot service breach](https://traceme.dev/attacks/wallet-service-breach), [Malicious package or bot code](https://traceme.dev/attacks/malicious-dev-package), [Compromised key or recovery phrase](https://traceme.dev/attacks/private-key-compromise)
- **Never use a seed phrase someone else gave you, even one with a balance.** Protects against: [Shared-phrase bait](https://traceme.dev/attacks/shared-seed-bait), [Sweeper bot](https://traceme.dev/attacks/sweeper-bot)
- **Leave tokens, NFTs and airdrops you didn’t ask for alone.** Protects against: [Airdrop and spam-NFT lure](https://traceme.dev/attacks/airdrop-lure), [Dusting](https://traceme.dev/attacks/dusting), [Copycat token](https://traceme.dev/attacks/copycat-token)
- **Check a token’s mint address, not its name or logo.** Protects against: [Copycat token](https://traceme.dev/attacks/copycat-token), [Honeypot token](https://traceme.dev/attacks/honeypot-token), [Permanent-delegate clawback](https://traceme.dev/attacks/permanent-delegate-clawback), [Rug pull or exit scam](https://traceme.dev/attacks/rug-pull)
- **Get help only from inside your wallet app, never from a DM or a number found by search.** Protects against: [Fake support](https://traceme.dev/attacks/fake-support-impersonation), [Recovery-phrase phishing](https://traceme.dev/attacks/seed-phrase-phishing), [Recovery scam](https://traceme.dev/attacks/recovery-scam)
- **Ignore recovery offers that find you or want a fee first: no one can reverse a transaction.** Protects against: [Recovery scam](https://traceme.dev/attacks/recovery-scam)
- **Keep savings in a wallet you never connect to sites.** Protects against: [Wallet drainer](https://traceme.dev/attacks/wallet-drainer), [Compromised dApp front end](https://traceme.dev/attacks/frontend-compromise), [Delegate approval abuse](https://traceme.dev/attacks/delegate-approval-abuse)

## Taking control of keys or accounts

- [Compromised key or recovery phrase](https://traceme.dev/attacks/private-key-compromise): The key or recovery phrase behind the address is known elsewhere, so what it holds can be moved without its owner, and only a new wallet is safe again.
- [Sweeper bot](https://traceme.dev/attacks/sweeper-bot): Money that reaches the address leaves again within seconds, signed with its own key, so anything sent there goes the same way.
- [Token-account lock](https://traceme.dev/attacks/token-account-lock): The address was turned into a token account another wallet owns: its key still exists, but only that wallet can withdraw the SOL sent to it, so nothing should be sent there.
- [Wallet owner change (`Assign`)](https://traceme.dev/attacks/account-owner-change): The address was handed to a program: its own key no longer moves the SOL there, only that program can.
- [Token account owner change (`SetAuthority`)](https://traceme.dev/attacks/token-owner-change): A token account was handed to another owner, which can now move what it holds without the address’s key.
- [Stake authority change](https://traceme.dev/attacks/stake-authority-change): Control of a stake account moved to another address, which can withdraw the stake.
- [Delegate approval abuse](https://traceme.dev/attacks/delegate-approval-abuse): An approval let another address spend tokens from the account, and that address did.
- [Wallet drainer](https://traceme.dev/attacks/wallet-drainer): A transaction signed on a site moved the wallet’s assets out, usually all at once.
- [Durable-nonce delayed execution](https://traceme.dev/attacks/durable-nonce-delayed-execution): A transaction made so it would not expire handed control of an account to another address: it could have been signed long before it ran.

## How keys leak

- [Recovery-phrase phishing](https://traceme.dev/attacks/seed-phrase-phishing): The recovery phrase was entered into a fake site, form or chat.
- [Infostealer malware](https://traceme.dev/attacks/infostealer-malware): Malware on the device copied wallet secrets.
- [Fake wallet app or extension](https://traceme.dev/attacks/fake-wallet-app): A counterfeit wallet app sent the recovery phrase it was given to someone else.
- [Malicious package or bot code](https://traceme.dev/attacks/malicious-dev-package): Backdoored libraries, repos or bots stole keys from developers and users.
- [Weak key generation](https://traceme.dev/attacks/weak-key-generation): The wallet app made a recovery phrase others could work out, so the key was never secret.
- [Wallet or bot service breach](https://traceme.dev/attacks/wallet-service-breach): A wallet or bot service that held keys leaked them, so many addresses were emptied at once.
- [Shared-phrase bait](https://traceme.dev/attacks/shared-seed-bait): A "leaked" phrase is bait; SOL sent to that wallet is taken.

## Getting you to send to the wrong address

- [Address poisoning](https://traceme.dev/attacks/address-poisoning): A lookalike address was planted in the wallet’s history, so an address copied from there can be the wrong one.
- [System-address impersonation](https://traceme.dev/attacks/system-address-impersonation): The address was made to look like an official Solana address, which it is not.
- [Clipboard hijack](https://traceme.dev/attacks/clipboard-hijack): Malware swapped a copied address for a different one before the payment was sent.

## Lures and access: how people are drawn in

- [Airdrop and spam-NFT lure](https://traceme.dev/attacks/airdrop-lure): Tokens or messages nobody asked for arrived with links to sites that ask for a signature.
- [Dusting](https://traceme.dev/attacks/dusting): Tiny amounts were sent to many wallets, to show up in their history.
- [Fake support](https://traceme.dev/attacks/fake-support-impersonation): Accounts posing as support in direct messages ask for the recovery phrase or send phishing links.
- [Hijacked brand account](https://traceme.dev/attacks/social-account-hijack): A trusted social account is taken over to post scam links.
- [SIM swap or email takeover](https://traceme.dev/attacks/sim-swap-account-takeover): A hijacked phone number or email is used to take over accounts.
- [Compromised dApp front end](https://traceme.dev/attacks/frontend-compromise): A real app’s website served a harmful transaction to sign.

## Token traps: what you bought is not what you think

- [Rug pull or exit scam](https://traceme.dev/attacks/rug-pull): The token’s creators took out its liquidity or sold their supply, so holders can’t sell for what they paid.
- [Pump and dump](https://traceme.dev/attacks/pump-and-dump): The token was promoted while insiders sold into the buyers.
- [Honeypot token](https://traceme.dev/attacks/honeypot-token): The token is built so its holders can’t sell it.
- [Permanent-delegate clawback](https://traceme.dev/attacks/permanent-delegate-clawback): The token lets one address move or burn anyone’s balance of it.
- [Copycat token](https://traceme.dev/attacks/copycat-token): The token copies another’s name and logo under a different mint.

## Losses from markets and protocols

- [Sandwich attack](https://traceme.dev/attacks/mev-sandwich): Trades placed just before and after a swap gave it a worse price.
- [Protocol exploit](https://traceme.dev/attacks/protocol-exploit): The app that held the deposits lost them through a flaw in its code.

## Social engineering for money, and physical coercion

- [Investment scam (pig butchering)](https://traceme.dev/attacks/investment-scam): Deposits went to an investment platform that shows gains it doesn’t pay out.
- [Recovery scam](https://traceme.dev/attacks/recovery-scam): Recovery offers that find you first or want a fee up front take the fee or the keys and return nothing.
- [Wrench attack](https://traceme.dev/attacks/wrench-attack): Physical threats or violence force a handover.

## After the theft

- [Laundering pattern](https://traceme.dev/attacks/laundering-pattern): The funds were swapped, split, bridged or sent to exchanges, which makes them harder to follow.

Source: traceme.dev, https://traceme.dev/attacks.
