The North Korea-linked PolinRider campaign turns developers' own GitHub repositories into a delivery channel. According to Apiiro, at least 7,609 repositories owned by 2,330 accounts carry malicious code. Most of them are real personal accounts that have been active for years, not throwaway profiles.
Here is how it works. A developer's machine gets infected through a fake job interview, a malicious VS Code extension or an npm package. The malware then rewrites the latest commit in every repository that developer can push to, folds its code in and force-pushes. The author, message and date of the commit stay the same, so the change is hard to spot by eye. The code is usually hidden in config files such as tailwind.config.js, postcss.config.mjs and next.config.mjs, after hundreds of whitespace characters. In the latest wave a "runOn": "folderOpen" task is added to .vscode/tasks.json, so simply opening the project in VS Code is enough to run it. In Python projects, researchers found a loader that runs during tests through conftest.py.
The loader reads its command server address from Ethereum transactions, so blocking a single server does not stop it. The next stage behaves like a remote access tool: it runs commands, uploads files and reads the clipboard. Earlier waves stole browser passwords, cookies, secrets and crypto wallets.
Check your repositories for unusually long lines in config files and for tasks.json files with folderOpen. Search the history with git log -S too, because the code can live in older commits even when the latest version looks clean. Open newly cloned projects in VS Code Restricted Mode, block force-pushes on main branches and require signed commits. If you find an infection, reinstall the machine and rotate GitHub tokens, SSH keys, cloud and CI secrets from a separate, clean device.
Sources: Cloud Security Alliance: PolinRider research note, The Hacker News: PolinRider poisons over 7,600 repositories








