# Don't Get Rekt

> A field guide to the social-engineering scams that target people who work in crypto, built from real reports on X and rekt.news, plus a guide to the smart-contract bugs behind real exploits.

Each scam type has red flags, how it works, how to protect yourself, what to do after an attack, and real examples with links to the source posts. The developer section covers 17 bug classes with vulnerable and fixed Solidity code, from 769 code exploits (rekt.news and DeFiHackLabs). Summaries are written by an LLM from the sources and are not all reviewed by a person yet.

## Scams: Asked to install, run or verify something

- [Fake Telegram verification bots](https://dontgetrekt.today/scam/fake-safeguard-bot.md): A Telegram group asks you to "verify you are human" with a Safeguard-style bot. The check steals your account or your wallet.
- [The fake coding test](https://dontgetrekt.today/scam/fake-coding-test.md): A recruiter sends a repo to run as part of an interview. Running it installs malware.
- [Fake wallet apps and sponsored search results](https://dontgetrekt.today/scam/fake-wallet-app.md): A search ad, an app store listing or a download page copies a real wallet or exchange. The app steals your seed phrase.
- [Malicious browser extensions](https://dontgetrekt.today/scam/malicious-extension.md): A fake or compromised wallet extension reads your seed phrase or changes your transactions.
- [Fake trading bots and tools](https://dontgetrekt.today/scam/fake-trading-bot.md): A free sniper, arbitrage, MEV or "AI" trading bot on GitHub or YouTube steals your key or drains the wallet you fund it with.
- ["Test my game" malware](https://dontgetrekt.today/scam/fake-game-tester.md): A DM asks you to test a new Web3 game, sometimes for pay. The game launcher is malware that empties your browser wallets.
- ["Paste this command to fix it"](https://dontgetrekt.today/scam/paste-this-command.md): A page shows a camera, driver or CAPTCHA error and gives you a command to paste in your terminal.
- [The fake meeting app](https://dontgetrekt.today/scam/fake-meeting-app.md): An interviewer says your video app does not work and sends a "better" one to download.
- [Tampered or fake hardware wallets](https://dontgetrekt.today/scam/tampered-hardware-wallet.md): A hardware wallet from a reseller, a marketplace or a "free replacement" by mail is changed to leak your seed phrase.
- [Phished package maintainers and poisoned packages](https://dontgetrekt.today/scam/phished-package-maintainer.md): A fake "reset your 2FA" email takes over an npm or PyPI maintainer's account. The attacker publishes a version that steals crypto from every user.
- [A file with hidden orders for your AI agent](https://dontgetrekt.today/scam/ai-agent-prompt-injection.md): A stranger sends you a file, a page or a post. Your AI agent reads it, obeys hidden text in it, and installs malware or sends your funds.

## Scams: Asked to click, sign or send crypto

- [Hacked accounts and trusted contacts](https://dontgetrekt.today/scam/account-takeover.md): A real account you trust is taken over and then used to scam its followers.
- [Sign to claim (wallet drainers)](https://dontgetrekt.today/scam/sign-to-claim.md): An airdrop, mint or support page asks for one signature. That signature gives away your tokens.
- [Address poisoning](https://dontgetrekt.today/scam/address-poisoning.md): A look-alike address appears in your history. You copy it and send funds to the scammer.
- [Fake giveaways and "pay a fee to withdraw"](https://dontgetrekt.today/scam/fake-giveaway.md): You "won" a giveaway, a prize or a balance. To receive it, you must first send a fee in crypto.
- [Seed phrase requests](https://dontgetrekt.today/scam/seed-phrase-request.md): Fake support or a fake tool asks for your recovery phrase or private key.
- [Hijacked project websites](https://dontgetrekt.today/scam/hijacked-website.md): The real website of a project is taken over. You go to the right address, and it asks you to sign a drainer request.

## Scams: Told that something is wrong

- [Fake security alerts by email, letter and DM](https://dontgetrekt.today/scam/fake-security-alert.md): An email, letter or DM says your wallet is at risk, your account is locked or you owe tax. The link or QR code steals your wallet.
- [Fake GitHub notifications](https://dontgetrekt.today/scam/fake-github-notification.md): Someone tags you in a GitHub issue, comment or repository. GitHub sends you a real email, but the message in it is a scam: an airdrop, a security alert or a job.
- [Fake exchange security calls and texts](https://dontgetrekt.today/scam/fake-exchange-call.md): "Exchange security" calls or texts about a suspicious login and asks you to move funds to a "safe" wallet.
- [Fake police and authorities](https://dontgetrekt.today/scam/fake-police.md): A "detective" calls to say your seed phrase was found on a seized device. Then a "wallet expert" calls to help you secure your funds.

## Scams: Offered a job, a deal or a contact

- [Fake investors, podcasts and journalists](https://dontgetrekt.today/scam/fake-investor-or-media.md): A "VC", podcast host or journalist invites you to a call. In the call, they take control of your computer.
- [Fake trading groups and high-yield offers](https://dontgetrekt.today/scam/fake-trading-yield.md): A private alpha group, a signals channel or a "fund" promises high returns. Deposits do not come back.
- [Romance and "wrong number" investment scams](https://dontgetrekt.today/scam/romance-investment.md): A stranger texts the wrong number or matches with you on a dating app. Weeks later, the new friend shows you a trading platform. The platform is fake.
- [OTC and P2P trade scams](https://dontgetrekt.today/scam/otc-p2p-trade.md): In a peer-to-peer or OTC trade, the other side uses a fake escrow, a fake payment proof, stolen bank money or fake tokens.
- [Fake job candidates (North Korean IT workers)](https://dontgetrekt.today/scam/fake-it-worker.md): A remote developer you hire uses a false identity. Once inside, they steal code, keys or funds.
- [Task scams: pay to work](https://dontgetrekt.today/scam/task-scam.md): A remote job pays you small amounts in USDT to rate apps or products. Then you must deposit crypto to unlock more tasks or to withdraw.
- [Fake recruiters (other)](https://dontgetrekt.today/scam/fake-recruiter.md): Fake job offers where the report does not say how the theft happened.

## Scams: Lost access or funds, or under threat

- [Fake support and fund recovery](https://dontgetrekt.today/scam/fake-support-recovery.md): After you ask for help, "support" or a "recovery expert" contacts you. They take more money or your wallet.
- [SIM swap](https://dontgetrekt.today/scam/sim-swap.md): The attacker moves your phone number to their SIM card and uses SMS codes to take your accounts.
- [Physical threats (wrench attacks)](https://dontgetrekt.today/scam/wrench-attack.md): Criminals use violence or kidnapping to force a crypto holder to transfer funds.

## Smart contract bugs: Who can call it?

- [Missing or wrong access control](https://dontgetrekt.today/dev/access-control.md): A function that moves funds, mints tokens or changes settings has no check of who calls it, or the check is wrong. Anyone can call it.
- [Proxy, upgrade and initializer bugs](https://dontgetrekt.today/dev/proxy-initializer.md): An upgradeable contract has an initializer that anyone can call, an implementation that nobody initialized, or a storage layout that an upgrade breaks.
- [Signature replay and forgery](https://dontgetrekt.today/dev/signature-replay.md): The contract accepts a signed message but does not check the nonce, the chain, the contract or the deadline. The attacker uses one signature many times, or a signature that recovers to address zero.
- [Governance takeover](https://dontgetrekt.today/dev/governance-attack.md): An attacker gets enough votes, often with borrowed tokens, and passes a proposal that sends the treasury to them. With no timelock, nobody can stop it.

## Smart contract bugs: What does it trust?

- [Price oracle manipulation](https://dontgetrekt.today/dev/oracle-manipulation.md): The protocol reads a price that the attacker can move in the same transaction, usually the spot price of one AMM pool. The attacker borrows against a fake price.
- [Missing input validation](https://dontgetrekt.today/dev/input-validation.md): The contract trusts an address or a value that the caller gives: a fake token, a fake pool, a fake market. The attacker passes a contract they wrote.
- [Arbitrary external calls](https://dontgetrekt.today/dev/arbitrary-call.md): A router, aggregator or zap contract calls any address with any data that the user gives. The attacker makes it call transferFrom on tokens that users approved.
- [Unchecked return values and non-standard tokens](https://dontgetrekt.today/dev/unchecked-call.md): The contract ignores a failed transfer, or assumes every ERC-20 behaves the same. A token that returns false, takes a fee or rebases breaks the accounting.
- [Bridge and cross-chain message validation](https://dontgetrekt.today/dev/bridge-validation.md): A bridge releases funds for a message, a proof or a deposit that it did not verify correctly. The attacker forges a deposit on one chain and withdraws real funds on the other.

## Smart contract bugs: In what order does it run?

- [Reentrancy](https://dontgetrekt.today/dev/reentrancy.md): The contract sends ETH or calls another contract before it updates its own state. The receiver calls back in and withdraws again, with the old balance.
- [Front-running, sandwiches and missing slippage](https://dontgetrekt.today/dev/frontrunning-mev.md): A transaction waits in the public mempool before it is mined. A bot sees it, copies it or trades around it, and takes the profit.
- [Denial of service and locked funds](https://dontgetrekt.today/dev/denial-of-service.md): One user, one failed transfer or one long loop can block a function for everyone. Funds stay locked in the contract.

## Smart contract bugs: Is the math and the design right?

- [Business logic flaws](https://dontgetrekt.today/dev/business-logic.md): Each line of code is correct, but the design lets an attacker take value: rewards claimed twice, debt that disappears, a liquidation that pays the liquidated account.
- [Rounding, precision and share inflation](https://dontgetrekt.today/dev/rounding-precision.md): Share, interest or fee math rounds in the wrong direction or loses precision. The attacker repeats a small gain many times, or inflates the share price of an empty vault.
- [Integer overflow, underflow and unsafe casts](https://dontgetrekt.today/dev/integer-overflow.md): A number wraps around: a balance under zero becomes huge, or a large value cut to fewer bits becomes small. Solidity 0.8 checks most math, but not unchecked blocks, casts or assembly.

## Smart contract bugs: Can the platform be trusted?

- [Compiler bugs](https://dontgetrekt.today/dev/compiler-bug.md): The source code is correct, but the compiler produces wrong bytecode. In 2023, a bug in some Vyper versions broke the reentrancy lock of several Curve pools.
- [Weak randomness](https://dontgetrekt.today/dev/weak-randomness.md): A lottery, mint or game uses block values as a random number. A validator or another contract can predict it and win every time.

## Optional

- [All scam types](https://dontgetrekt.today/types): The home page, with the scam types grouped by situation.
- [Spot the scam](https://dontgetrekt.today/learn): Short quizzes with messages like the ones scammers send.
- [Smart contract bugs](https://dontgetrekt.today/dev): The index of the bug classes.
