A repository compromise disguised as ordinary project code
The PolinRider campaign is using compromised GitHub repositories as an execution environment for malware. Instead of publishing a malicious package to PyPI or npm, attackers are inserting a 58-line Python loader into source trees. The file uses only the Python standard library, which makes dependency manifests and lockfiles poor indicators of compromise.
The affected repositories span small and niche projects rather than a clearly defined product release. SafeDep reported 375 public repositories belonging to 260 accounts. Of those repositories, 370 received a push in November 2026, and their combined star count was 189. No affected product version range or CVE is identified in the available reporting.
How the loader works
The loader typically appears in a small utils package or in conftest.py. Attackers add import statements to files such as main.py or app.py, causing the loader to execute when the application starts. When placed in conftest.py, it can run during pytest collection, including in CI environments.
After execution, the loader queries Ethplorer and a public Ethereum RPC node. It examines the newest transaction sent by wallet 0x3b1574417524c11a7403c4b232CAcBb320CceBC6 to itself, decodes the transaction's input data as JavaScript, and passes the result to Node.js.
Earlier PolinRider samples placed the payload in the IP address portion of a transaction's to field. The newer variant moves the JavaScript into transaction input data. This turns Ethereum into a mutable payload-delivery channel while leaving no obvious malicious URL in the repository.
The next stage and command-line concealment
The observed 31 KB JavaScript stage carries the marker A9-10502. It references wallet 0x1eEf0849EDa15d87f64e51C73C8442Cf3c8bCEF3, whose heartbeat transaction encodes the active C2 address 95.135.181[.]84, reported as active since 12 November 2026.
The stage downloads the paths /0x/cls and /0x/ls over plain HTTP on port 443, then passes the downloaded code to a detached node -i process through standard input. Earlier variants used node -e, which exposed the malicious code on the command line. Using standard input makes a process listing appear to show only node -i.
SafeDep did not contact the C2 during its investigation, so the final payload for this November wave remains unconfirmed. However, later stages in the September chain installed a stealer that collected environment secrets, browser passwords, cookies, and wallet data. That earlier behavior supports treating successful execution as a serious incident.
Common malware indicators
The loader often uses connection-themed filenames such as session.py, transport.py, and net.py. It may reside in a small helper package or directly in conftest.py. The wallet addresses, the marker A9-10502, the node -i execution pattern, and the C2 addresses are stronger investigation leads than dependency declarations.
The five C2 addresses identified in the reporting are:
166.88.134[.]75
103.179.143[.]219
23.27.13[.]72
95.135.181[.]151
95.135.181[.]84
Because the primary payload is retrieved from Ethereum transaction data, blocking a conventional malicious URL is not sufficient. Repository indicators, wallet activity, process behavior, and the C2 address list provide more useful coverage.
The same infrastructure appears in npm projects
The campaign is not limited to Python. Wallet 0x1eEf0849EDa15d87f64e51C73C8442Cf3c8bCEF3 also serves a JavaScript loader associated with npm projects. On 19 October 2026, that loader targeted two pull requests against asyncapi/generator through api.js and 14 jest.config.js files.
The malicious branch was force-pushed with commits that reused the original commit messages and author dates. This history manipulation was designed to make the changes look routine during review. Maintainers detected the attempt and merged nothing, so this event demonstrates attempted repository access rather than confirmed compromise of the upstream project.
The shared infrastructure means that controls aimed at the C2 addresses can cover both the Python and npm waves.
Why some executions fail
The loader is not guaranteed to execute. In three example applications, the documented startup commands failed with ModuleNotFoundError: No module named 'utils' before the loader could run. Correcting the missing import path can then trigger the malicious code.
This creates a limited natural barrier: the attacker may depend on a developer repairing the import or on a CI workflow that successfully collects the planted module. Delivery also remains multi-hop and probabilistic because the loader must find a valid on-chain payload and successfully connect to the later-stage infrastructure.
These weaknesses reduce the campaign's reach but do not make it benign. A successful import in a developer workstation or CI runner could expose credentials and enable downstream attacks.
Commit metadata cannot establish trust
The campaign also rewrites repository history. One loader appears in a commit dated September 2025, more than a year before the relevant wallet activity. Two repositories contain loaders in commits whose messages claim to remove PolinRider malware access: wakaflorien/cst-research-api and dedev-llc/rpr.
Commit dates and messages are therefore unsuitable as sole provenance controls. An attacker controlling a developer workstation or access token can preserve or alter those values. Branch protection, protected CI checks, commit verification, and review of file-level changes provide stronger assurance than timeline-based filtering.
Real-world risk
The campaign presents a broad but relatively shallow attack surface: hundreds of public repositories, many with limited visibility, and no confirmed package-registry distribution. Its technical mechanism is straightforward, and its reliance on a correct import path, an available Ethereum payload, and functioning C2 infrastructure creates meaningful failure points.
Where the chain succeeds, however, the possible outcome includes credential theft, browser-session compromise, wallet theft, CI abuse, and lateral movement. The exposure should therefore be evaluated per machine and execution environment rather than by repository popularity or apparent project importance.