For: Business
Developer scam drill. Read it before you run it.
Eight scenarios for people who write code: fake recruiter take-home repos, postinstall malware, look-alike packages and extensions, projects that run on open, fake registry sign-ins and bug bounty extortion.
Watch the 1-minute guide 0:55
Transcript
A developer's computer holds code tokens, cloud keys, and crypto wallets. Scammers pose as recruiters with a take-home test whose install script is malware, or publish look-alike packages and editor extensions.
In the drill, you play the developer. Here, a recruiter wants a project run on your own machine before the call, and its install script runs a scrambled file.
Pick what you would do. The safe move is not to run it at all: decline the test, and report the profile on the job site.
The reveal explains every red flag, like hiring talk that moves to a private chat, or a short deadline. Your answers stay in this browser.
Press Next scenario for another round. Before anyone on your team runs code they didn't write, use the Safe Code Review checklist.
Read it before you run it, on every machine your team uses.
How developers get targeted
A developer's computer holds keys to a lot: code-hosting and package-registry tokens, SSH and cloud keys, password managers and crypto wallets. Scammers reach it through the things developers do every day. They pose as recruiters and send a take-home test whose install script is malware, publish packages and editor extensions with look-alike names, ship projects that start a task when you open the folder, phish maintainers for their registry sign-in, or demand a "bug bounty" you never offered. The FBI warns that fake pre-employment tests asking you to run unknown packages or repositories are a known tactic.
Each scenario below is an illustrative composite: the people, companies and package names are invented, every web address uses the reserved .example domain, none of the links work, and no command on this page runs anything. Your answers are saved only in this browser.
1. The drill
Read the situation, pick what you would do, then read the red-flag reveal.
2. Red flags to know
Every flag the drill reveals, in one list.
3. Safe code review checklist
Before you run code you did not write, walk through the safe code review checklist: read the install scripts, open the folder without trusting it, run it only in a throwaway container or virtual machine with npm's --ignore-scripts, and check every new package and extension. It lists the exact commands, prints on one page, and the steps marked core stop every scam in this drill.
Related practice and tools
- Safe Code Review: the printable checklist and commands for running unknown code safely.
- Phish Triage: work through a suspicious email, such as a fake registry security notice.
- Creator Scams: the same "run this file" trick, aimed at video creators.
- Wallet Check: if a crypto wallet was on a computer that ran unknown code.
- Learn: Developer safety: every developer red flag and protective step, with official sources.
How this is calculated
Show the rules behind the score
- Score. 1 point when your choice matches the scenario's safest action, 0 otherwise. Only your first answer to each scenario counts. Score is shown as points over scenarios answered; the percent in the round summary is points divided by scenarios answered, times 100, rounded to the nearest whole number.
- Streak. Consecutive correct answers in the order you answered them. A miss resets it to 0. Best streak is the highest streak in the current round. Restart round clears all three.
- Review list. The round summary lists every red flag from the scenarios you missed, once each, in the order you met them.
- Calibration rounds. 2 of the 8 scenarios are legitimate: a take-home test from a company you applied to, and a routine dependency update. Treating them as scams costs the point, because refusing every test and every update is not a safe habit either.
- Checklist progress. Steps ticked on the Safe Code Review page, over the 15 steps in total; core steps are counted separately. Core is this site's own choice of the steps that stop the drill's scams, not a ranking from a study.
- The 7-day wait. The only number used as a rule: min-release-age=7 tells npm to skip versions published fewer than 7 days ago. Seven days is the value CISA recommends in its April 2026 alert on the Axios npm compromise.
- Story numbers. Salaries, prices, line lengths, install counts and dates in the scenarios are invented for the story. None is a market figure or a statistic.
Training, not a scanner
This drill teaches habits; it does not check real repositories, packages, extensions or messages, and it makes no network calls. If you think you already ran something, follow the steps on the Safe Code Review page, tell your employer's security team if a work device or account was involved, and report it to the FBI at ic3.gov.