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.
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.pyfile, or in files that look like HTTP client code –session.py,transport.py,clients.py,http_session.py,net.py– usually inside a plantedutilspackage (otherwiselib,helpers,commonorshared). Entry files such ascore/asgi.pyorapp/main.pygain fiveimportlines. - When it runs:
conftest.pyfires every timepytestcollects tests in that folder. The import variant runs only if Python can find theutilspackage – 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 detachednode -iprocess, 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.
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
- Search your repositories:
git grep -n "0x3b1574417524c11a7403c4b232CAcBb320CceBC6"andgit grep -n "NamedTemporaryFile" -- '*conftest.py'. - Check history – the loader can linger in older commits:
git log --all -S 0x3b1574417524c11a7403c4b232CAcBb320CceBC6. - Entry files:
import utils.net,utils.clients,utils.http_session,utils.transportorutils.sessionlines you did not write. - npm projects:
node api.jsin thebuildanddevscripts ofpackage.json, and lines appended to the end ofjest.config.js. - Network and processes: Python calling
api.ethplorer.ioand thenethereum.publicnode.com, followed bynodeconnecting to a bare IP address; detachednode -iornode -eprocesses with no terminal.
What to do
- 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.
- If the loader ran, treat the machine as compromised: rotate secrets from shell environments and
.envfiles, GitHub and CI/CD tokens, SSH keys, browser-saved passwords and session cookies, and move crypto funds to new addresses. - 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. - Run unfamiliar code in isolation – a container or VM with no tokens, keys or wallets. Even a plain
pytestin 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
Spotted a mistake? Let us know and we will correct it openly.