FalcyonSign in

Fake job interviews that send you a repo

Updated

If a recruiter sends you a project to open or fix, read it on github.com first and never run it on your own computer. In this scam the test itself is the attack: opening, installing or committing can start the malware.

How the trap works

Someone offers a job or contract and sends a repo as a coding test. The project looks real and usually has a real bug to fix. The harmful part sits in a file you have no reason to open.

  • On opening: GitLab describes fake interview projects with a VS Code task set to run when the folder opens. It starts once you say you trust the project.
  • On committing: OpenSourceMalware found interview repos with a harmful .githooks/pre-commit file. It can run the first time the candidate commits a fix.
  • On installing: a package script can run during npm install.

Warning signs

  • You are asked to run the project during a call, while someone watches and hurries you.
  • They ask you to turn off security software, or to choose "Trust" when your editor asks.
  • The job is unusually well paid, and the company's own site doesn't list it.
  • The task involves a crypto wallet, or asks you to connect yours.

Do the test safely

  1. Confirm the job with the company, using contact details from its own website.
  2. Scan the repo, and read .vscode, .githooks, package.json and any AI assistant settings on github.com.
  3. If your editor asks whether you trust the folder, say no. VS Code then opens it in Restricted Mode, which limits tasks, debugging, extensions and AI agents.
  4. Run it only in a cloud workspace or virtual machine that has no saved logins, keys or wallets. Delete it when you finish.

A real employer will understand if you say you only run unknown code in an isolated machine.

If you already ran it

  1. Disconnect that computer from the internet.
  2. From a different device, change your email password first, then your other important accounts. Sign out of all sessions.
  3. Revoke GitHub, npm, cloud and AI provider keys that were on the computer, and create new ones.
  4. Move any crypto to a new wallet that you create on a clean device.
  5. If it was a work computer, tell your security team now. Quick reports limit the damage.
  6. Wipe the computer and reinstall its system before you use it again.

Check a repo now

It's free and you don't need an account. How the score works

Sources

More guides