CyberPeople

PolinRider: How a North Korean Worm Poisoned Over 7,600 GitHub Repositories

PolinRider: North Korean Worm Poisons 7,600+ GitHub Repos

The North Korea-linked PolinRider campaign poisoned 7,600+ GitHub repos. How the worm steals developer tokens, where it hides, and how to defend.

PolinRider is a campaign aimed at software developers. OpenSourceMalware gave it the name back in March 2026, but recent weeks have shown just how large it has grown. By early November 2026, according to Apiiro, the malicious loader had been found in at least 7,609 GitHub repositories owned by 2,330 accounts. These are not disposable accounts: 86% of the affected repositories — 6,541 of 7,609 — belong to real people whose profiles are over a year old, with at least five repositories and genuine activity. Only 16 owners look like throwaways.

The main danger of PolinRider is that it is a worm that spreads on its own. It gets onto a developer's machine, steals their credentials and crypto wallets, and then uses the developer's own GitHub access to write its loader into every repository they can push to. The next person who clones, builds, or even just opens such a project in an editor gets infected the same way. This is not a targeted strike against one company, but a self-replicating threat to the entire open-source ecosystem.

Who is behind the campaign

Researchers at OpenSourceMalware and Socket link PolinRider to North Korea's Lazarus Group and the broader activity cluster known as Contagious Interview (also called Famous Chollima). That is the same years-long fake-interview scheme North Korea uses to compromise developers by tricking them into running malicious code disguised as a take-home assessment. Abnormal AI assesses that link with "moderate confidence," and no government statement names PolinRider directly yet.

Palo Alto Networks Unit 42 put the distinction well: ordinary cybercriminals deploy supply-chain worms for opportunistic theft, while North Korean state-sponsored actors treat open-source registries as a primary initial-access vector into corporate environments. Compromising a single maintainer account turns into a broad compromise of dependencies across cloud infrastructures. PolinRider is exactly that kind of tool: its target is not one victim, but the network effect.

Developer working on a laptop with code

How the worm reaches a developer

Infection starts through one of three paths. The first is fake job offers and interviews. Recruiters from invented companies — BlockNovas, AccuraSoftHire (accurasofthire[.]com) and HuntRole (huntrole[.]org) — send candidates a "take-home assignment" by email, LinkedIn, or job boards. The project hides a poisoned dependency, a VS Code task that runs when the folder is opened, a "camera driver" the candidate is asked to paste into a terminal, or an extension to install. Some sites add a ClickFix-style trick: until the server confirms a "driver" is installed, the camera check keeps failing — nudging the candidate to run a command themselves.

The second path is poisoned npm packages. The attackers hijack maintainer accounts of legitimate packages and publish malicious versions, and also create look-alikes of popular Tailwind CSS plugins with near-identical names. One important detail: the code runs when the package is loaded by the application or build, not at install time — so installing with scripts disabled does not help.

The third path is an already-infected repository. Anyone who builds, tests, or opens such a project, fork, or pull request runs the loader. That is why the worm spreads as a chain reaction: one infected machine poisons everything its owner can reach.

Where the loader hides

The PolinRider loader is built to survive a quick code review. The most common hiding places:

  • At the end of a build config file. A line of code is appended to postcss.config.mjs, tailwind.config.js, eslint.config.mjs, next.config.mjs, vite.config.js, or webpack.config.js, separated by 250–2,000 spaces or about 300 tabs — pushing it off the right edge of the screen so it is invisible in review.
  • In a fake font file. Files named like fa-solid-400.woff2, fa-solid-900.woff2, or fa-solid-300.llf are really JavaScript run through Node.js.
  • In package.json. node init && or node api.js && is prepended to the scripts, with the init or api.js file sitting nearby.
  • In .vscode/tasks.json. A hidden task that runs as soon as the developer opens the folder in VS Code.
  • In Python projects. A 58-line file hides under utils/ named session.py, transport.py, clients.py, http_session.py, or net.py, or in conftest.py, which runs under pytest.

A C2 server you cannot take down

The most interesting technical feature of PolinRider is how the loader finds its command server. The code carries no hardcoded address. Instead, the worm reads it from a public blockchain, which cannot be taken down. The current version asks a public Ethereum service for the newest transaction sent by a fixed attacker wallet. The first bytes of the recipient address are the C2 server's IP, written twice, and the last 12 bytes spell "helloipbot!!". OpenSourceMalware calls this technique NullReceiver. Earlier versions used TRON, BNB Smart Chain, and Aptos the same way.

The loader then fetches its next stages from that address over plain HTTP on port 443 — from the paths /0x/cls and /0x/ls — and runs them in a hidden background Node.js process. According to SafeDep, /0x/cls runs twice (once via eval in the current process, once in a new one), while /0x/ls runs only in a background process, so it keeps running after the build ends. The implication matters: taking down a specific server is pointless — a single transaction moves every infected host to a new address.

Developer tools and version control systems

What it steals and how it persists

Once the stages run, the worm starts collecting everything of value on the developer's machine. First it sends the full process environment — which on a developer or build machine usually holds cloud keys and registry tokens. Then it steals passwords, cookies, and cards from Chromium and Firefox browsers, data from 80 to 153 wallet and password-manager extensions, the contents of ~/.git-credentials, the GitHub CLI token, ~/.npmrc, SSH keys, AWS credentials, desktop wallet files, the macOS login keychain, Windows Credential Manager, and even the clipboard.

Next comes a backdoor — a Node.js remote-access tool giving the operator a shell, file upload, and code execution. Researchers link PolinRider's stages to the known BeaverTail, InvisibleFerret, DEV#POPPER, and OmniStealer families. To persist, the worm appends a snippet to npm's own lib/cli.js — so every later npm command restarts it — and also creates ~/.node_modules/.npm-ws-runner.js and injects into the startup files of VS Code, Cursor, Antigravity, Discord, and GitHub Desktop.

The spreading mechanism is especially sneaky. A script named temp_auto_push.bat rolls the system clock back, rewrites the latest commit with git commit --amend --no-verify, and force-pushes it using the developer's cached credentials. The poisoned commit keeps the original author, message, and date, so the repository history looks untouched.

Scale: affected repositories and packages

Most infected repositories belong to individual developers, but notable projects are in the list too: Neutralinojs, InstaWP Connect (caught in its development trunk before a release), fxhash, Chingu, BuidlGuidl, and four Creative Tim dashboard templates. Separately, on October 19, 2026, an account with a history of merged pull requests force-pushed loader commits into open PRs at AsyncAPI, CircuitVerse, and Open Food Facts. Each commit stayed on the branch for 30–40 minutes and was then pushed away — but that was long enough for the projects' build systems to run it. Because of this, CircuitVerse published 40 infected installers, later deleted. GitHub suspended the account, nicknamed Eternity0207, on November 25.

On November 3–4, the attackers published 12 poisoned releases of 10 npm packages (including several from the @adminide-stack namespace, server-hemera-mongo, cdeops) — npm removed them within about 22 hours. SafeDep found a new Python version of the loader in 375 repositories, 370 of them pushed in November. Between October 27 and November 6 alone, the worm was added to 2,040 repositories. And even after the public lists appeared, Apiiro found 1,949 repositories infected again — most owners still have not noticed.

How to check yourself and defend

PolinRider has no CVE and no "patch" — it is not a vulnerability but an active malicious campaign that is still running. Defense is therefore manual work for the team. The most important rule: simply deleting the loader from a repository is not enough. Someone put it there from their own machine, and that machine is still infected and still holds stolen credentials. The correct order is:

  • First find and clean the machine that made the malicious push. As long as it is infected, it will keep rewriting the repository.
  • Then clean the repository from a clean machine.
  • Finally, rotate every secret that may have been on that machine: GitHub and npm tokens, SSH keys, cloud credentials, passwords, and wallets.

You can check a repository for these signs: long runs of spaces at the end of build config files; node init && or node api.js && in package.json scripts; "font" files with extensions like .lkf or .orc; VS Code tasks that run when the folder opens; unexpected files under utils/ in Python projects. Remember that installing with scripts disabled does not protect you — the code runs when the package is loaded. Look after build servers as well: they are first to leak an environment full of secrets, so require approval for pull requests from forks.

For Ukrainian developers and teams, this is a reason to re-check your own tokens and credentials. If your machine or repository may have been compromised, it is worth checking whether your data has appeared in breaches — our breach check tool can help, and to brush up on secure-development fundamentals, see our cybersecurity learning resources.

Person typing code, focused on cybersecurity

Conclusion

PolinRider is a clear example of what a modern software supply-chain attack looks like: social engineering through fake job offers, poisoned packages, a loader that hides behind hundreds of spaces, a C2 address encoded in a blockchain transaction, and a worm that spreads using the victim's own credentials. No single link is a "breakthrough" technology — the power is in how it all fits together and how fast it scales: more than seven thousand repositories in a matter of months.

The main lesson is simple: in a world where one compromised account poisons dozens of projects, developer hygiene is not a personal matter but shared security infrastructure. Check what you run even when it looks like an ordinary config or font, do not trust "take-home assignments" from unknown recruiters, and keep your tokens and keys under control. The PolinRider campaign is still active — new poisoned packages were appearing even on November 25–26, so vigilance matters now more than ever.

Stay ahead of threats

Weekly cybersecurity intelligence in your inbox. No spam.

CyberPeople contributor