Executive Summary
North Korea-linked threat actors reportedly poisoned over 7,600 GitHub repositories with a Python loader designed to spread malware. Teams operating AI agents or LLM applications should prioritize dependency visibility and repository integrity checks.
What Happened
The threat actors behind the PolinRider campaign have been observed planting a Python loader in GitHub repositories, as evidence emerges that the activity may have started as far back as February 2025. "The loader hides in a small utils package or in conftest.py," SafeDep said in a report published this week. "When Python imports the file, the loader reads the newest transaction that an
Affected Products
- GitHub repositories
- Python
- utils package
- conftest.py
Vulnerability / Attack Technique
Software supply-chain poisoning
Technical Mechanism
The loader is hidden in a small utils package or in conftest.py within GitHub repositories. When Python imports the file, the loader reads the newest transaction; the provided summary does not describe subsequent actions.
AI Security Category
LLM03:2025 Supply Chain
Part of the AI Supply Chain and AI SBOM topic.
Relevant Frameworks
RealGround Analysis
AI agents and LLM applications often depend on third-party Python packages and repositories, so poisoned dependencies can affect development, deployment, or agent runtime environments. Maintaining an inventory of AI-related dependencies and validating package provenance can reduce exposure to this type of attack.
Recommended Controls
- Maintain an inventory of Python packages and repositories used by AI agents and LLM applications.
- Pin dependencies to approved versions and verify package hashes or signatures before deployment.
- Review utils packages and conftest.py files for unexpected import-time code execution.
- Use isolated build and runtime environments with least-privilege permissions for Python dependencies.
- Continuously monitor dependency and repository changes for unauthorized modifications.
Related RealGround Service
AI Agent SBOM and LLM Mapping · or start with the free AI Agent Security Scanner.
Sources
thehackernews.com: https://thehackernews.com/2026/11/north-korea-linked-polinrider-poisons.html
Summary and analysis written by RealGround from the source above; last updated 2026-11-27.
