Skip to main content
Emerging ThreatsMalware & Ransomware

PolinRider Targets GitHub Repos with Malware

A developer workspace with laptop and monitor on a desk, surrounded by papers, with a blurred cityscape visible through a…

At least 7,609 GitHub repositories have been injected with a small Python loader that reaches out to the blockchain to fetch and run malicious JavaScript, researchers say — and the technique may trace to activity as early as February 2025.

How the PolinRider loader operates

Security researchers describe a compact, 58-line Python loader that hides in innocuous places such as a tiny utils package or in conftest.py. SafeDep reported that "when Python imports the file, the loader reads the newest transaction that an Ethereum wallet sent to itself. It decodes the input data of that transaction as JavaScript and runs it with Node.js." The JavaScript then reads a second wallet to discover a command‑and‑control server and hands a next stage into a detached interactive Node.js environment using a node -i process.

The JavaScript stage contacts C2 infrastructure by extracting IP addresses embedded in crafted wallet addresses using a technique the researchers call NullReceiver (or its precursor, EtherHiding). The samples observed use marker bytes — the hex string "68656c6C6f6970626f742121", which decodes to the ASCII text "helloipbot!!" — as a consistent signature in made-up destination wallets. In one chain, reading the transaction for wallet 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a yields destination 0x67B38e9b..., from which the code extracts 103.179.142[.]155 and fetches two payloads, "0x/cls" and "0x/ls", over port 443. SafeDep further noted that the /0x/cls script runs twice — once with eval in the current process and once in a new process — while /0x/ls runs only in a new process.

Previous and related stages have been observed delivering a second‑stage Node.js payload that scans infected hosts for developer applications (GitHub Desktop, Cursor, VS Code, and Google Antigravity) and tampers with frequently used tools to execute attacker‑controlled code and deliver infostealer malware.

Multiple distribution channels: fake hiring sites, hijacked packages, and token theft

PolinRider activity uses several distribution vectors. The campaign has employed fraudulent recruitment campaigns and fake hiring portals — named examples include BlockNovas, AccuraSoftHire ("accurasofthire[.]com") and HuntRole ("huntrole[.]org") — to trick candidates into running malware under the guise of a take‑home assessment. StepSecurity documented decoy sites that instruct candidates to sideload a Chrome extension in Developer mode, or to run a one‑line curl command described as a "driver" in a technical onboarding page. On Windows the downloaded installer was observed to fetch a script that installs Node.js if missing, downloads a JavaScript payload, runs it in the background and deletes itself; macOS and Linux versions behaved the same.

Other tactics include publishing malicious packages across open‑source ecosystems by hijacking maintainer accounts, planting obfuscated malware via fake font files (fa-solid-400.woff2, fa-solid-500.woff2, or fa-solid-300.llf), abusing VS Code auto‑run tasks, rewriting Git history, and using compromised developer machines to steal GitHub tokens and force‑push malicious commits into repositories the victims have access to.

Scale, timeline, and reuse of infrastructure

Apiiro estimates the loader has been detected in at least 7,609 GitHub repositories owned by 2,330 accounts, many of them developer accounts, and reports the loader was pushed to 2,040 repositories between October 27 and November 6, 2026. OpenSourceMalware reported an earlier PolinRider‑linked attack from May 2025 that targeted nine packages (itsa-utils@1.4.2, itsa-jsext@2.0.3, itsa-react-docviewer@16.1.2, itsa-cli@16.5.3, itsa-react-button@16.0.11, itsa-react-maskedinput@16.1.2, itsa-react-checkbox@16.0.5, itsa-react-focuscontainer@16.0.10, itsa-react-input@16.1.2) and used EtherHiding to fetch a JavaScript downloader called JADESNOW and then deliver backdoors and stealers.

Researchers Paul McCarty and Jenn Gile wrote that blockchain records put attacker activity back to February 2025, and that an infection likely persisted on a maintainer’s machine from 2025 because the 2026 pushes ran from it. They found that the propagation script rolls back the clock, folds a payload into the tip commit, and force‑pushes with the developer's own credentials.

Impact on open‑source projects and maintainers

The campaign has touched well‑known projects: Apiiro listed victims including Neutralinojs, InstaWP Connect, and fxhash. One adversary account, "Eternity0207," opened more than 200 pull requests against projects such as AsyncAPI Generator, CircuitVerse, and Open Food Facts, then force‑pushed a modified commit containing an obfuscated loader that fetched /0x/cls and /0x/ls from attacker infrastructure; that GitHub account has been suspended.

Maintainers reported the changes were temporary and stealthy. According to the maintainer of AsyncAPI Generator, "Each time, the payload stayed on the branch for 30-40 minutes and was then force-pushed away, so the final diff looked clean." Apiiro researcher Shmulik Cohen described how the worm hides itself after hundreds of spaces in a build config so that building the project runs it, and in a newer wave simply opening the folder in VS Code can be enough to trigger execution.

What this means for technologists, open‑source maintainers, and enterprise security teams

  • Technologists and security teams: the loader's design — reading its server from an on‑chain transaction — makes traditional C2 takedowns less effective. As Apiiro noted, "The loader reads its server from an Ethereum wallet, so taking a server down changes nothing: one transaction moves every loader to the next." Teams should therefore treat on‑chain indicators as part of threat triage and monitor developer tooling activity (builds, auto‑run tasks, and VS Code folder opens).
  • Open‑source maintainers: attackers preserve author, message and date when they force‑push, and they have used hijacked maintainer accounts and short windows of visibility. Protecting accounts and tokens and reviewing unexpected force‑pushes or short‑lived branches is essential — attackers have hidden loaders inside legitimate commits and used the maintainer's own environment to propagate.
  • Enterprises and procurement leaders: recruitment lures and fake hiring sites remain an active vector. StepSecurity's findings about installers that fetch Node.js and run hidden JavaScript underscore the risk of candidate workflows and onboarding scripts that execute external code on developer machines.

The campaign blends on‑chain control, supply‑chain persistence, and social engineering in a way that shifts the defender's problem from taking servers offline to preventing credential theft, detecting subtle repository changes, and watching for execution inside developer tools. With blockchain transactions able to retarget a dispersed loader in one move, the remaining question is operational: can defenders detect the tiny files, short windows, and wallet‑driven pivots before the next wave widens its reach?

Source: The Hacker News — North Korea-Linked PolinRider Poisons Over 7,600 GitHub Repositories to Spread Malware