Source: Apiiro
Security firm Apiiro has published research on PolinRider, a North Korea linked worm that has pushed malware into at least 7,609 GitHub repositories owned by 2,330 accounts, using stolen credentials to forge commits under developers’ own names. The scale is not the scary part. The scary part is how it hides, and what happens after cleanup.
Commits under your own name
According to Apiiro’s analysis, published 9 November, the worm force-pushes into owners’ repositories, appending a loader to build-time configuration files that nobody reads: tailwind.config.js, postcss.config.mjs and eslint.config.mjs. Cloning the repository runs nothing. But npm run dev, npm run build or a lint pass loads the config file, so anyone who builds an infected checkout executes the loader: the owner, the CI pipeline, a fork, or an AI coding agent. In the newest wave, simply opening the folder in VS Code is enough, via a hidden task set to run on folder open.
GitHub’s own push log proves the commits are forged. In 4,402 of 4,460 resolved injection pushes, the worm swapped a clean commit for a copy with the same author, message and timestamps to the second, plus the loader. In 94 percent of injection pushes the forged commit was backdated by more than an hour, so a developer reading git log sees a weeks-old commit under their own name. In 553 repositories, owners kept pushing new work on top of the loader without noticing. 86 percent of the affected repositories belong to personal accounts more than a year old with genuine activity, including named victims such as Neutralinojs, InstaWP Connect and fxhash.
Cleanup is not recovery
The loader reads its command and control address from an Ethereum wallet, so taking any single server down achieves nothing: one blockchain transaction repoints every loader. More importantly, 1,949 listed repositories were reinfected after appearing on public lists, and in 9 of 16 repositories where the owner made a “remove PolinRider” commit, the loader was pushed back over the cleanup. Removing the code does not revoke the access that delivered it. Fresh analysis from SafeDep, published 24 November with an update on 28 November, found a new 58-line Python loader in 375 public repositories and a TypeScript variant in 528 more, so the campaign is still evolving.
What this means for your pipelines
PolinRider is a software supply chain campaign, and its real reach is the roughly 2,300 developers whose tokens, deploy keys, Actions secrets and machines it touched. The defensive checklist follows directly from the attack:
- Treat branch protection, signed commits and mandatory review as supply chain controls, not bureaucracy. The forged commits in this campaign would not have survived a review requirement on protected branches.
- Rotate every credential a compromised machine could reach, including GitHub and npm tokens, deploy keys and CI secrets. Deleting the malicious file leaves the stolen access intact.
- Audit CI for commands that load config files implicitly, and scan for the campaign’s known signatures, such as unusual padding of hundreds of spaces after a semicolon in config files.
- Watch for force-pushes whose commits predate the push itself. A normal git log will not show you this.
If your build pipeline, developer machines or release process would survive a compromised token unnoticed, you already have the same weakness this campaign exploited at scale. We help teams build supply chain controls that hold up against exactly this kind of persistence. Contact us for a review of your repository and pipeline security posture.
