# SafeDep finds Python loader in 375 GitHub repositories

Apiiro estimates that the broader PolinRider campaign has reached at least 7,609 repositories across 2,330 accounts. Running or importing an affected project can activate the newly identified loader.

Published 27 November 2026 · Verified as of 27 November 2026 · AveNews · Software

https://www.avenews.am/en/posts/polinrider-github-repositories-python-loader · [Հայերեն](https://www.avenews.am/hy/posts/polinrider-github-repositories-python-loader)

> **Summary:** SafeDep identified malicious code in public repositories belonging to 260 accounts. The loader uses Ethereum transaction data to find further instructions, allowing its operators to change the server it contacts.

SafeDep, a software supply-chain security company, identified a Python loader in 375 public GitHub repositories belonging to 260 accounts. A loader is code that retrieves and runs further software.[^1]

The finding is part of PolinRider, a campaign linked to North Korean threat actors that has used access to developers’ accounts and machines to alter repositories. Apiiro estimates that the broader campaign has been detected in at least 7,609 GitHub repositories belonging to 2,330 accounts; its estimate covers more than this Python loader, [The Hacker News said](https://thehackernews.com/2026/11/north-korea-linked-polinrider-poisons.html) on 26 November.[^1]

## How the loader gets instructions

A developer can encounter the loader after copying an affected project and running or importing it. SafeDep said the code hides in a small utility package or a file called conftest.py. When Python imports the infected file, the loader reads data from an Ethereum wallet’s latest transaction to itself, decodes it as JavaScript and runs it using Node.js.[^1]

That JavaScript checks a second wallet for the address of a server that supplies the next stage. Apiiro researcher Shmulik Cohen said a wallet transaction can redirect loaders to another server, so taking down one server need not stop them.[^1]

The precise nature of the current follow-on scripts remains unknown because researchers have not captured live copies. Cohen said an earlier script used the same settings as one current payload and assessed that the current payload is most likely a remote-access tool. The earlier script could run commands, read the clipboard, upload files and place itself in developer applications so it restarted with them; those capabilities have not been verified in a live copy from this wave.[^1]

## An earlier package attack

OpenSourceMalware identified a May 2025 attack in which a hijacked maintainer account pushed poisoned versions of nine packages. Its researchers said blockchain records traced associated attacker activity to February 2025, while the documented repository-spreading behavior appeared in the same maintainer’s repositories between January and July 2026.[^1]

There is no evidence that the newly identified Python loader has been distributed through the PyPI or npm package repositories. Other compromised npm packages used a wallet also associated with the campaign.[^1]

## References

- [GitHub](https://www.avenews.am/en/references/github-q364): The platform hosting repositories affected by the PolinRider campaign.

## Sources

[^1]: [North Korea-Linked PolinRider Poisons Over 7,600 GitHub Repositories to Spread Malware](https://thehackernews.com/2026/11/north-korea-linked-polinrider-poisons.html), The Hacker News, 26 November 2026
