Your GitHub history says you wrote it. Same author, same commit message, same date. But somebody rewrote that commit with a stolen token and slipped a malware loader inside, hidden behind hundreds of blank characters so the diff looks empty.
PolinRider is a supply chain campaign that poisons real developers’ GitHub repositories by rewriting their existing commits to include a hidden loader controlled through the Ethereum blockchain. Apiiro, as reported by The Hacker News on 26 November 2026, counts at least 7,609 affected repositories across 2,330 accounts.
What is PolinRider?
PolinRider is the name researchers use for a family of loaders, in Python, JavaScript and TypeScript, planted in public repositories to infect anyone who builds or tests them. The Hacker News reports it is assessed to be a sub-cluster operating in parallel with Contagious Interview, the long-running North Korea-linked campaign that lures developers with fake job interviews.
That attribution comes from researchers quoted in news coverage. The primary SafeDep and StepSecurity posts describe the malware without naming a state actor, and no source gives a formal confidence level.
What makes PolinRider different is where the code lives. It is not in a fake package on npm or PyPI. SafeDep says plainly: “No package on PyPI or npm carries it.” The loader sits inside genuine projects owned by genuine people.
How big is the PolinRider campaign?
The counts come from different researchers measuring different things, so they should not be added together.
| Measure | Count | Source |
|---|---|---|
| Poisoned repositories (lower bound) | 7,609 across 2,330 accounts | Apiiro, via The Hacker News |
| Repos on established personal accounts | 86% (6,541) | Apiiro, via The Hacker News |
| Loader pushed between 27 Oct and 6 Nov 2026 | 2,040 repos | Apiiro, via The Hacker News |
| Python loader variant | 375 repos, 260 accounts | SafeDep |
| TypeScript loader variant (28 Nov update) | 528 repos | SafeDep |
| JavaScript api.js variant, of 622 checked | 576 repos, 311 accounts | StepSecurity |
Apiiro’s Shmulik Cohen told The Hacker News: “These are real developers, not throwaway accounts.” Named victims include Neutralinojs, InstaWP Connect and fxhash.
How does PolinRider infect repositories?
Researchers describe several routes, all ending with malicious code in a trusted repository.
Rewriting history. According to Apiiro, the worm uses stolen GitHub access to rewrite commits the developer already made, keeping the author, message and date. StepSecurity found a script on infected Windows machines that amends the latest commit with the payload and force-pushes it. One victim reported that a GitHub token taken from a VS Code sign-in was used to rewrite every repository they could reach.
Hiding in plain sight. The JavaScript variant sits after more than 300 tab characters at the end of files such as jest.config.js and postcss.config.js, and build scripts are prefixed with node api.js &&. StepSecurity notes that in GitHub’s diff view the added line looks empty. The Python variant hides in a small utils package or in conftest.py, so it runs when tests run.
Poisoned pull requests. An account named Eternity0207 opened 217 pull requests to open source projects, including AsyncAPI, CircuitVerse, Open Food Facts and Jaeger. StepSecurity says malicious commits were force-pushed onto open PR branches, stayed for 30 to 40 minutes, then were replaced by clean commits reusing the same message. None of the 145 merged PRs contained the loader, but CircuitVerse maintainers confirmed it ran in their CI and deleted 40 installers. GitHub suspended the account on 25 November.
Fake job tasks. StepSecurity also tied the loader family to fake recruiter lures, including a take-home project with a copied Tailwind plugin and a HuntRole VS Code extension later removed from the Marketplace.
Why does it use the Ethereum blockchain?
The loaders do not hard-code their server. SafeDep found that the Python loader reads the newest transaction from a specific Ethereum wallet through public APIs, decodes JavaScript stored in that transaction and runs it with Node.js. Later stages read a server address from another wallet’s transactions and download further code.
This “dead drop” design (MITRE ATT&CK T1102.001, as SafeDep’s earlier analysis maps it) means operators can switch servers by posting a new transaction, and takedowns of a single server do not stop the loader. SafeDep and StepSecurity both list five server addresses used by one wallet since 4 September 2026.
What does the PolinRider payload do?
Here the honest answer is: nobody is fully sure. SafeDep says the exact nature of both current second-stage payloads remains unknown, because no live copies were captured. Cohen told The Hacker News one of them is most likely a remote-access tool, based on an earlier decoded version.
Earlier waves were clearer. SafeDep’s September analysis documented a stealer that took environment secrets, browser passwords, cookies and wallet extension data. StepSecurity cites victims who say the stealer read macOS keychain entries and modified editor apps so the loader restarts.
What sources disagree on
- Does cloning infect you? The Hacker News describes infection when developers clone or fork projects. Computing.net, SafeDep and StepSecurity are more precise: cloning runs nothing, and the loader runs on build, test or start.
- Server lists. The Hacker News lists one server that StepSecurity ties to a different wallet.
- Origin date. Blockchain traces cited by OpenSourceMalware reach back to February 2025, while the wallets in the current wave were first active in mid-2026.
How do you detect PolinRider?
Detection guidance from SafeDep and StepSecurity, summarised:
- Search your repos. Look for lines over 1,000 characters, long runs of spaces or tabs before code,
node api.js &&ornode init &&in package.json scripts, unexpectedutilsmodules orconftest.pyfiles, and code calling Ethereum APIs. - Read the history, not the diff. Check
git logfor author and committer mismatches and review force-push events on your branches and incoming pull requests. - Check VS Code tasks. Look for
runOn: folderOpenin.vscode/tasks.jsonand odd “font” files such as.lkf. - Check hosts. StepSecurity and SafeDep list process and file indicators, such as detached
nodeprocesses and a hidden~/.node_modulesfolder. Use their posts for the full lists. - Watch egress. Build steps that query Ethereum RPC endpoints and then connect to a bare IP address are a strong signal.
What should you do if you are affected?
Clean the machine that pushes code first, not just the repository: a cleaned repo will be re-poisoned from an infected laptop. Then rotate GitHub tokens from a clean machine, followed by npm, SSH, cloud keys, browser-saved passwords and wallets.
For maintainers, require approval for workflows from outside contributors, require review of the most recent push before merge, and turn off automatic VS Code tasks. The same lesson about stolen GitHub tokens runs through our analysis of the 1Password breach, and the fake-tool angle mirrors TrojanPony’s poisoned AI coding skills.
The bottom line
PolinRider turns GitHub’s trust signals against developers: real accounts, real history and empty-looking diffs. A commit that carries your name is no longer proof that you wrote it. Review force-pushes, protect the tokens on developer machines, and treat any project you build as code you are running with your own credentials.
Sources
- The Hacker News, North Korea-Linked PolinRider Poisons Over 7,600 GitHub Repositories to Spread Malware, 26 November 2026
- SafeDep, PolinRider Python loader using Ethereum calldata, 24 November 2026, updated 28 November 2026
- SafeDep, PolinRider switches to Ethereum C2, 30 September 2026
- StepSecurity (Owais Shaikh), PolinRider malware in open source pull requests, 26 November 2026
- StepSecurity (Owais Shaikh), AccuraSoftHire fake interviews target developer machines, 13 November 2026
- Computing.net, North Korea-linked hackers use Ethereum wallets to steer malware hidden in GitHub code, 27 November 2026
- Dataconomy, North Korean PolinRider poisons 7,600 GitHub repositories, 27 November 2026
This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.