Skip to content

Workforce and access social engineering · Also called fake coding test, malicious npm package, package registry phishing, fake technical interview, developer supply chain lure

Developer-targeted lures (fake job tests and malicious packages)

Developer lures are attacks aimed at software developers: a fake job offer with a coding test that runs malicious code, a malicious package in a public registry, or a phishing email that steals a maintainer's registry login. The goal is to steal credentials, source code, or cryptocurrency, or to spread malware through trusted software.

How it works

  1. Attackers pose as recruiters or technology firms, sometimes with stolen photos and fake websites, and build rapport over a long conversation.
  2. They ask the developer to complete a pre-employment test or debugging exercise that runs unfamiliar Node.js packages, sometimes on a company device.
  3. Separately, attackers upload malicious packages to registries such as npm, or phish package maintainers with fake two-factor authentication reset emails from look-alike domains and publish poisoned versions of trusted packages.
  4. The malware hunts for credentials such as GitHub tokens and cloud API keys and sends them to the attackers; some variants spread to other packages the victim maintains.

Red flags

If you are targeted

Where to report, by country

Prevention

For individuals

For organisations

By the numbers

Figures are for the reporting category this scam falls under, not this scam alone.

Malware losses reported to the FBI IC3 in 2025$19.4MUS, 2025, FBI IC3

Real cases

Delivered through: Spear phishing, Email phishing

How official datasets classify it

FBI IC3
Malware
MITRE ATT&CK
T1566.003, T1204.005, T1195.001

Questions

Can a coding test for a job infect my computer?
Yes. The FBI has warned of North Korean actors who ask candidates to run a pre-employment test or debugging exercise that executes unknown Node.js packages. Run any test in an isolated virtual machine.
What should developers do after a malicious npm package is found?
CISA advises reviewing dependencies, pinning packages to known safe versions, rotating all developer credentials, and requiring phishing-resistant MFA on developer accounts.

Related scams

Read more