Hackers Conceal PolinRider Malware in 375 GitHub Repositories to Deploy Malicious Software

Try Our Free Tools!
Master the web with Free Tools that work as hard as you do. From Text Analysis to Website Management, we empower your digital journey with expert guidance and free, powerful tools.

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.

A magnifying glass over the word INVESTIGATE on a wooden desk with office supplies nearby.

Indicators of Compromise (IoCs)

TypeIndicatorContext
Ethereum wallet0x3b1574417524c11a7403c4b232CAcBb320CceBC6Wallet whose transaction data held the JavaScript stage.
Ethereum wallet0x6e82b409a357be8d8e88e7d4fcb588ded3de104fFunded the loader’s wallet on October 24 and 28.
Ethereum wallet0x1eEf0849EDa15d87f64e51C73C8442Cf3c8bCEF3Operator wallet used to locate the C2 server.
C2 IP address95.135.181[.]84Active from November 12 and still observed on November 24; plain HTTP on port 443.
C2 IP address95.135.181[.]151Observed October 16–November 12.
C2 IP address103.179.143[.]219Observed October 14–16.
C2 IP address23.27.13[.]72Observed in one October 14 beacon.
C2 IP address166.88.134[.]75Observed September 4–12.
C2 URLhxxp://95.135.181[.]84:443/0x/clsNext-stage endpoint.
C2 URLhxxp://95.135.181[.]84:443/0x/lsBoot-stage endpoint.
SHA-25645f1e5c405d1253b0014a17619581d31e1b94fdca8733519d84b9795a460f53aPython loader with LF line endings.
SHA-256adf94e02b0dea9efbf0c02c522fd39d7b833adc41067e747c3eb0843e36a1f91Python loader with CRLF line endings.
Git blob0302eeba73c5e1b9717b60e6c07de110349cb4e9Python loader with LF line endings.
Git blobe9e0e43379fbb8297d0b2d57b57b4ab94217d7e4Python loader with CRLF line endings.
Ethereum transaction0x474097c1e7162d858090b798e37ec7342cef00c44c8c71f1b8cdd755b6f75db7November 11 transaction containing JavaScript build 4.
SHA-256623daf99f3bba7ac590025b46d7d7e3fc8d8917629548d3c6e28cfb5aa1b6328JavaScript build 4, 31,134 bytes.
Ethereum transaction0x09d11256e2ea5a8125a4d69ce953400c71a4106164493ef79a2fffbb5c44efa2November 1 transaction containing build 3.
Ethereum transaction0xf4357b87bb0742d027728a20d303eef7103612f9c3d3684394908cffcf8858d3October 28, 13:11 UTC; build 3.
Ethereum transaction0x7fe11f4de256ad59d7b112fb107348672449f977b492da954f2dc18151806f3bOctober 28, 10:15 UTC; build 3.
SHA-25665408e27530326d501d481955300fa8e3ef2fffc0b7b07ffa29747b7337e0f17JavaScript build 3, 30,738 bytes.
Ethereum transaction0x80bc5752477684554d986a93da091f03a0b1eaa0b34639dbeec5e5d9dee407abOctober 28, 09:12 UTC; build 2.
SHA-25642af73eeff9f91d44ee198e21c13977b955238525fc3948fa02bf0a6f4448e36JavaScript build 2, 29,755 bytes.
Ethereum transaction0x43ce178a28ab99ab29332c7867ce4e7c0dc7005978fb05fde817c64127e6d398October 25 transaction containing build 1.
SHA-256304d13ab3d081af5913a8e64ba6ac0daed80e9bfa3922dc2157a0b5abc758163JavaScript build 1, 29,529 bytes.
Ethereum transaction0x4b8243459fe1358cb12d76e959dba62038e7e6ba0877dba844c28d65983d4a7fOctober 24 transaction with input that the loader could not decode as UTF-8.
Campaign markerA9-10502Marker in the latest JavaScript stage observed by SafeDep.
HTTP headerSec-VHeader carrying the campaign marker.
Processnode -iDetached Node.js process; correlate with other indicators.

Source link: Cybersecuritynews.com.

Disclosure: This article is for general information only and is based on publicly available sources. We aim for accuracy but can't guarantee it. The views expressed are the author's and may not reflect those of the publication. Some content was created with help from AI and reviewed by a human for clarity and accuracy. We value transparency and encourage readers to verify important details. This article may include affiliate links. If you buy something through them, we may earn a small commission — at no extra cost to you. All information is carefully selected and reviewed to ensure it's helpful and trustworthy.

Reported By

Neil Hemmings

I'm Neil Hemmings from Anaheim, CA, with an Associate of Science in Computer Science from Diablo Valley College. As Senior Tech Associate and Content Manager at RS Web Solutions, I write about AI, gadgets, cybersecurity, and apps – sharing hands-on reviews, tutorials, and practical tech insights.
Share the Love
Related News Worth Reading