Skip to content
← Blog · · df00tech

North Korea-Linked PolinRider Campaign Poisons Over 7,600 GitHub Repositories

security-news campaign

What happened

According to a report published this week by SafeDep, as covered by The Hacker News, threat actors linked to North Korea and tracked as the PolinRider campaign have planted a Python loader across more than 7,600 GitHub repositories. Researchers note evidence suggesting the activity may date back as far as February 2025, meaning it could have been running undetected for an extended period.

Per the report, the loader hides inside a small utils package or inside a conftest.py file. When Python imports the file, the loader reads what the source describes as the newest transaction associated with a mechanism used to retrieve further instructions or payloads. Details on the full retrieval chain were not available in the excerpt reviewed.

Why it matters for defenders

GitHub repositories, especially test and utility files like conftest.py, are widely trusted and often pulled into CI/CD pipelines, developer environments, and dependency chains with minimal scrutiny. A loader embedded this way can achieve broad reach with relatively low effort, since many projects import conftest.py automatically as part of test tooling (for example, pytest) rather than through an explicit, reviewed dependency declaration. The scale cited, over 7,600 repositories, combined with a reported start date well over a year prior to disclosure, suggests this is a persistent, large-footprint supply-chain risk rather than an isolated incident.

What defenders should watch for

  • Audit repositories and forks for unexpected or recently added conftest.py files, or small utils packages whose purpose doesn't match the project's stated functionality.
  • Review CI/CD pipeline logs for anomalous outbound network activity triggered during test execution or package import, not just during application runtime.
  • Treat test-tooling files as part of the software supply chain for code review purposes. They are frequently excluded from the same scrutiny applied to application dependencies.
  • Monitor for unusual Python import-time behavior, such as network calls or file reads occurring at import rather than at explicit invocation.
  • Cross-reference internal dependency lists and forked or cloned repositories against any indicators SafeDep or other researchers publish as the investigation develops.

Developing story

This is a net-new piece of threat intelligence and the full technical details, including the complete payload delivery chain, specific indicators of compromise, and the scope of affected organizations, had not fully emerged as of this writing. Defenders should treat the above as directional hunting guidance and follow the original reporting for updates: The Hacker News, "North Korea-Linked PolinRider Poisons Over 7,600 GitHub Repositories to Spread Malware".

Get new detections in your inbox

New ATT&CK coverage plus CISA KEV / CVE detection rules, roughly weekly. No spam, unsubscribe anytime.