Hackers Conceal PolinRider Malware in 375 GitHub Repositories
Cybercriminals have embedded PolinRider malware within 375 GitHub repositories, cunningly disguising a Python loader amidst innocuous-looking project files. This loader retrieves JavaScript placed within an Ethereum transaction and executes it using Node.js.
In numerous projects, merely executing tests suffices to unleash the loader. In other instances, the loader activates as the application initializes and imports the compromised module.
The infiltrated public repositories spanned 260 different accounts, with 370 of them receiving updates in November 2026. These statistics illustrate the extent of the insidious code’s infiltration, rather than the actual count of infected machines.
In contrast to previous PolinRider npm package breaches, this Python variant was detected within repository source files, distinct from published packages on PyPI or npm.
SafeDep.io researchers discovered the loader nestled within the default branches of the repositories on November 24, 2026, following a report by Jay Maier of Rising Sun Solutions that same day.
Following a detailed investigation, the team traced the Python script back to an Ethereum wallet and identified a secondary wallet directing the malware toward its command-and-control (C2) server. While this server provided supplementary code, SafeDep did not obtain it during their analysis.
Intrusion and its Implications
SafeDep identified the identical 58-line loader present across all 375 repositories. In 363 instances, it was concealed within a planted package, frequently located in a utils folder. The most prevalent filename wassession.py, which appeared in 183 instances.
The remaining 12 loaders were found inconftest.py, a configuration file imported by pytest during test collection. This indicates that the loader may execute prior to the initiation of a test case.
The risks associated with this infiltration are reminiscent of various GitHub repository malware incidents, which transform ordinary development actions into activation triggers. However, merely opening or cloning a repository does not equate to executing the loader.
In a review of three applications conducted by SafeDep, the expected startup commands failed due to Python’s inability to locate the planted package.
This differentiation is crucial: the import error thwarted execution in those evaluations, yet rectifying the import path without thorough code inspection could activate the loader.
Once executed, the Python code scrutinizes the input data from the most recent transaction that an Ethereum wallet sent to itself. As of November 24, this transaction contained approximately 31 KB of JavaScript.
The JavaScript utilized a secondary wallet to locate the C2 server and subsequently transferred further code to a distinct Node.js process.
Employing blockchain command and control enables operators to modify the server address without necessitating edits to each infected file.
Guidelines for Developers Prior to Test Execution
SafeDep also linked the secondary wallet to malicious alterations in two pull requests for AsyncAPI Generator. Fortunately, maintainers did not approve these alterations, preventing any automated builds from executing them.
Parallel investigations concerning PolinRider in pull requests revealed that a build workflow associated with CircuitVerse did execute a loader.
This discrepancy underscores the importance for incident responders to verify actual workflow execution rather than treating every malicious commit as definitive evidence of execution.
The initial step should involve a comprehensive static review of both the working tree and Git history before proceeding with tests or initiating a dubious project.
Pay close attention to unfamiliar alterations inconftest.py, new utility modules, and unexpected imports in application entry points.
A mere dependency scan may fail to detect this variant, as the loader exploits Python’s standard library. Additionally, commit messages lack reliability as indicators of remediation; SafeDep uncovered two repositories where commits claiming to eliminate malware still contained the loader.
In scenarios where a suspect project was executed on a machine supporting Node.js, SafeDep advises treating the host as potentially compromised.
It is essential to isolate the host, scrutinize process and network logs, and rotate any exposed secrets from an untainted machine.
Furthermore, revoke any affected GitHub tokens and SSH keys, invalidate browser sessions, and inspect automated build runners that processed the same code.
Cleaning the branch without securing machines and credentials capable of making subsequent pushes leaves the repository vulnerable to reinfection.
SafeDep has noted that the most recent C2 address employed plain HTTP on port 443. This protocol inconsistency warrants examination alongside any unusual Node.js activity.
While prior PolinRider phases were associated with the theft of browser passwords, cookies, environment secrets, and wallet information, SafeDep has not confirmed what the server delivered in this latest Python variant.
Responders should thoroughly investigate the potential for exposure without prematurely reporting theft as an established outcome.

Indicators of Compromise (IoCs)
| Type | Indicator | Context |
|---|---|---|
| Ethereum wallet | 0x3b1574417524c11a7403c4b232CAcBb320CceBC6 | Wallet whose transaction data held the JavaScript stage. |
| Ethereum wallet | 0x6e82b409a357be8d8e88e7d4fcb588ded3de104f | Funded the loader’s wallet on October 24 and 28. |
| Ethereum wallet | 0x1eEf0849EDa15d87f64e51C73C8442Cf3c8bCEF3 | Operator wallet used to locate the C2 server. |
| C2 IP address | 95.135.181[.]84 | Active from November 12 and still observed on November 24; plain HTTP on port 443. |
| C2 IP address | 95.135.181[.]151 | Observed October 16–November 12. |
| C2 IP address | 103.179.143[.]219 | Observed October 14–16. |
| C2 IP address | 23.27.13[.]72 | Observed in one October 14 beacon. |
| C2 IP address | 166.88.134[.]75 | Observed September 4–12. |
| C2 URL | hxxp://95.135.181[.]84:443/0x/cls | Next-stage endpoint. |
| C2 URL | hxxp://95.135.181[.]84:443/0x/ls | Boot-stage endpoint. |
| SHA-256 | 45f1e5c405d1253b0014a17619581d31e1b94fdca8733519d84b9795a460f53a | Python loader with LF line endings. |
| SHA-256 | adf94e02b0dea9efbf0c02c522fd39d7b833adc41067e747c3eb0843e36a1f91 | Python loader with CRLF line endings. |
| Git blob | 0302eeba73c5e1b9717b60e6c07de110349cb4e9 | Python loader with LF line endings. |
| Git blob | e9e0e43379fbb8297d0b2d57b57b4ab94217d7e4 | Python loader with CRLF line endings. |
| Ethereum transaction | 0x474097c1e7162d858090b798e37ec7342cef00c44c8c71f1b8cdd755b6f75db7 | November 11 transaction containing JavaScript build 4. |
| SHA-256 | 623daf99f3bba7ac590025b46d7d7e3fc8d8917629548d3c6e28cfb5aa1b6328 | JavaScript build 4, 31,134 bytes. |
| Ethereum transaction | 0x09d11256e2ea5a8125a4d69ce953400c71a4106164493ef79a2fffbb5c44efa2 | November 1 transaction containing build 3. |
| Ethereum transaction | 0xf4357b87bb0742d027728a20d303eef7103612f9c3d3684394908cffcf8858d3 | October 28, 13:11 UTC; build 3. |
| Ethereum transaction | 0x7fe11f4de256ad59d7b112fb107348672449f977b492da954f2dc18151806f3b | October 28, 10:15 UTC; build 3. |
| SHA-256 | 65408e27530326d501d481955300fa8e3ef2fffc0b7b07ffa29747b7337e0f17 | JavaScript build 3, 30,738 bytes. |
| Ethereum transaction | 0x80bc5752477684554d986a93da091f03a0b1eaa0b34639dbeec5e5d9dee407ab | October 28, 09:12 UTC; build 2. |
| SHA-256 | 42af73eeff9f91d44ee198e21c13977b955238525fc3948fa02bf0a6f4448e36 | JavaScript build 2, 29,755 bytes. |
| Ethereum transaction | 0x43ce178a28ab99ab29332c7867ce4e7c0dc7005978fb05fde817c64127e6d398 | October 25 transaction containing build 1. |
| SHA-256 | 304d13ab3d081af5913a8e64ba6ac0daed80e9bfa3922dc2157a0b5abc758163 | JavaScript build 1, 29,529 bytes. |
| Ethereum transaction | 0x4b8243459fe1358cb12d76e959dba62038e7e6ba0877dba844c28d65983d4a7f | October 24 transaction with input that the loader could not decode as UTF-8. |
| Campaign marker | A9-10502 | Marker in the latest JavaScript stage observed by SafeDep. |
| HTTP header | Sec-V | Header carrying the campaign marker. |
| Process | node -i | Detached Node.js process; correlate with other indicators. |
Source link: Cybersecuritynews.com.




