North Korea-linked PolinRider plants a loader in GitHub repos that pulls code from Ethereum
PolinRider, a North Korean campaign targeting developers, plants a Python loader in GitHub repositories that reads encoded JavaScript from an Ethereum transaction and runs it with Node.js.
- Affected
- Developers who run projects from GitHub (SafeDep counted 375 infected repos across 260 accounts) or complete take-home tasks from fake careers sites.
- Risk
- An infostealer on the developer's machine, tampered GitHub Desktop, VS Code or Cursor installs, and stolen GitHub tokens used to infect more repositories.
- What to do
- Look for unfamiliar utils packages and conftest.py changes in your projects; run recruiters' take-home tasks only in an isolated VM.
According to SafeDep, the loader hides in a small utils package or in conftest.py and fires as soon as Python imports the file: it reads the newest transaction an Ethereum wallet sent to itself and decodes its input data as JavaScript. That code reads a second wallet to find the C2 (command-and-control) server and hands the next stage to a detached node -i process. The activity may date back to February 2025. The attackers gain repository access by stealing GitHub tokens from compromised developer machines and force-pushing malicious commits, as well as through hijacked maintainer accounts, fake job offers and ClickFix lures that ask victims to paste commands into a terminal. PolinRider is assessed as a sub-cluster of Contagious Interview, a North Korean campaign that lures developers with fake job interviews.
- SafeDep found no evidence the loader was distributed via PyPI or npm
- Malicious code is also disguised as font files fa-solid-400.woff2 and fa-solid-500.woff2 and as VS Code auto-run tasks
- Fake careers sites include accurasofthire[.]com, huntrole[.]org and BlockNovas; a camera check fails until the candidate installs a driver with a curl command
- The second stage looks for GitHub Desktop, Cursor, VS Code and Google Antigravity and tampers with the most used ones
created 27 November at 12:56