Paste the repo a recruiter sent you. See whether npm install, starting the app or opening it in VS Code would run hidden code, before you run anything.
GitHub, GitLab and Bitbucket. Public repos only. GitHub allows about 30 checks an hour from one address.
A recruiter reaches out on LinkedIn, Telegram or email with a well-paid role, often at a crypto or Web3 company. After a friendly chat comes the "technical step": clone this repo, run it and fix a bug, or join a video interview. The repo is a real-looking app with one extra piece that runs the moment you install or open it. North Korean groups have used this approach for years. Researchers call it Contagious Interview, and analysts suspect it in this year's largest exchange thefts. Read how it works.
preinstall, postinstall and prepare scripts run by themselves. One that downloads or decodes code is the classic trap..vscode/tasks.json task with "runOn": "folderOpen" runs as soon as you open the folder and click Trust.node public/fonts/fa-solid.woff2 is running code disguised as a font.eval, new Function or Function.constructor next to a web request, including the trick of running an error response from the attacker's server..exe, .dll, .dmg or .pkg files committed to the repo.Only that none of these tricks showed up in the up to 20 files it read. It does not read your dependencies' own install scripts, compiled programs or private repos, and attackers change tactics. Treat a clean result as "no known red flags", not as "safe".
package.json and .vscode/ before anything else. Use npm install --ignore-scripts if you must install.Disconnect the computer from the internet. From a different, clean device, change your passwords (email and password manager first), move crypto to a new wallet made on a clean device, and revoke SSH keys, API tokens and cloud sessions. If it was a work laptop, tell your security team now: these attacks are after the access your job gives you. Full steps are in the guide.
The PhishClean extension runs this check by itself when you open a repo on GitHub, GitLab or Bitbucket during the free trial and on a paid plan. It also warns, for free, when an interview page tells you to paste a "camera fix" into Terminal or the Run box.
Last updated: