PolinRider Has Poisoned 7,600 GitHub Repos, and Ethereum Steers It
North Korea-linked PolinRider has been found in at least 7,609 GitHub repositories. Its newest Python loader reads JavaScript from Ethereum transactions and rotates C2 via the blockchain, SafeDep reports.
The North Korea-linked PolinRider campaign has now been found in at least 7,609 GitHub repositories owned by 2,330 accounts, mostly individual developers, according to Apiiro figures cited by The Hacker News. The newest wave, documented by SafeDep on Nov. 24, plants a 58-line Python loader in 375 repositories that pulls its next stage out of Ethereum transactions. Because the C2 address lives on the blockchain, taking a server down doesn’t stop it: one new transaction repoints every loader.
For defenders
How it spreads: malware on an infected developer’s machine uses their GitHub access to rewrite commits they already made, keeping the author, message and date, and force-pushes the result. Apiiro says 2,040 repositories were hit between Oct. 27 and Nov. 6. Earlier waves used fake job sites (AccuraSoftHire, HuntRole) with take-home tests, ClickFix-style commands and a sideloaded Chrome extension, plus hijacked npm packages. Researchers tie PolinRider to the Contagious Interview operation. T1195.001 (Supply Chain Compromise: Compromise Software Dependencies and Development Tools).
The Python loader: hidden in utils/session.py, transport.py, clients.py, http_session.py or a root conftest.py, with import lines added to a start file. It reads wallet 0x3b1574417524c11a7403c4b232CAcBb320CceBC6 through Ethplorer and a public Ethereum RPC node, decodes JavaScript from the newest transaction, and runs it with Node.js. That stage reads a second wallet whose zero-value “heartbeat” transactions encode the C2 IP twice plus the marker “helloipbot!!” (the NullReceiver trick), then fetches /0x/cls and /0x/ls over plain HTTP on port 443 and feeds them to a detached node -i so nothing shows on the command line. SafeDep didn’t capture those final stages; earlier waves installed a stealer for environment secrets, browser passwords, cookies and wallets. T1102.001 (Web Service: Dead Drop Resolver), T1059.006 (Command and Scripting Interpreter: Python), T1059.007 (Command and Scripting Interpreter: JavaScript).
What triggers it: running pytest on a repo with the conftest.py loader, starting a script next to the planted utils folder, or for the JavaScript variant, npm run build, npm run dev, a Jest run, or just opening the folder in VS Code.
95.135.181[.]84
95.135.181[.]151
103.179.143[.]219
103.179.142[.]155
23.27.13[.]72
166.88.134[.]75
hxxp://95.135.181[.]84:443/0x/cls
hxxp://95.135.181[.]84:443/0x/ls
accurasofthire[.]com
huntrole[.]org45f1e5c405d1253b0014a17619581d31e1b94fdca8733519d84b9795a460f53a
adf94e02b0dea9efbf0c02c522fd39d7b833adc41067e747c3eb0843e36a1f91
623daf99f3bba7ac590025b46d7d7e3fc8d8917629548d3c6e28cfb5aa1b6328
65408e27530326d501d481955300fa8e3ef2fffc0b7b07ffa29747b7337e0f17Ethplorer, PublicNode and Blockscout are legitimate shared services; a request to them alone isn’t an infection, SafeDep notes.
What it means for you
This targets people who write software, and anyone who downloads code from GitHub to try it out. If you never clone projects or run code from GitHub, nothing to do. If you do, a repo you trust may have been quietly changed through its owner’s hijacked account, and running its tests or build can hand your saved passwords, browser logins and crypto wallets to the attackers.
Do this now
- Search your code folders for the wallet address above and for unexpected
utils/session.py,transport.pyorconftest.pyfiles; SafeDep’s post has the exact search commands. - Be wary of “coding test” job offers that ask you to install a driver, run a one-line command or load a browser extension.
- If you ran an infected project, treat that computer as compromised: move crypto funds, rotate saved passwords, GitHub tokens and SSH keys, and clean the machine before pushing code again.
- Protect your GitHub account with a hardware security key such as a YubiKey and short-lived tokens.
Source article: North Korea-Linked PolinRider Poisons Over 7,600 GitHub Repositories to Spread Malware
Publisher: The Hacker News
Published: Nov. 27, 2026
URL: https://thehackernews.com/2026/11/north-korea-linked-polinrider-poisons.html
Executive Summary
PolinRider is a North Korea-linked software supply chain campaign, assessed by OpenSourceMalware to be a sub-cluster running in parallel with the Contagious Interview fake-recruitment operation: Contagious Interview compromises developer machines, and PolinRider uses that access to turn the victims’ own repositories into malware distribution points. Apiiro counts at least 7,609 affected GitHub repositories across 2,330 accounts, with 2,040 poisoned between October 27 and November 6, 2026, and OpenSourceMalware traces related npm activity and blockchain records back to February and May 2025. Entry points include fake hiring portals (AccuraSoftHire, HuntRole) that push take-home projects, “driver” installers, ClickFix-style terminal commands and a sideloaded Chrome extension or a malicious VS Code extension; hijacked npm maintainer accounts; and malicious pull requests. Once on a developer’s machine, the malware rewrites existing commits with the developer’s credentials, preserving author, message and date, and force-pushes a loader into build configs, test files or a planted utils package. The newest wave, documented by SafeDep on November 24, is a 58-line standard-library Python loader in 375 repositories that reads an Ethereum wallet’s self-sent transaction to obtain a JavaScript stage, which reads a second operator wallet whose heartbeat transactions encode the current C2 IP (the NullReceiver technique) and then retrieves /0x/cls and /0x/ls over plain HTTP on port 443, running them through eval and a detached node -i process. The objective is theft of developer secrets, browser credentials, cookies and cryptocurrency wallets, plus onward propagation; the C2 has rotated through five addresses since September 2026. Hunt leads, false positive expectations, published indicators and file hashes are detailed below; no YARA or Sigma rules were published.
ATT&CK chain: Initial Access → Execution → Persistence → Defense Evasion → Command and Control → Credential Access
Hunt Lead Grid
| Hunt Lead Level | Hunt Lead Name | ATT&CK | Risk of False Positives |
|---|---|---|---|
| 1 (Junior) | Loader Wallet and File Sweep Across Repositories | T1195.001 (Supply Chain Compromise: Compromise Software Dependencies and Development Tools) | Low. The dead-drop wallet address and the loader’s file hashes are unique to the campaign; the utils import check alone needs manual review because projects can have their own utils package. |
| 1 (Junior) | PolinRider C2 Addresses and /0x/ Stage Paths | T1071.001 (Application Layer Protocol: Web Protocols) | Low. The addresses are time-boxed C2 servers and the /0x/cls and /0x/ls paths over plain HTTP on port 443 are a distinctive combination. |
| 2 (Pro) | Detached Node Interactive Shell From Python or Build Tools | T1059.007 (Command and Scripting Interpreter: JavaScript), T1564.003 (Hide Artifacts: Hidden Window) | Medium. Developers run node -i interactively from terminals; the rule anchors on node -i or node -e with no terminal, spawned by python, pytest or an npm build script. |
| 2 (Pro) | Build Script and Test Config Tampering | T1195.001 (Supply Chain Compromise: Compromise Software Dependencies and Development Tools), T1027 (Obfuscated Files or Information) | Medium. Build scripts change legitimately; the check anchors on a new root script chained before the real build command and on code appended after long whitespace runs in config files. |
| 3 (Elite) | Blockchain API Lookup Followed by Raw-IP Connection | T1102.001 (Web Service: Dead Drop Resolver) | Medium. Web3 developers query Ethereum APIs all the time; the correlation anchors on a Python process hitting a blockchain API, then a node process doing the same, then a connection to a raw IP on port 443 without TLS. |
Loader Wallet and File Sweep Across Repositories
SafeDep found the same 58-line Python loader in 375 repositories under 260 accounts, almost all pushed in November 2026. It hides as utils/session.py (183 files), utils/transport.py, utils/clients.py, utils/http_session.py or a root conftest.py, and the attacker adds five import lines (import utils.clients, utils.http_session, utils.transport, utils.session, utils.net) to a start file such as a Django asgi.py. The loader hard-codes wallet 0x3b1574417524c11a7403c4b232CAcBb320CceBC6 and calls getAddressTransactions on Ethplorer and eth_getTransactionByHash on a public RPC node, then writes the decoded JavaScript to a NamedTemporaryFile with a .js suffix and runs node on it. It exists in two encodings with known SHA-256 values (LF and CRLF line endings). The sweep is a code search of every internal repository, mirror and developer clone for the wallet address, the two RPC method names in .py files, the utils import lines, and conftest.py files that use NamedTemporaryFile, plus the git history search SafeDep publishes, because clean-up commits have left the loader in place.
Run it across source control (GitHub or GitLab code search, or a server-side grep of mirrors), on CI caches, and on developer workstations via EDR file search for the two loader hashes. Sweep all history, not just default branches: the campaign forges commit dates back to September 2025, so date filters will miss it. Scope first to developer and build hosts. A hit on the wallet or hash is confirmed infection of the repository; a hit on the import lines alone needs a manual look. Removing the file is not enough: SafeDep found repositories reinfected after clean-ups because the machine that pushes to them was still compromised, so any hit means identifying who pushed the commit and treating that workstation and its GitHub tokens and SSH keys as compromised.
$ grep -rniE '0x3b1574417524c11a7403c4b232cacbb320ccebc6|getAddressTransactions|eth_getTransactionByHash' --include='*.py' .
$ grep -rnE '^import utils\.(net|clients|http_session|transport|session)\b' --include='*.py' .
$ find . -name conftest.py -exec grep -l 'NamedTemporaryFile' {} +
$ git log --all --oneline -S 0x3b1574417524c11a7403c4b232CAcBb320CceBC6
(Search commands as published by SafeDep, “Am I affected?” section.)
Hunt Lead Level: 1 (Junior Analyst)
ATT&CK: Initial Access → T1195.001 (Supply Chain Compromise: Compromise Software Dependencies and Development Tools); Execution → T1059.006 (Command and Scripting Interpreter: Python)
Sources: “North Korea-Linked PolinRider Poisons Over 7,600 GitHub Repositories to Spread Malware”, The Hacker News, Nov. 27, 2026, https://thehackernews.com/2026/11/north-korea-linked-polinrider-poisons.html (source article); “PolinRider Moves to Python with an Ethereum Calldata Loader”, SafeDep, Nov. 24, 2026, https://safedep.io/blog/polinrider-python-loader-ethereum-calldata (additional source, same campaign)
PolinRider C2 Addresses and /0x/ Stage Paths
The operator wallet 0x1eEf0849EDa15d87f64e51C73C8442Cf3c8bCEF3 sent 366 heartbeats between September 4 and November 24, 2026, each encoding the active C2. SafeDep’s timeline: 166.88.134[.]75 (September 4 to 12), 103.179.143[.]219 (October 14 to 16), 23.27.13[.]72 (one heartbeat on October 14), 95.135.181[.]151 (October 16 to November 12) and 95.135.181[.]84 (from November 12 23:44 UTC, current on November 24). The Hacker News adds 103.179.142[.]155 from the earlier 0xa322 wallet chain. The JavaScript stage fetches hxxp://95.135.181[.]84:443/0x/cls and hxxp://95.135.181[.]84:443/0x/ls as plain HTTP on port 443, with an XOR-encoded response and a Sec-V request header carried over from the September samples. The hunt is any connection to these addresses, and any HTTP request on port 443 for a path beginning /0x/.
Search firewall, NetFlow, proxy and EDR network telemetry, weighting each address by its active window so that a hit during the window is high confidence and a hit outside it is a lead to verify. Sweep back to September 1, 2026, and further to February 2025 if you have related npm package exposure, since the blockchain records date activity back that far. A proxy or IDS that sees cleartext on 443 can match the /0x/ paths directly, which survives the next C2 rotation. Blocking the IPs is worth doing but will age quickly; one transaction moves every loader to a new server, so pair the block with the behavioral leads below. Treat any hit from a developer machine as a confirmed infection and start credential rotation.
Hunt Lead Level: 1 (Junior Analyst)
ATT&CK: Command and Control → T1071.001 (Application Layer Protocol: Web Protocols)
Sources: “North Korea-Linked PolinRider Poisons Over 7,600 GitHub Repositories to Spread Malware”, The Hacker News, Nov. 27, 2026 (source article); “PolinRider Moves to Python with an Ethereum Calldata Loader”, SafeDep, Nov. 24, 2026 (additional source)
Detached Node Interactive Shell From Python or Build Tools
Build 4 of the JavaScript stage (campaign marker A9-10502) spawns node with the single argument -i, detached, with windowsHide set and all three standard streams piped, waits for the > prompt and writes the next stage into the interactive shell’s standard input, so a process listing shows only “node -i”. The older npm-config build used node -e with the code on the command line. The /0x/cls script also runs via eval inside the build process. The Python loader runs node on a temporary .js file with a 20-second timeout, and the detached child outlives it. The detection is node -i or node -e started without a controlling terminal (no TTY on Linux and macOS, no console window on Windows) whose parent or grandparent is python, pytest, uvicorn or another Python entry point, or npm, jest or turbo; and node executing a .js file from the system temp directory with a Python parent.
Use EDR process telemetry with command line, parent chain and session or TTY fields; on Linux, auditd execve plus the tty field works. Scope to developer workstations and self-hosted CI runners (SafeDep says the stage skips CI machines, but the loader still runs there). Developers do run node -i by hand, so allowlist only terminal-attached sessions whose parent is an interactive shell, never by process name alone. Don’t hash-block node, which is a legitimate binary. Any hit warrants isolating the host, capturing the node process memory if possible (the stage is never written to disk), and rotating every secret in that user’s environment and browsers.
Hunt Lead Level: 2 (Pro)
ATT&CK: Execution → T1059.007 (Command and Scripting Interpreter: JavaScript); Defense Evasion → T1564.003 (Hide Artifacts: Hidden Window)
Sources: “PolinRider Moves to Python with an Ethereum Calldata Loader”, SafeDep, Nov. 24, 2026 (additional source); “North Korea-Linked PolinRider Poisons Over 7,600 GitHub Repositories to Spread Malware”, The Hacker News, Nov. 27, 2026 (source article)
Build Script and Test Config Tampering
In the npm wave seen in the asyncapi/generator pull requests on October 19, 2026, each malicious commit changed 19 files: it added api.js at the repository root, changed the package.json build and dev scripts to “node api.js && turbo build” and “node api.js && turbo dev”, and appended the loader to the last line of 14 jest.config.js files after the closing brace and a run of tab characters. api.js hid an XOR-encoded string table behind 315 characters of leading whitespace, and a branch_structure.json file listing the branch, master and origin was left at the root. Apiiro describes the loader “hidden after hundreds of spaces in a build config”, and in the newest wave opening the folder in VS Code is enough to run it, which points at VS Code auto-run tasks. The detection is a pre-merge or repository-scan check for a package.json script that runs a newly added root .js file before the real build command, any *.config.js or api.js with code after a long run of whitespace (more than 100 spaces or tabs on one line), a .vscode/tasks.json with runOn folderOpen added in the same commit, and any new branch_structure.json.
Implement it as a CI check on pull requests and pushes, and as a scheduled scan of existing repositories; GitHub’s audit log or your Git server’s push log adds force-push events, which the campaign uses to swap a branch to the malicious commit for 30 to 40 minutes and back. Sweep all branches and reflogs from October 2026. Scope to every repository developers can push to. False positives come from legitimate prebuild scripts; allowlist by reviewing what the added script does, not by name. A commit that reuses the message and author date of a neighboring commit but is unsigned when its siblings are signed is a strong extra signal. Escalate any confirmed hit to the owner of the pushing account and treat their machine as compromised.
Hunt Lead Level: 2 (Pro)
ATT&CK: Initial Access → T1195.001 (Supply Chain Compromise: Compromise Software Dependencies and Development Tools); Defense Evasion → T1027 (Obfuscated Files or Information)
Sources: “PolinRider Moves to Python with an Ethereum Calldata Loader”, SafeDep, Nov. 24, 2026 (additional source); “North Korea-Linked PolinRider Poisons Over 7,600 GitHub Repositories to Spread Malware”, The Hacker News, Nov. 27, 2026 (source article)
Blockchain API Lookup Followed by Raw-IP Connection
The chain has a distinctive network rhythm: a Python process calls api.ethplorer.io (getAddressTransactions with the shared “freekey” API key and a python-urllib/3 user agent) and then ethereum.publicnode.com; seconds later a node process queries an Ethereum indexer such as eth.blockscout.com; then the same node process connects to a raw IP address on port 443 without a TLS handshake. SafeDep publishes this exact sequence as its network check. The correlation joins process-attributed DNS or proxy logs: a blockchain API lookup by python, followed within 60 seconds by a blockchain API lookup by node on the same host, followed by an outbound connection from node to an IP with no preceding DNS resolution, especially one that carries cleartext HTTP on 443.
Build it on EDR network events that carry the process name, or join DNS logs with process telemetry by host and time. Baseline which hosts and processes legitimately use Ethereum APIs (Web3 teams, wallet tooling) for 30 days and exclude those combinations, not the domains, since blocking Ethplorer or PublicNode would break legitimate work and attackers can switch providers. Scope to developer workstations. This lead keeps working after the C2 rotates because it keys on the dead-drop resolution pattern rather than an address, and it generalizes to EtherHiding and other blockchain-resolved C2. Any full three-step match is an incident.
Hunt Lead Level: 3 (Elite)
ATT&CK: Command and Control → T1102.001 (Web Service: Dead Drop Resolver); Command and Control → T1071.001 (Application Layer Protocol: Web Protocols)
Sources: “PolinRider Moves to Python with an Ethereum Calldata Loader”, SafeDep, Nov. 24, 2026 (additional source); “North Korea-Linked PolinRider Poisons Over 7,600 GitHub Repositories to Spread Malware”, The Hacker News, Nov. 27, 2026 (source article)
Hash Appendix
PolinRider Python loader and JavaScript stages
SHA-256 values come from SafeDep’s published indicator list (cited by the source article). SafeDep published no MD5 or SHA1 values; no lookups in OTX AlienVault or VirusTotal were made for this report. SafeDep also lists the loader’s git blob IDs (0302eeba… for LF, e9e0e433… for CRLF) and the Ethereum wallets and transactions in its indicator CSV; they are git and blockchain object IDs, not file hashes, so they are named in the leads above rather than listed here.
MD5s
(not available) # session.py / conftest.py -> Python loader, LF line endings
(not available) # session.py / conftest.py -> Python loader, CRLF line endings
(not available) # tx 0x474097c1 input -> JavaScript stage build 4
(not available) # tx 0x7fe11f4d/0xf4357b87/0x09d11256 input -> JavaScript stage build 3
SHA1s
(not available) # session.py / conftest.py -> Python loader, LF line endings
(not available) # session.py / conftest.py -> Python loader, CRLF line endings
(not available) # tx 0x474097c1 input -> JavaScript stage build 4
(not available) # tx 0x7fe11f4d/0xf4357b87/0x09d11256 input -> JavaScript stage build 3
SHA256s
45f1e5c405d1253b0014a17619581d31e1b94fdca8733519d84b9795a460f53a # session.py / conftest.py -> Python loader, LF line endings
adf94e02b0dea9efbf0c02c522fd39d7b833adc41067e747c3eb0843e36a1f91 # session.py / conftest.py -> Python loader, CRLF line endings
623daf99f3bba7ac590025b46d7d7e3fc8d8917629548d3c6e28cfb5aa1b6328 # tx 0x474097c1 input -> JavaScript stage build 4
65408e27530326d501d481955300fa8e3ef2fffc0b7b07ffa29747b7337e0f17 # tx 0x7fe11f4d/0xf4357b87/0x09d11256 input -> JavaScript stage build 3
References Appendix
- “North Korea-Linked PolinRider Poisons Over 7,600 GitHub Repositories to Spread Malware”, The Hacker News, Nov. 27, 2026, https://thehackernews.com/2026/11/north-korea-linked-polinrider-poisons.html
- “PolinRider Moves to Python with an Ethereum Calldata Loader”, SafeDep, Nov. 24, 2026, https://safedep.io/blog/polinrider-python-loader-ethereum-calldata
- “PolinRider North Korea worm forged GitHub commits”, Apiiro, https://apiiro.com/blog/polinrider-north-korea-worm-forged-github-commits
- “PolinRider malware found in 2025 npm packages”, OpenSourceMalware (Paul McCarty, Jenn Gile), https://opensourcemalware.com/blog/polinrider-malware-found-in-2025-npm-packages