Security & identity

PolinRider: 7,600 Poisoned GitHub Repos, How to Check and Clean Yours

Researchers say the PolinRider campaign planted a Python loader in thousands of GitHub repositories. Learn how to check your repos and machines and what to rotate.

By EpiFive Editorial TeamReviewed/updated 9 min readHow we check our guides

This article contains affiliate links. If you buy through them, EpiFive may earn a commission at no extra cost to you. Details.

On this page

Researchers say the PolinRider campaign, which The Hacker News reported on 26 November 2026 as linked to North Korea, has compromised more than 7,600 GitHub repositories. In some of them it planted a 58-line Python loader that pulls a JavaScript payload from Ethereum transaction data. If you maintain or clone public repositories, search them for the published indicators below, and if you ran code from an affected repository on a machine with Node.js, stop live processes first and then rotate your credentials.

The numbers and attributions on this page are the researchers' claims as reported; GitHub has not, in the sources we opened, published its own statement on this campaign.

What happened

The sources describe a long-running campaign, not a single event. Dates and numbers below are attributed to who reported them.

DateWhat was reportedSource
Early March 2026PolinRider first documented, with more than 300 GitHub owners affectedOpenSourceMalware
July 2026Footprint reached more than 2,000 owners and more than 4,000 repositoriesOpenSourceMalware
1 August 2026The "NullReceiver" technique documentedOpenSourceMalware
27 October to 6 November 20262,040 repositories pushed with the loader, as reported by The Hacker News from Apiiro's dataThe Hacker News (citing Apiiro)
24 November 2026Loader found in 375 files in 375 public repositories under 260 accountsSafeDep
26 November 2026Over 7,600 repositories reportedThe Hacker News

Claims and figures, and their status

ClaimWho made itStatus
7,609 repositories owned by 2,330 accounts; 6,541 (86%) on personal accounts more than a year oldApiiro, as reported by The Hacker NewsNot verified by us. Apiiro's page returned only site navigation when we opened it
The activity is linked to North Korea and is a sub-cluster of the Contagious Interview operationResearchers cited by The Hacker NewsAn attribution by researchers, not confirmed by a government statement in the sources we read
Activity may date back to February 2025OpenSourceMalware, based on blockchain records, per The Hacker NewsA researcher's assessment
No evidence of distribution via PyPI or npm for the Python loaderSafeDepThe researchers' finding as of 24 November 2026

How the loader works, per SafeDep

  • The loader is a 58-line Python script, usually a file in a small utils package or a conftest.py. It uses only the standard library, so dependency scans do not flag it.
  • It reads the newest transaction an Ethereum wallet sent to itself, decodes the input data from hex to text as JavaScript, writes it to a temporary .js file and runs it with node.
  • The JavaScript stage reads a second wallet to find the command-and-control (C2) server and hands the next stage to a detached node -i process, so the code does not show in the process command line.
  • Import lines in application files, such as import utils.net, run the loader only when Python can find a top-level utils package. A conftest.py loader runs whenever pytest collects tests in that folder.
  • Apiiro, as relayed by The Hacker News, says the worm rewrites commits the developer already made, keeping the author, message and date, and hides the loader after hundreds of spaces in a build config.

Am I affected?

You may be affected if you own a public repository that was pushed to by an infected machine, if you cloned and ran code from such a repository, or if you took a "take-home assessment" from an unfamiliar recruiter. The Hacker News lists fake recruitment sites and a VS Code extension among the delivery paths, so your own repositories are not the only exposure.

Published indicators of compromise

Copied as published. Do not visit the domains or addresses.

TypeIndicatorSource
Loader wallet0x3b1574417524c11a7403c4b232CAcBb320CceBC6SafeDep
C2 wallet0x1eEf0849EDa15d87f64e51C73C8442Cf3c8bCEF3SafeDep
Funding wallet0x6e82b409a357be8d8e88e7d4fcb588ded3de104fSafeDep
Wallet0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1aThe Hacker News
C2 server95.135.181[.]84SafeDep (active since 12 Nov 2026)
C2 server95.135.181[.]151SafeDep (16 Oct to 12 Nov 2026)
C2 server103.179.143[.]219SafeDep (14 to 16 Oct 2026)
C2 server23.27.13[.]72SafeDep (one heartbeat, 14 Oct 2026)
C2 server166.88.134[.]75SafeDep (4 to 12 Sep 2026)
C2 server103.179.142[.]155The Hacker News
Payload paths (port 443)/0x/cls, /0x/lsSafeDep
Campaign markersA9-10502, 8-&&, 8-8113, 8-1978SafeDep
Fake font filesfa-solid-400.woff2, fa-solid-500.woff2, fa-solid-300.llfThe Hacker News
Domainsaccurasofthire[.]com, huntrole[.]orgThe Hacker News
VS Code extensionhuntrole.assessment-toolThe Hacker News
Loader file namessession.py, transport.py, clients.py, http_session.py, net.py, conftest.pySafeDep

SafeDep and OpenSourceMalware link fuller lists, including repository lists and hashes. OpenSourceMalware notes that its own IP list is a snapshot that goes stale, so use the maintained list in its PolinRider repository for network blocks.

Search your code and history

These are SafeDep's searches, copied from its post. Run them in a clone you do not execute code from:

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

A No module named 'utils' result alone needs manual review, because a project can have its own utils package. OpenSourceMalware adds that an infected config file may be about 5,000 bytes instead of 80 to 200, with the payload after a long run of spaces, and that you should search for the fake font file fa-solid-400.woff2 and for tasks.json entries that run it.

What to do now

  1. Stop using the affected machine for pushes and builds. If you ran pytest, the application, or an npm build or test from an affected repository on a machine with Node.js, SafeDep says to treat the machine as compromised.
  2. Kill live processes before rotating anything. OpenSourceMalware warns that a live process will re-harvest new credentials. Look for node -i or node -e processes without a terminal and for connections to the C2 addresses above.
  3. Rotate credentials from a clean machine. See the list in Step 3 below.
  4. Clean the repositories. Remove the planted package, the import lines and the conftest.py loader, and check the history for the loader.
  5. Audit history for rewrites, as described in Step 4.

Step 1: Find and stop live processes

OpenSourceMalware gives these commands. On macOS and Linux:

ps aux | grep -E "(python|node).*-(c|e)" | grep -v grep

On Windows, list node.exe processes with PowerShell and stop any running node -e against obfuscated content:

Get-CimInstance Win32_Process -Filter "Name='node.exe'"

OpenSourceMalware also suggests checking persistence on macOS and Linux (~/Library/LaunchAgents/, /Library/LaunchAgents/, /Library/LaunchDaemons/, crontab -l, and shell profiles for curl, wget, eval or base64). It notes that killing processes is not a full fix, because the payload re-fetches from the blockchain whenever an infected file loads.

Step 2: Disable automatic tasks and freeze access

OpenSourceMalware recommends turning off automatic task execution in VS Code: search settings for "task" and set Task: Allow Automatic Tasks In Folder to off or prompt, globally. For repositories, it recommends branch protection that blocks force-pushes and requires signed commits, pausing CI/CD auto-deploy, and revoking OAuth App and GitHub App authorizations you do not recognize.

Step 3: Rotate every reachable credential

From OpenSourceMalware's list, after processes are stopped:

  • GitHub password, personal access tokens and SSH keys, and the authorized OAuth Apps and GitHub App installations (revoke the grants, not only the keys).
  • Cached Git credentials and GitHub CLI tokens (~/.config/gh/hosts.yml).
  • CI/CD platform tokens and every secret in .env files.
  • Cloud and database credentials, and the npm registry token if you publish packages.
  • Browser-saved passwords and your password manager vault if it could have been harvested. SafeDep also says to move funds out of any wallet extension or wallet file on the machine and to rotate session cookies.

If your workflows use long-lived cloud keys, see our guide to workload identity federation for GitHub Actions and Azure. The related wfx-loot secret stealer incident is a separate campaign with its own indicators.

Step 4: Audit repositories for rewritten history

OpenSourceMalware says to look for force-pushed branches and, in the pull request activity log, the entry "[username] force pushed the branch from [commit] to [commit]", which reflects the real pushing identity and is more reliable than commit author data. If you sign commits, look for commits now marked "Unverified" that were "Verified" before. SafeDep adds: do not trust commit dates, because attackers can set them to any value. It also says to clean the machines that push to the repository and replace their tokens and SSH keys, or the repository can be reinfected. OpenSourceMalware advises cleaning infected files through GitHub's web editor rather than re-cloning onto an infected machine.

How to protect yourself

  • Run take-home coding assignments and unfamiliar repositories in a disposable virtual machine or container, not on the machine that holds your GitHub credentials.
  • Turn off VS Code's automatic tasks in folders (Step 2).
  • Require signed commits and block force-pushes on branches that matter, as OpenSourceMalware recommends.
  • Review conftest.py files and small utils packages in code you did not write before running tests.
  • Treat recruiters' repositories and VS Code extensions you did not seek out as untrusted. The Hacker News lists fake recruitment sites and the huntrole.assessment-tool extension among the reported paths.

See also

What we checked

  • Opened the Hacker News report (published 26 November 2026) on 27 November 2026 and read it in full; it is the source of the 7,600 figure and the attribution.
  • Opened SafeDep's post on the Python loader on 27 November 2026; the loader behavior, searches, wallets, C2 addresses and remediation come from it. Wallet 0x3b15... and the second wallet match between SafeDep's post and The Hacker News.
  • Opened OpenSourceMalware's developer guide on 27 November 2026; the process, credential and audit steps come from it. We left out its list of firewall IP addresses because it is not defanged and its own text calls it a stale snapshot.
  • Apiiro's blog page returned only site navigation when opened, so Apiiro's numbers are given as relayed by The Hacker News.
  • Attribution to North Korea is the researchers' assessment as reported; we did not verify it.
  • Not tested: we did not run the searches or the loader, and did not check any repository.

Last tested: 2026-11-27

Sources

Questions people ask

How do I know if a repository has the PolinRider Python loader?

SafeDep publishes three searches: grep Python files for the loader wallet address and the strings getAddressTransactions and eth_getTransactionByHash, grep for import lines such as import utils.net, and find conftest.py files that contain NamedTemporaryFile. Also search git history with git log --all -S and the wallet address, because a clean-up commit can leave the loader in place. A hit on a missing utils module alone needs manual review.

I cloned a flagged repository but never ran it. Am I affected?

The researchers describe the loader as running when Python imports the file, for example when pytest collects tests in a folder with a loader conftest.py or when the application imports the planted package. Merely reading the files does not run them. If you ran pytest, the app or an npm build or test on a machine with Node.js, SafeDep says to treat that machine as compromised.

Is rotating my GitHub token enough?

Not by itself. OpenSourceMalware says to stop live processes first, because a running process can harvest the new credentials, and then rotate GitHub passwords, tokens and SSH keys, OAuth grants, CI tokens, environment secrets, cloud keys and browser-saved passwords. SafeDep adds that the machines that push to the repository must be cleaned, or it can be reinfected.

Is this spread through PyPI or npm?

SafeDep reported no evidence of distribution of the Python loader through PyPI or npm. Other researchers listed npm packages tied to the wider campaign, so check the package names in the indicators table if you depend on them.

GitHubSupply chain securityPythonIncident responseVS Code