# PolinRider Python Loader Planted in 375 GitHub Repositories, Fetches JavaScript Stage from Ethereum Transaction Data

> A 58-line, stdlib-only Python loader tied to the PolinRider campaign was found identical across 375 public GitHub repositories (260 accounts). It reads the input data of the newest Ethereum self-transaction from a dead-drop wallet to retrieve a ~31 KB JavaScript stage, which uses a second wallet to locate a C2 server and hands further code to a detached Node.js process. The C2 payload was not retrieved, so this wave's final payload is unknown.

- **Published:** 2026-11-27T05:51:38Z
- **Last reviewed:** 2026-11-27T06:32:54.305Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-6952
- **ID:** TL-2026-6952
- **Severity:** HIGH
- **Category:** SUPPLY_CHAIN
- **Status:** ACTIVE
- **Actor:** PolinRider (North Korea)
- **Detections:** 9 (1 shown free below) · **IOCs:** 38 (3 shown free below)

## Description

On 2026-11-24 SafeDep (following a first report by Jay Maier of Rising Sun Solutions in meSingh/polinrider-scanner issue #96) identified the same 58-line Python loader on the default branch of 375 public GitHub repositories belonging to 260 accounts; 370 of the 375 had a push in November 2026 and the repositories carry 189 stars combined. In 363 cases the loader sits inside a planted package (307 in a utils folder inside the project, 30 in a root utils folder, 26 in other folders such as lib/helpers/common/shared), most often named session.py (183), transport.py (65), clients.py (46), http_session.py (45) or net.py (24). In the remaining 12 it is a root conftest.py, which pytest imports during collection so the code runs before any test. Planted-package variants execute only when an application file imports them (for example import utils.net); in several applications SafeDep checked, the documented start commands failed with ModuleNotFoundError so the loader did not run, but fixing the import path without reviewing the code would activate it. Two file hashes exist (LF and CRLF line endings).

Execution chain: the loader uses only the Python standard library, so dependency scanners and lockfiles show nothing. It queries the Ethplorer API (api.ethplorer.io getAddressTransactions, apiKey=freekey) for wallet 0x3b1574417524c11a7403c4b232CAcBb320CceBC6, selects the newest transaction whose sender is the wallet itself, fetches it with eth_getTransactionByHash from ethereum.publicnode.com, hex-decodes the transaction input into JavaScript, writes it to a temporary .js file, runs it with node under a 20-second timeout and deletes the file. All exceptions are swallowed, so hosts without Node.js show no errors. The wallet made 8 self-sent transactions between 2026-10-24 and 2026-11-11 (a 3-byte test, an undecodable 29,557-byte input, then JavaScript builds 1-4 of 29,529 / 29,755 / 30,738 / 31,134 bytes); wallet 0x6e82b409a357be8d8e88e7d4fcb588ded3de104f funded it on 2026-10-24 and 2026-10-28. Because the payload lives on-chain, operators can replace it without touching any planted file.

The newest JavaScript stage (build 4) is obfuscated in three layers (an XOR 0x87 string table plus a dictionary-compressed body; builds 1-3 use a different obfuscator and were not decoded). It carries the campaign marker A9-10502 (sent in the Sec-V HTTP header), reads the operator wallet 0x1eEf0849EDa15d87f64e51C73C8442Cf3c8bCEF3 to locate the C2 (checking blocks at multiples of 1,000, then searching by transaction count, then using the Blockscout indexer at eth.blockscout.com). Heartbeat transactions encode the C2 IPv4 address twice in the first 8 bytes of the to-address followed by the ASCII text 'helloipbot!!'. The stage then fetches two XOR-encoded scripts over plain HTTP on port 443 from the C2 (/0x/cls and /0x/ls, with distinct XOR keys), runs cls once via eval in-process and once in a new process, and starts a detached, windowless 'node -i' process whose stdin receives the next stage, so the command line shows only 'node -i'. Heartbeat history shows five C2 IPs in rotation: 166.88.134.75 (2026-09-04 to 09-12), 103.179.143.219 (10-14 to 10-16), 23.27.13.72 (one heartbeat 10-14), 95.135.181.151 (10-16 to 11-12) and 95.135.181.84 (from 11-12, still current 11-24).

The same operator wallet and C2 were tied to an npm-side wave: on 2026-10-19 force-pushed commits in asyncapi/generator PRs #2277 and #2278 added api.js and appended a loader to 14 jest.config.js files (run by npm run build / npm run dev, using node -e). Maintainers merged nothing and no CI job ran it. Separate reporting cited by Cyber Security News says CircuitVerse's build workflow did execute a loader, so responders should verify what workflows actually ran. Several planted commits carry forged dates, and two repositories had 'remove malware' cleanup commits that still contained the loader.

Analyst notes: SafeDep did not contact the C2, so the content delivered by cls/ls in this wave is unknown; in the September chain later stages installed a stealer for environment secrets, browser passwords, cookies and wallet data, but theft in this wave is unconfirmed. SafeDep and the news article name no actor for this wave. PolinRider as a campaign is described by OpenSourceMalware as DPRK / Contagious Interview and merged with TasksJacker, and Abnormal AI assesses a DPRK / Contagious Interview nexus with moderate confidence for samples using the same EtherHiding technique and backend IP 95.135.181.151; attribution of this specific Python wave is therefore an inference from shared infrastructure and tradecraft. No CVE or CVSS applies; severity is analyst-assigned. BeaconBeagle returned no records (404) for all five C2 IPs.

## MITRE ATT&CK

- T1195 Supply Chain Compromise
- T1059.006 Command and Scripting Interpreter: Python
- T1059.007 Command and Scripting Interpreter: JavaScript
- T1027 Obfuscated Files or Information
- T1140 Deobfuscate/Decode Files or Information
- T1036 Masquerading
- T1070.004 Indicator Removal: File Deletion
- T1564.003 Hide Artifacts: Hidden Window
- T1102.001 Web Service: Dead Drop Resolver
- T1071.001 Application Layer Protocol: Web Protocols
- T1571 Non-Standard Port
- T1195.001 Supply Chain Compromise: Compromise Software Dependencies and Development Tools
- T1195.002 Supply Chain Compromise: Compromise Software Supply Chain
- T1204.002 User Execution: Malicious File
- T1105 Ingress Tool Transfer

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**PolinRider Python Loader Spawning Node.js on Temp JavaScript File (TL-2026-6952)** (`TL-2026-6952-SPL-001`)

Detects the PolinRider (TL-2026-6952) Python stdlib loader executing its on-chain JavaScript stage: a python process launches node against a freshly written tmp*.js file in a temp directory (loader hex-decodes Ethereum transaction input, writes a temp .js, runs node with a 20 second timeout, then deletes it). The loader is planted as utils/session.py, transport.py, clients.py, http_session.py, net.py or a root conftest.py (pytest imports conftest.py at collection). Python launching Node.js on a temp script is rare in normal developer workflows.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1195, T1059.006, T1059.007
- **Data sources:** sysmon, windows_process_creation, DeviceProcessEvents
- **Severity:** high
- **Confidence:** high

### Splunk SPL

```spl
index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1 earliest=-24h (ParentImage="*python*" OR ParentImage="*py.exe") (Image="*node.exe" OR Image="*/node") CommandLine="*.js*" (CommandLine="*tmp*" OR CommandLine="*Temp*")
| eval ioc_tag="PolinRider TL-2026-6952 python loader to node temp js (T1059.006, T1059.007)"
| stats count min(_time) as first_seen max(_time) as last_seen values(CommandLine) as node_cmd values(ParentCommandLine) as python_cmd by host, User, ParentImage, Image, ioc_tag
| convert ctime(first_seen) ctime(last_seen)
```

### Microsoft KQL

```kql
DeviceProcessEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName in~ ('python.exe','pythonw.exe','python3.exe','py.exe','python','python3')
| where FileName in~ ('node.exe','node')
| where ProcessCommandLine has '.js' and ProcessCommandLine has_any ('tmp','Temp')
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, InitiatingProcessCommandLine, FileName, ProcessCommandLine
| order by Timestamp desc
```

### Sigma

```yaml
title: PolinRider Python Loader Spawning Node.js on Temporary JavaScript File
id: 0b6e9c24-5d17-4e83-a1f0-3c8d7e2b9a15
status: experimental
description: Detects a python process launching node.exe against a temp .js file, the execution step of the PolinRider Python loader that decodes an Ethereum transaction input into JavaScript (TL-2026-6952).
references:
  - https://safedep.io/blog/polinrider-python-loader-ethereum-calldata
author: Threadlinqs Team
date: 2026-11-27
tags:
  - attack.initial-access
  - attack.t1195
  - attack.execution
  - attack.t1059.006
  - attack.t1059.007
logsource:
  category: process_creation
  product: windows
detection:
  selection_parent:
    ParentImage|endswith:
      - '\python.exe'
      - '\pythonw.exe'
      - '\python3.exe'
      - '\py.exe'
  selection_child:
    Image|endswith: '\node.exe'
    CommandLine|contains: '.js'
  selection_tmp:
    CommandLine|contains:
      - '\Temp\'
      - '\tmp'
  condition: all of selection_*
falsepositives:
  - Python build tooling that shells out to node on generated temp scripts (for example some JS bundler wrappers)
  - Developer test harnesses that execute JavaScript snippets from Python
level: high
```

**Known false positives:**

- Python build or packaging tooling that shells out to Node.js with generated temp scripts (JS bundler wrappers, notebook extensions)
- Developer test harnesses (for example execjs-style libraries) that run JavaScript from Python via node

**Tuning notes:** Allowlist known build hosts and parent command lines for legitimate JS-from-Python tooling. On Linux or macOS ingest Sysmon for Linux or EDR process telemetry with the same field names. Pivot hits to the parent python script path and compare its hash with the loader IOCs (SHA256 45f1e5c4... LF, adf94e02... CRLF; file size 1585 or 1642 bytes) and check git history for planted utils or conftest.py files.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- PolinRider Planted Loader File Written to Repository Working Tree (TL-2026-6952) (locked: unlock with TL Creds)
- PolinRider Blockchain Dead-Drop Lookups by Python or Node (TL-2026-6952) (locked: unlock with TL Creds)
- PolinRider Short-Lived Temp JavaScript Dropped and Deleted by Python (TL-2026-6952) (locked: unlock with TL Creds)
- PolinRider Loader Strings in Node or Python Command Line (TL-2026-6952) (locked: unlock with TL Creds)
- PolinRider Ethplorer Dead-Drop Wallet Query from Python urllib (TL-2026-6952) (locked: unlock with TL Creds)
- PolinRider Endpoint Connection to Known C2 IPs (TL-2026-6952) (locked: unlock with TL Creds)
- PolinRider Detached 'node -i' Process Spawned by Node or Python (TL-2026-6952) (locked: unlock with TL Creds)
- PolinRider C2 Plain HTTP over Port 443 to /0x/cls and /0x/ls (TL-2026-6952) (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sample indicators (3 of 38)

Defanged, TLP:CLEAR.

- IP address: `95.135.181[.]84`
- Domain: `ethereum[.]publicnode[.]com`
- File hash: `45f1e5c405d1253b0014a17619581d31e1b94fdca8733519d84b9795a460f53a`

Full set of 38 indicators unlocks with TL Creds: https://threadlinqs.com/tl-creds

## Sources

- [Hackers Hide PolinRider Malware in 375 GitHub Repositories to Execute Malicious Code](https://cybersecuritynews.com/hackers-hide-polinrider-malware/)
- [SafeDep: PolinRider Python loader via Ethereum calldata](https://safedep.io/blog/polinrider-python-loader-ethereum-calldata)
- [SafeDep IOC list (CSV) for the PolinRider Python loader](https://safedep.io/data/blogs/polinrider-python-loader-iocs.csv)
- [SafeDep: PolinRider Switches to Ethereum C2 in 30+ Repositories](https://safedep.io/blog/polinrider-ethereum-c2-github-repositories)
- [AsyncAPI maintainer notice on generator PR #2278](https://github.com/asyncapi/generator/pull/2278#issuecomment-7137276131)
- [OpenSourceMalware: PolinRider Rides Again - North Korean Attack Expands Across GitHub](https://opensourcemalware.com/blog/polinrider-rides-again-north-korean-attack-expands-across-github)
- [OpenSourceMalware: PolinRider malware found in 2025 npm packages](https://opensourcemalware.com/blog/polinrider-malware-found-in-2025-npm-packages)
- [Abnormal AI: PolinRider fake coding assignments](https://abnormal.ai/blog/polinrider-fake-coding-assignments)
- [The Hacker News: North Korean Hackers Publish 108 Malicious Packages and Extensions in PolinRider Campaign](https://thehackernews.com/2026/07/north-korean-hackers-publish-108.html)
- [Cyber Security News: Hackers hijack 10 npm packages to spread PolinRider malware using Ethereum blockchain](https://cybersecuritynews.com/hackers-hijack-10-npm-packages-to-spread-polinrider-malware-using-ethereum-blockchain/)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-6952
