Skip to content
ClassValid

For: Business

Safe code review. Look before anything runs.

Got a take-home test, a pull request with a new package, or a project from someone you do not know? Tick through these steps before any of it runs, copy the commands, and print the list for next time.

Watch the 1-minute guide 0:51

Transcript

A take-home test, a pull request with a new package, or a project from someone you don't know can run code the moment it's installed or opened, on a machine that holds your keys.

Tick through the checklist before any of it runs. Read the install scripts in package.json first. Then open a downloaded project without trusting it, in Restricted Mode.

Never run a stranger's project on a work laptop. Use a throwaway container, and install with scripts turned off. The commands are ready to copy. This page never runs anything.

If someone already ran it, the steps below say what to do first. Print the checklist for everyone on your team who reviews code.

Look before anything runs, and never on a work laptop.

Safe code review checklist

Tick what you have done. "Core" steps stop the scams in the Developer Scams drill: code that runs on install or when a folder opens, look-alike packages and extensions, stolen registry sign-ins and bounty extortion. Ticks are saved only in this browser.

Commands

Text to copy into your own terminal; this page never runs anything. Checked against the current npm (version 12) and Docker documentation in November 2026.

    If you already ran it

      Show checklist as plain text
      
              

      Why these steps

      Almost every scam aimed at developers needs one thing: your code-running machine to run the attacker's code while it holds your keys. Install scripts, folder-open tasks and extensions all run with your permissions, and a stolen registry sign-in lets the attacker reach everyone who installs your packages. The core steps are the checks that break that chain. They are this checklist's own priority, chosen because each one stops a scam in the drill; they are not a ranking from a study.

      The npm settings follow CISA's recommendations after the 2026 Axios npm compromise: set ignore-scripts=true and min-release-age=7 in .npmrc. Some packages need their install scripts to build; read those scripts, then allow them for that one install with npm install --ignore-scripts=false. Other package managers have their own settings; check their documentation.