Skip to content
PolinRider Moves to Python with an Ethereum Calldata Loader

PolinRider Moves to Python with an Ethereum Calldata Loader

Safedep • November 24, 2026

The PolinRider campaign now plants a Python loader in GitHub repositories. The loader hides in a small utils package or in conftest.py . 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. That JavaScript reads a second wallet to find the command and control (C2) server. It then passes the stage to a detached node -i process. On 24 November 2026, SafeDep found the loader in 375 public repositories that belong to 260 accounts. No package on PyPI or npm carries it. pytest runs the loader through conftest.py . The planted import lines in application files run the loader only when Python can find the utils package. In the three example applications that SafeDep checked, the documented start commands fail with an import error before the loader runs.

Jay Maier of Rising Sun Solutions (GitHub jaym2026 ⁠ (opens in new tab) ) first reported the loader on 24 November 2026 in issue #96 of meSingh/polinrider-scanner ⁠ (opens in new tab) . The report names the wallet, the loader file and the wallet that funded it. This post confirms that report, measures the spread on GitHub, decodes the JavaScript on the chain, and names the current C2 server. It continues the September post PolinRider Switches to Ethereum C2 in 30+ Repositories .

The loader is 58 lines of Python. It reads wallet 0x3b1574417524c11a7403c4b232CAcBb320CceBC6 through the public Ethplorer API and an Ethereum RPC node. The payload is in the input data of a transaction, not in an IP address in the to field as in the September samples.

GitHub code returns the exact loader in 375 files in 375 repositories under 260 accounts. 370 of these repositories had a push in November 2026. Most are small personal projects, with 189 stars in total.

The wallet sent 8 transactions to itself from 24 October to 11 November 2026. The newest one holds a 31 KB JavaScript stage with the campaign marker A9-10502 .

That stage reads a second wallet, 0x1eEf0849EDa15d87f64e51C73C8442Cf3c8bCEF3 , with the same method as the 0xa322 wallet in the September post. The wallet points to the C2 server 95.135.181[.]84 from 12 November 2026.

The stage writes the stage to the standard input of a detached node -i process. The code does not appear in the process command line.

Two repositories hold the loader in a commit whose message says that it removes the malware. Another commit carries dates from September 2025, more than a year before the first transaction of the wallet.

The loader below is conftest.py at the root of Mizero-eloi/alu_regex-data-extraction-MizeroEloi@82a87bb9 ⁠ (opens in new tab) . The same 58 lines are in every repository in this post:

The loader asks Ethplorer for the last 100 transactions of the wallet, with the public API key freekey . It takes the first transaction that the wallet sent, which is the newest one. It gets the full transaction from ethereum.publicnode.com , decodes the input data from hex to text, writes it to a temporary .js file, and runs node on it. The outer try hides every error, so a project without Node.js shows nothing. The subprocess.run call stops node after 20 seconds. The JavaScript stage therefore starts its step in a detached process that outlives the loader.

The loader uses only the standard library. It needs no dependency, so a scan of requirements.txt or a lockfile does not show it. Ethplorer and PublicNode run shared public services. A request to them alone does not mean an infection.

The loader exists in two encodings. 355 files have LF line endings (git blob 0302eeba , SHA-256 45f1e5c4...f53a ). 20 files have CRLF line endings (git blob e9e0e433 , SHA-256 adf94e02...1f91 ). The code is the same.

Where the loader hides

The loader file has a name that looks like part of an HTTP client. GitHub code for the wallet address returned these 375 loader files:

363 files are in a planted package. 307 of these packages are a utils folder inside the project, 30 are a utils folder at the repository root, and 26 are in another folder such as lib , helpers , common or shared . In the example repositories, the planted utils folder has six files: __init__.py , clients.py , http_session.py , net.py , session.py and transport.py . One of them holds the loader and the others are empty. In wakaflorien/cst-research-api ⁠ (opens in new tab) the loader is net.py . In dedev-llc/rpr ⁠ (opens in new tab) it is session.py .

The attacker also adds five import lines to a start file of the project. This is the Django Asynchronous Server Gateway Interface (ASGI) file of cst-research-api :

The same five lines are at the top of app/main.py ⁠ (opens in new tab) in the FastAPI project Moderato-CMaaS/python-rag-api and of src/rpr/cli.py ⁠ (opens in new tab) in the rpr command line tool. GitHub code finds 194 files that import utils.net , utils.clients and utils.http_session together. In the first 100 results, the most common are main.py (42) and app.py (20).

The other 12 loaders are conftest.py files. pytest imports every conftest.py that it finds while it collects tests, so these need no import line.

The issue report and other early reports say that a start of the application runs the loader. The import lines are there, but they work only when Python can find a top-level package named utils . In most repositories, the utils package is inside an application folder, not at the repository root. SafeDep rebuilt the layout of each example with stub modules that print a line instead of the loader, and ran the start commands from the repository root:

The loader runs when Python starts a script from the folder that holds utils , or when that folder is the working directory. It also runs in the 30 repositories with utils at the root, because Python finds the package from the project root. Where the import fails, the application does not start. A developer who reads the error No module named 'utils' and fixes the import path also starts the loader.

SafeDep did not check every one of the 375 repositories for a working import path. A conftest.py loader runs every time pytest runs in that folder.

The JavaScript stored on Ethereum

The wallet 0x3b15...ceBC6 received 0.000542 ETH from 0x6e82b409a357be8d8e88e7d4fcb588ded3de104f on 24 October 2026 at 05:53 UTC. Seven minutes later it sent its first transaction to itself. All transactions from the wallet go to the wallet, and each one stores data in the input field:

The same wallet 0x6e82b409 sent 0.0014 ETH at 13:11 UTC on 28 October, three blocks before the second copy of build 3. The wallet has sent nothing since 11 November.

Build 4 starts with var bx = '-10502'; . A table of hex strings follows, each XOR-encoded with 0x87 , and then a small function that expands a dictionary-compressed body. SafeDep decoded the three layers statically. The result is 474 lines of readable JavaScript with descriptive names. The snippets below come from that output. The other three builds use a different obfuscator, and SafeDep did not decode them.

The stage sets the marker and names the wallet that it reads:

This is the method of the 0xa322 wallet in the September post . The stage reads the Ethereum block at the last multiple of 1,000 and the blocks around it, and looks for a transaction from the wallet. If it finds none, it searches by transaction count, and then it asks the Blockscout API. The first 8 bytes of the to address are two IPv4 addresses. The last 12 bytes are the ASCII text helloipbot!! . This is the newest heartbeat of the wallet:

The stage then gets two scripts from the first IP address, as plain HTTP on port 443. Each response is XOR-encoded with a fixed key:

The paths, the keys, the Sec-V header and the global variables _H , _H2 , _t_s and _t_u are the same as in the September samples. The /0x/cls script runs twice, once with eval in the current process and once in a new process. The /0x/ls script runs only in a new process. The new process is where this build differs:

The stage starts node -i , the interactive Node.js shell, as a detached process with no window. It waits for the > prompt and then writes the code to the standard input of the shell. The oxc sample in the September post passed its stage to node -e as a command line argument, where a process listing shows it. With node -i , a process listing shows only node -i . The detached process also survives the 20-second limit of the Python loader.

SafeDep did not connect to the C2 server, so the content of /0x/cls and /0x/ls for this chain is not known. In the chain that the September post followed to the end, the later stages installed a stealer that took environment secrets, browser passwords, cookies and wallet data.

Wallet and C2 timeline

The wallet 0x1eEf0849EDa15d87f64e51C73C8442Cf3c8bCEF3 sent 366 heartbeats from 4 September to 24 November 2026. Each heartbeat sends zero ETH to an address that holds the C2 IP address twice. The history shows five C2 servers:

The wallet sent nothing from 12 September to 14 October. On 14 October it pointed to 23.27.13[.]72 for one heartbeat, between two runs of 103.179.143[.]219 . The current server, 95.135.181[.]84 , is in the same /24 network as the server before it.

Forged dates and reinfected repositories

Earlier PolinRider waves rewrote existing commits with forged author and committer data and then force-pushed them. The Python wave shows the same pattern:

The conftest.py loader in Mizero-eloi/alu_regex-data-extraction-MizeroEloi is in commit 82a87bb9 , “[feat]: Added the test extractors”. Its author and committer dates are 26 September 2025. The wallet that the loader reads made its first transaction on 24 October 2026, and GitHub records the last push to the repository on 16 November 2026.

In wakaflorien/cst-research-api , the loader is in commit 1eb312a4 ⁠ (opens in new tab) , “fix: remove PolinRider malware (FixFlow)”. The committer date is 12 October 2026, 12 days before the first transaction of the wallet.

In dedev-llc/rpr , the loader is in commit efd5f17c ⁠ (opens in new tab) , “Remove injected malware from forced pushes”, dated 3 November 2026.

In two repositories, the owner removed an earlier PolinRider infection, and the newest commit still holds the Python loader. The commit dates do not show when the loader arrived. An attacker who controls a developer’s machine or token sets them to any value. A clean-up that does not also clean the machine that pushes to the repository does not hold.

The loader is in source repositories, not in packages. A dependency scan does not find it. your projects and clones for the wallet and the loader calls:

A hit in the second command alone needs a check by hand, because a project can have its own utils package. Check also the git history of each project, because a clean-up commit can leave the loader in place:

Some commands run the loader in a project that holds it: pytest , a script to the planted utils folder, or the application from that folder. If you ran one of them on a computer with Node.js, treat the computer as compromised:

Rotate the secrets in the shell environment of that computer, and the passwords and session cookies saved in its browsers.

Move funds out of any wallet extension or wallet file on that computer.

Look for a node -i process that has no terminal, and for connections to 95.135.181[.]84 on port 443 or 80.

On the network, look for a Python process that calls api.ethplorer.io and then ethereum.publicnode.com , followed by a node process that calls an Ethereum RPC endpoint or eth.blockscout.com and then a raw IP address.

If you own an infected repository, delete the planted package, the import lines and the conftest.py loader. Then clean the computers that push to the repository, and replace their GitHub tokens and SSH keys. A repository gets infected again while those computers stay infected.

Infected repositories

All 375 repositories below held the loader on their default branch on 24 November 2026. Each link points to the loader file at the commit in the GitHub index. A link can return 404 later if the owner removes the history.

Indicators of compromise

PolinRider Switches to Ethereum C2 in 30+ Repositories documents the 0xa322 wallet, the helloipbot!! heartbeat and the later stages.

Configuration Files That Run Code explains how files that tools load by name, such as conftest.py , run code without an explicit command.

Malicious pull requests threat model describes how a pull request can run code on reviewer computers and CI systems.