Actively exploited Security news

PolinRider moves to Python: a loader in conftest.py and a utils package runs during tests and pulls code from the blockchain

PolinRider, a campaign that has spent months infecting developers' machines and, through their accounts, their GitHub projects, has a new form. On 24 November 2026 SafeDep researchers described a Python loader they found in 375 public repositories. It hides in a conftest.py file or a planted utils package, can fire on a plain pytest run, and fetches its next stage from Ethereum transactions. Here are the indicators and how to check your code.

Kyberkit editorial team · · event date · reading time 5 minutes · For admins and analysts

Actively exploited: PolinRider

Key points

  • On 24 Nov 2026 SafeDep described a new PolinRider variant: a 58-line Python loader in 375 public repositories under 260 GitHub accounts, 370 of them pushed to in November 2026. It found no copies on PyPI or npm.
  • The loader hides in conftest.py (runs on pytest) or in files such as utils/session.py or utils/net.py, which are pulled in by five added import lines in the app's entry file.
  • It reads code from the input data of a specific Ethereum wallet's latest transaction and runs it with Node.js, which then reads a second wallet to find the C2 address and fetch the next stage. An earlier chain ended in theft of secrets, browser passwords and crypto wallets, according to SafeDep.
  • OpenSourceMalware, which named the campaign, has tracked it since March 2026 and attributes it to North Korea. SafeDep makes no attribution.

Researchers at SafeDep, a software supply chain security company, published an analysis of a new PolinRider variant on 24 November 2026. The campaign used to spread mostly through JavaScript and npm packages; now it plants a Python loader in GitHub repositories. SafeDep found it in 375 public repositories belonging to 260 accounts, 370 of which had a push in November. Most are small personal projects (189 stars between them), and SafeDep found the loader in no PyPI or npm package.

On 26 November The Hacker News quoted Apiiro as estimating more than 7,600 affected repositories across variants. We could not load Apiiro's original write-up, so we have not verified that figure.

What PolinRider is

The campaign was named by researchers at OpenSourceMalware, who say in their developer guide that they have tracked it since March 2026 and counted more than 4,000 infected repositories by July. They describe it as a North Korean operation resembling the well-known "Contagious Interview" fake-recruiter campaign, but they have not published technical attribution evidence, and SafeDep attributes it to no one. The pattern, according to OpenSourceMalware, is always the same: malware on a developer's machine steals credentials and secrets, then uses them to plant malicious code in the victim's other projects.

How the new variant works

  • Where it hides: in a conftest.py file, or in files that look like HTTP client code – session.py, transport.py, clients.py, http_session.py, net.py – usually inside a planted utils package (otherwise lib, helpers, common or shared). Entry files such as core/asgi.py or app/main.py gain five import lines.
  • When it runs: conftest.py fires every time pytest collects tests in that folder. The import variant runs only if Python can find the utils package – in SafeDep's tests that happened only some of the time.
  • What it does: it reads the input data of a specific Ethereum wallet's most recent transaction, decodes it as JavaScript (about 31 KB) and runs it with node. That script reads a second wallet to learn the C2 server's address, then fetches the next stage and runs it in a detached node -i process, so the code never shows up on the process command line.
  • End goal: SafeDep could not reach the C2 server. It says the campaign's September chain ended in a stealer that took environment secrets, browser passwords and cookies, and crypto wallets.
How the PolinRider Python loader launches its next stages1. A developer runs pytest or the app from an infected repository; 2. conftest.py or utils reads an Ethereum wallet's latest transaction; 3. The transaction data becomes JavaScript, executed by node; 4. A second wallet reveals the C2 server's address; 5. The next stage downloads – previously a secrets, password and wallet stealer1A developer runs pytest or the appfrom an infected repository2conftest.py or utils reads anEthereum wallet's latest transaction3The transaction data becomesJavaScript, executed by node4A second wallet reveals the C2server's address5The next stage downloads – previouslya secrets, password and walletstealer
Simplified from SafeDep's analysis of 24 Nov 2026

Indicators of compromise

A selection of the indicators published by SafeDep (IP addresses defanged as in the source):

# Ethereum wallets
0x3b1574417524c11a7403c4b232CAcBb320CceBC6   (loader)
0x1eEf0849EDa15d87f64e51C73C8442Cf3c8bCEF3   (heartbeat carrying the C2 address)
0x6e82b409a357be8d8e88e7d4fcb588ded3de104f   (funding)

# C2 servers (port 443, paths /0x/cls and /0x/ls, header Sec-V)
95.135.181[.]84
95.135.181[.]151
103.179.143[.]219
23.27.13[.]72
166.88.134[.]75

# Strings in the code
helloipbot!!
getAddressTransactions
eth_getTransactionByHash
NamedTemporaryFile

# Files
conftest.py
utils/net.py utils/session.py utils/transport.py utils/clients.py utils/http_session.py
api.js  branch_structure.json  jest.config.js

The services api.ethplorer.io, ethereum.publicnode.com and eth.blockscout.com are legitimate in themselves – what is suspicious is a Python or Node.js process in a development project calling them. SafeDep's full lists of repositories and indicators are in CSV files linked from its analysis. Our IOC extractor, which runs only in your browser, quickly pulls addresses out of your own logs for comparison.

How to tell if you were affected

  1. Search your repositories: git grep -n "0x3b1574417524c11a7403c4b232CAcBb320CceBC6" and git grep -n "NamedTemporaryFile" -- '*conftest.py'.
  2. Check history – the loader can linger in older commits: git log --all -S 0x3b1574417524c11a7403c4b232CAcBb320CceBC6.
  3. Entry files: import utils.net, utils.clients, utils.http_session, utils.transport or utils.session lines you did not write.
  4. npm projects: node api.js in the build and dev scripts of package.json, and lines appended to the end of jest.config.js.
  5. Network and processes: Python calling api.ethplorer.io and then ethereum.publicnode.com, followed by node connecting to a bare IP address; detached node -i or node -e processes with no terminal.

What to do

  1. Stop the spread first: turn on branch protection against force pushes, pause automatic deployments and revoke any OAuth or GitHub App authorisations you do not recognise.
  2. If the loader ran, treat the machine as compromised: rotate secrets from shell environments and .env files, GitHub and CI/CD tokens, SSH keys, browser-saved passwords and session cookies, and move crypto funds to new addresses.
  3. Clean the repositories – delete the planted package, the import lines and the loader in conftest.py. Do not rely on commit dates or "remove malware" commits; SafeDep notes both can be faked.
  4. Run unfamiliar code in isolation – a container or VM with no tokens, keys or wallets. Even a plain pytest in someone else's repository runs their code.

In the UK, report incidents to the NCSC; in the US, to CISA.

We verified details of the new variant, the repository counts and the indicators in SafeDep's analysis, and the campaign's history and attribution claim in OpenSourceMalware's guide. The 7,600-repository estimate is reported only as Apiiro's claim as quoted by The Hacker News.

Verified against sources on 26 Nov 2026.

FAQ

How does the code get into repositories?

According to OpenSourceMalware, the malware steals credentials on an infected developer machine and uses them to plant code in that developer's other projects. That is why repositories get reinfected after cleanup until the machines that push to them are clean as well.

Is deleting the files and committing a fix enough?

No. Clean the machines that write to the repository and rotate GitHub tokens and SSH keys first, then remove the loader. SafeDep warns that commit dates can be forged and a 'remove malware' commit proves nothing.

Does this affect me if I never publish anything on GitHub?

Yes, if you clone other people's repositories and run their tests or apps. A conftest.py loader fires as soon as you run pytest. Try unfamiliar code in an isolated environment with no access to tokens or wallets.

Sources

  1. SafeDep – PolinRider Moves to Python with an Ethereum Calldata Loader (24 Nov 2026)
  2. OpenSourceMalware – Developer guide: getting over PolinRider (13 Aug 2026)
  3. The Hacker News – North Korea-Linked PolinRider Poisons Over 7,600 GitHub Repositories (26 Nov 2026)

Spotted a mistake? Let us know and we will correct it openly.