The PolinRider worm is a good reason to change one habit. Cloning a repository runs nothing, but opening it in VS Code, building it, starting its dev server or running its tests can run code that someone else put there, under the name of a developer you trust. Coverage peaked between 26 and 29 November 2026, but this is a campaign that has been tracked publicly since March 2026, not a new disclosure. The figures below come from the primary reports by Apiiro, SafeDep and StepSecurity, and every count in them is a lower bound.
What the PolinRider worm does
Apiiro found PolinRider in at least 7,609 GitHub repositories owned by 2,330 accounts, most of them working developers. Named victims include Neutralinojs, InstaWP Connect and fxhash. Between 27 October and 6 November 2026 the worm pushed its loader into 2,040 repositories, 956 of them newly infected.
The mechanism is what makes it unusual. The worm uses stolen GitHub access to rewrite commits the developer already made, keeping the author, message and date, and adds a loader hidden after hundreds of spaces in a build config. In Apiiro's words, building the project runs it, and in the newest wave opening the folder in VS Code is enough. Apiiro is explicit about the other half: cloning runs nothing.
The victims are not throwaway accounts. 6,541 of the 7,609 repos (86%) belong to personal accounts more than a year old with five or more repos and real activity; only 16 owners look like throwaways. In 4,402 of the 4,460 injection pushes Apiiro could resolve, the worm swapped a clean commit for a copy with the same author, message and timestamps to the second, plus the loader.
Why a clean git log proves nothing
Most review habits assume that history is trustworthy once it looks familiar. PolinRider breaks that assumption in four ways:
- Familiar, backdated authorship. The commits are the developer's own, rewritten. In 94% of 9,990 injection pushes Apiiro examined, the forged commit claims to be more than an hour older than the push that delivered it, so
git logshows a weeks-old commit under the owner's name. Apiiro's advice is to check force-pushes in the repository's Activity view on GitHub instead. - Short-lived malicious versions. On 19 October 2026 the account Eternity0207 force-pushed rewritten commits into open pull requests at AsyncAPI Generator, CircuitVerse, Open Food Facts and Jaeger. An AsyncAPI maintainer said each malicious version stayed on the branch for 30–40 minutes before being force-pushed away, "so the final diff looked clean". GitHub suspended the account on 25 November and removed its pull requests.
- Cleanup does not hold. 9 of 16 repos with a "remove PolinRider" commit had the loader pushed back over the cleanup, according to Apiiro, and SafeDep found the newest Python loader inside commits whose messages say they remove the malware. As long as the machine that pushes is infected, the repo gets reinfected.
- Takedown-resistant infrastructure. The loader reads its command-and-control (C2) address from an Ethereum wallet, so taking a server down changes nothing: one transaction moves every loader to the next. The "NullReceiver" technique hides the C2 IP in the first eight bytes of a fake destination wallet address.
Attribution to North Korea is the assessment of several research firms, based on shared code and infrastructure, not an official government finding. PolinRider is assessed to run in parallel with the long-running Contagious Interview campaign: fake recruiting is the entry point, and PolinRider turns the resulting access into a distribution channel.
Where the payloads hide and what triggers them
- Build and dev configs. Obfuscated JavaScript after a long run of spaces in files such as
tailwind.config.js,postcss.config.mjs,eslint.config.mjsorjest.config.js.npm run dev,build,lintor a Jest run loads them. - Folder open. A
.vscode/tasks.jsontask with"runOn": "folderOpen"that runsnodeon a fake font file, plus a.vscode/settings.jsonthat turns on automatic tasks. Apiiro documented this on 27 October 2026 in an elizaOS repository. - Python tests and imports. SafeDep found a 58-line Python loader in 375 public repositories under 260 accounts (24 November). It sits in a small
utilspackage or inconftest.py, which pytest imports automatically. SafeDep found no evidence it was distributed via PyPI or npm. - TypeScript entry files. In a 28 November update SafeDep added a TypeScript variant in 528 more repositories, often in
vite.config.tsornext.config.ts, which run on every development build.
The entry point is fake recruitment. The Hacker News reports portals named BlockNovas, AccuraSoftHire and HuntRole that push targets to run malware-laced projects as take-home assessments, and a VS Code Marketplace extension named huntrole.assessment-tool. The second-stage Node.js payload scans for GitHub Desktop, Cursor, VS Code and Google Antigravity and tampers with them. Earlier waves installed a stealer that collected environment secrets, browser passwords, cookies and wallet data.
CI is not automatically safe
Apiiro describes an earlier second stage as a remote-access tool that skips CI sandboxes and plants itself in VS Code, Cursor, Discord and GitHub Desktop. That does not mean the loader stays out of CI. StepSecurity reports that CircuitVerse's release workflow ran poisoned fork pull requests with no approval step: the loader ran in the desktop build, and the maintainers deleted 40 installers and changed the workflow so fork pull requests no longer publish builds. At Open Food Facts the CI build ran on each poisoned commit (all four runs failed) and the maintainers rotated a secret. At AsyncAPI nothing ran, because fork workflows needed a maintainer's approval.
What teams should change now
The primary reports point to a short list of controls. Our take is to treat developer workstations and GitHub tokens as the asset to protect, because that is what the worm abuses.
Isolate anything from recruiters and candidates
Run take-home assessments, whether you receive them as a candidate or send them as a hiring team, in a throwaway VM or an ephemeral dev container, as the CSA recommends. The same goes for any "quick look at this repo" request from someone you have not worked with. Do not use a machine that holds your GitHub credentials, cloud CLI sessions or wallet data.
Keep VS Code in Restricted Mode for code you did not write
Microsoft's Workspace Trust documentation says Restricted Mode disables tasks, debugging, the terminal, workspace settings and AI agents until you trust the folder, which covers both the folderOpen task and the settings file that enables it. The CSA notes that the newest wave depends on developers accepting the trust prompt. The practical rule: do not click "Trust" to make a banner go away. Read the folder first, or open it in the VM. Microsoft also notes that Workspace Trust cannot stop a malicious extension.
Sandbox AI coding agents
Apiiro counted 293 infected repos that carry coding-agent config and notes that agents routinely run dev, build and lint, which load the infected file. An agent that runs pytest or npm run build on a fresh clone triggers the loader just like a human would. Run agents in containers or VMs without your long-lived tokens mounted.
Check repos with the researchers' own searches
Apiiro's check looks for a ; followed by 200 or more spaces in JavaScript and TypeScript files on every branch:
git grep -nE ';[[:blank:]]{200,}[^[:space:]]' $(git for-each-ref --format='%(refname)' refs/heads refs/remotes) -- '*.js' '*.mjs' '*.cjs' '*.ts' init
SafeDep's checks for the Python loader and its git history:
grep -rniE '0x3b1574417524c11a7403c4b232cacbb320ccebc6|getAddressTransactions|eth_getTransactionByHash' --include='*.py' .
git log --all --oneline -S 0x3b1574417524c11a7403c4b232CAcBb320CceBC6
Also look for .vscode/tasks.json entries with folderOpen and npm scripts that start with node init &&. A match is a lead that needs a manual look, not proof. In review, treat changes to .vscode/, build configs and test configs as security-relevant.
Rotate from a clean machine
If any host opened, built or tested an affected repo and has Node.js installed, SafeDep says to treat it as compromised, and the CSA recommends reimaging rather than cleaning. Rotate GitHub tokens, SSH keys, npm tokens, cloud keys, CI secrets and browser-stored passwords and cookies from a separate, clean host. Deleting the malicious file does not revoke the access that pushed it. Apiiro also suggests blocking public blockchain RPC endpoints from CI runners and build containers, which rarely need them.
Rulesets first, signing with care
GitHub rulesets can block force-pushes, require pull requests and require signed commits on protected branches. The CSA points out that signing helps only if the signing key is not sitting unprotected on the compromised workstation, and that rulesets do not protect pull-request branches on contributor forks, which is where the AsyncAPI pattern happened. At AsyncAPI the clean commits were signed and the malicious ones were not, so an unsigned commit in a normally signed pull request is worth a look.
What we don't know yet
- The contents of the current
/0x/clsand/0x/lsstages: SafeDep did not connect to the C2 server, so what runs today is inferred from earlier stages. - How the worm gets push access in every case: the CSA notes that early reports said no stolen GitHub credentials were used, while later ones describe stolen tokens.
- The full count: Apiiro's numbers cover default branches and code-search results, which are capped, so every figure is a lower bound.
Key takeaways
- Cloning runs nothing; opening the folder in VS Code, building, starting the dev server or running tests on an infected repo can run PolinRider's loader.
- Author, message and date no longer prove a repo is clean: the worm rewrites existing commits and backdates them.
- Apiiro's figures: at least 7,609 repos across 2,330 accounts, 86% of them established personal accounts, all counts lower bounds.
- Fake hiring portals with take-home assessments are the documented entry point; run candidate and recruiter code in a throwaway VM.
- Keep VS Code in Restricted Mode for unfamiliar repos and sandbox AI agents that build or test them.
- CI is not automatically safe: CircuitVerse's release workflow ran the loader and published 40 installers that had to be deleted.
- After any exposure, rotate secrets from a clean host and clean the pushing machine, or the repo gets reinfected.
