Attackers aren’t only after your systems. They’re after your developers.
Why break through a hardened API when you can send a fake recruiting message to a developer with production access? Developers have become one of the industry’s most valuable targets: broad rights, high trust, and a workflow that consists of running other people’s code all day.
The math from the attacker’s side
Look at your organization through the attacker’s eyes, and do the math:
Option A: find a vulnerability in a hardened, monitored, pentested production system. Weeks of work, high odds of being spotted.
Option B: get one developer to run one thing. A “coding exercise” from a fake recruiter. A package with an almost-right name. A “tool” shared in a professional channel. The developer has production access, cloud keys, repo rights, and a job that consists of downloading and running other people’s code all day.
The math is not even, and the attackers did the math long ago. “Coding exercise from a fake recruiter” is not a made-up example: in the Contagious Interview campaign, North Korean actors pose as recruiters on LinkedIn and get job-seeking developers to run a “coding exercise” – an npm package to “review”, or a fake video-call app – that installs the BeaverTail infostealer and the InvisibleFerret backdoor. Unit 42 first documented it in November 2023 and reported new variants in October 2024; Microsoft found it still active in customer environments in March 2026 and traces it back to December 2022. The attack goes through no production system at all. It goes through a developer’s terminal.
Why developers specifically
Three properties make the developer the dream target:
The access. An ordinary developer account often opens more than an executive’s: source code, pipelines, cloud access, often production data “for debugging”. One account, the whole kingdom. Especially where everyone has a little too much access because it was convenient.
The workflow. npm install, pip install, clone the repo, run the script, try the tool. A developer’s day is a continuous stream of other people’s code executed with full user rights. Few other jobs have “run unknown code” as part of the working day.
And the self-image. Many of us expect to recognize phishing when we see it. The attacks aimed at developers don’t look like classic scam email: they arrive as coding exercises from credible recruiters, GitHub repos with stars and history, and packages that solve a real problem, made by people who know the audience.
The defense: assume it succeeds one day
Training helps, but a defense resting on nobody ever clicking the wrong thing is not a defense. Build for one developer machine falling:
- Least privilege, time-boxed: production access is granted when it is needed, for what it is needed, and expires. Standing admin access “for efficiency” is the attacker’s best friend
- Keys off the laptop: secrets in a vault, short-lived tokens, never long-lived keys in files on disk. They have a tendency to wander
- Separate play from access: trying out unknown packages and tools happens in sandboxes and containers, not in the environment holding the cloud keys
- And make it safe to speak up: the developer who says “I think I ran something stupid” within the hour is gold. Three days of silence out of shame is the disaster. The culture decides which of the two you get
The attack surface with a pulse
You can harden every API and scan every dependency, and still lose to a message in a developer’s inbox.
Vulnerabilities in systems are still the most common way in. But many attackers have added a route to where the value lives and the resistance is lowest: the people with the keys.
So harden that route too. Reduce what one account can reach. And build the culture where the accident gets reported that same hour.