News / 2 December 2026
PolinRider: a worm that rewrites developers' own commits and hides malware in their code
Security researchers have counted at least 7,609 GitHub repositories, owned by 2,330 accounts, that carry a hidden loader planted by a campaign called PolinRider. Most belong to ordinary working developers. The researchers link it to North Korea. If your company writes software, or pays someone who does, the way it spreads matters more than the label.
In short: PolinRider steals a developer's GitHub access, rewrites commits they already made so that they still show their name and old date, and adds a few lines of code pushed far off the edge of the screen. Building the project, and in the newest wave just opening the folder in VS Code, runs it. Deleting the code is not enough: the tokens and the computer that pushed it have to be cleaned too.
What the researchers found
The largest count comes from Apiiro, a code security company. In a report published on 9 November, its researcher Shmulik Cohen describes at least 7,609 infected repositories under 2,330 accounts and calls every figure a lower bound. "These are real developers, not throwaway accounts," he writes: 86% of the repositories belong to personal accounts more than a year old with real activity, and only 16 owners look like accounts made for the attack. Named victims include the desktop app framework Neutralinojs, the WordPress plugin InstaWP Connect and fxhash. Between 27 October and 6 November alone, the loader was pushed into 2,040 repositories.
The method is what makes it hard to see. According to Apiiro, the worm uses stolen GitHub access to replace a commit the developer already made with a copy that keeps the same author, message and timestamps, plus a loader appended to a build file such as a Tailwind, PostCSS or ESLint configuration, after a long run of spaces. Someone reading the history sees an old commit under their own name. Cloning runs nothing; building, testing or linting the project does, whether that is the owner, a colleague, a build server or a coding assistant.
The loader does not carry a server address. It reads it from a transaction on the Ethereum blockchain, so taking one server down changes nothing: the operators send a new transaction and every loader follows. SafeDep, another code security company, reported on 24 November that the campaign now also plants a Python version, found in 375 repositories, and in an update on 28 November a TypeScript version in 528 more. SafeDep found no sign that the Python loader was published through the PyPI or npm package registries.
What the later stages do is only partly known, because nobody captured live copies of the current ones. Apiiro decoded an earlier stage that works as a remote access tool: it runs the operator's commands, reads the clipboard, uploads files and plants itself in VS Code, Cursor, Discord and GitHub Desktop. In earlier waves, SafeDep says, the chain ended in a stealer that took secrets from the environment, browser passwords, cookies and cryptocurrency wallet data.
Why cleaning up did not work
Apiiro counted 1,949 repositories that were infected again after they had appeared on a public list of victims, and 9 of 16 repositories with a "remove PolinRider" commit had the loader pushed back on top of the cleanup. SafeDep found the same: in two repositories the newest commit, the one that says it removes the malware, still holds the loader. The reason is simple. If the developer's computer or token is still in the attacker's hands, the next push brings the code back.
How it reaches developers
The Hacker News, summarising the published research, lists three ways in: fake recruitment that asks candidates to run a "take-home" coding test, maintainer accounts taken over to publish poisoned packages, and tokens stolen from infected computers to force-push into every repository that developer can reach. Some fake hiring sites also asked candidates to install a browser extension for job alerts, to paste commands into the terminal, or to download a camera "driver" before a video check. One GitHub account opened more than 200 pull requests to open-source projects and swapped clean changes for poisoned ones for short periods; the maintainers of AsyncAPI Generator noticed and merged nothing, and the account has since been suspended.
OpenSourceMalware traced the same building blocks back further: on 4 May 2025, a hijacked maintainer account published poisoned versions of nine npm packages within 90 minutes. Blockchain records behind that attack go back to February 2025, while the self-spreading behaviour appears only from January 2026.
Who says it is North Korea
The link comes from the security companies, on technical grounds. Apiiro calls PolinRider "North Korea-linked" and points to a trick it shares with North Korea's fake job interview repositories, and to OpenSourceMalware's finding that the chain ends in BeaverTail and InvisibleFerret, stealers it describes as North Korea's usual ones. OpenSourceMalware notes that Google's threat intelligence team had documented the same blockchain contract in the activity of a group it tracks. The Hacker News describes PolinRider as a sub-cluster that runs alongside Contagious Interview, a long-running fake recruitment campaign. None of the sources we read gives a formal confidence level, and none cites a statement by a government.
What it means for a company in Europe
Most of the victims are individual developers, and the direct reach is small: Apiiro counts 14 npm packages among the infected repositories, with 84 weekly downloads between them. The exposure is elsewhere. A developer's personal GitHub account is often also the one that can push to your company's code. Their laptop holds your cloud keys and your customer database password. A freelancer you hired, or an applicant you sent a coding test, may run code on the same machine they use for you.
NIS2 asks covered companies to manage the security of their suppliers and of how they develop and maintain systems, and these are exactly the places this campaign uses. If a compromised laptop exposed personal data, your national data protection authority may have to be told within 72 hours. In Romania, the same supply chain duty is in OUG 155/2024, art. 13.
The same pattern, a single person's access to a code platform, was behind the 1Password incident and the reports around the SAP incident.
What to do now
- Search your code, on every branch, for a semicolon followed by 200 or more spaces in JavaScript and TypeScript files, which is the padding Apiiro describes, and check
.vscode/tasks.jsonfor tasks set to run when a folder opens. Apiiro and SafeDep publish the exact search commands. - Do not trust the commit history alone. On GitHub, look in the repository's activity for force-pushes whose commit claims to be days or weeks older than the push.
- Protect the main branches: no force-pushes, and a second person approves every change before it is merged or published.
- Open code you did not write in VS Code's Restricted Mode, and run test projects from applicants, recruiters or strangers on a separate machine, never on a work laptop.
- Limit what your build servers can reach. Apiiro advises blocking public blockchain services from build machines that have no business calling them.
- If you find it, treat the computer that pushed it as compromised. Clean it first, then replace every GitHub and npm token and SSH key it could reach, the secrets in its environment and the passwords saved in its browsers, and only then clean the repository. Otherwise it comes back.
Keys and passwords left in public code repositories and in a website's own JavaScript are among the things we look for in a security audit, together with staff accounts that appear in known leaks. For software your company builds, a penetration test shows how far someone gets with one developer's access.
Sources
- Apiiro: Under Your Name: Inside PolinRider, the 7,609-Repo North Korea-Linked Worm That Forges Developers' Commits
- SafeDep: PolinRider Moves to Python with an Ethereum Calldata Loader
- OpenSourceMalware: Earliest Known PolinRider Malware Found in 2025 npm Packages
- The Hacker News: North Korea-Linked PolinRider Poisons Over 7,600 GitHub Repositories to Spread Malware
Published on 2 December 2026. Counts and the description of the method come from Apiiro; the Python and TypeScript loaders from SafeDep; the 2025 packages from OpenSourceMalware; the recruitment lures from The Hacker News, which also reported the findings. The link to North Korea is the researchers' assessment, without a stated confidence level. The sources list slightly different server addresses for the same period, so we give none.