Executive Summary
In late November 2026, threat actors launched the 'TrojanPony' campaign, poisoning AI coding-agent skills and plug-ins to distribute MopsStealer, a Windows information-stealer, across 487 public GitHub repositories. Attackers Trojanized popular skills such as ponytail-improved and andrej-karpathy-skills, artificially inflated their GitHub star ratings to simulate legitimacy, and embedded a malicious DLL that bypassed Microsoft Defender and AMSI. Once installed, MopsStealer established persistence via scheduled tasks, stole developer credentials and GitHub tokens, and used those tokens to propagate malware into CI/CD pipelines and additional repositories, extending the blast radius far beyond individual workstations.
The TrojanPony campaign marks a significant evolution in software supply-chain attacks: rather than targeting package registries like npm or PyPI, adversaries are now weaponizing the emerging AI coding-assistant ecosystem, where vetting standards are immature and trust in marketplace popularity metrics is high. With AI-assisted development accelerating across enterprises, the attack surface for poisoned agent skills is expanding rapidly.
Why This Matters Now
AI coding assistants are being adopted at record speed across engineering teams, yet the skill and plug-in marketplaces that extend them lack the dependency-scanning, code-review, and allowlisting controls that mature software registries have developed over decades. With 413 malicious forks still live after the original account was removed and delivery infrastructure remaining active, organizations that have not enforced least-privilege access for developer tooling or implemented egress controls to block unauthorized outbound connections from CI/CD environments remain immediately exposed to credential theft and downstream supply-chain compromise.
Attack Path Analysis
TrojanPony actors poisoned AI coding-agent skills and plug-ins hosted on GitHub, tricking developers into installing Trojanized packages that executed MopsStealer via DLL sideloading and UAC bypass. Once entrenched on developer workstations, the malware harvested credentials and GitHub tokens, enabling the attackers to pivot into CI/CD pipelines and spread malicious forks across 487 repositories, ultimately threatening the broader software supply chain and downstream customers.
Kill Chain Progression
This analysis maps confirmed threat intelligence to the full cloud kill chain to show where defensive gaps would emerge as an attack progresses.
Initial Compromise
Description
Attackers published Trojanized AI coding-agent skills (e.g., fake ponytail-improved, andrej-karpathy-skills) to public GitHub repositories, artificially inflating star counts to boost perceived legitimacy. Unsuspecting developers installed these poisoned packages, triggering execution of a renamed Notepad++ updater that sideloaded a malicious libcurl.dll to initiate the infection chain.
MITRE ATT&CK® Techniques
Supply Chain Compromise: Compromise Software Dependencies and Development Tools
Hijack Execution Flow: DLL Side-Loading
Scheduled Task/Job: Scheduled Task
Abuse Elevation Control Mechanism: Bypass User Account Control
Impair Defenses: Disable or Modify Tools
Credentials from Password Stores
Unsecured Credentials: Credentials In Files
Software Deployment Tools
Potential Compliance Exposure
Mapping incident impact across multiple compliance frameworks.
NIST SP 800-53 Rev. 5 – Supply Chain Controls and Processes
Control ID: SR-3
CISA Zero Trust Maturity Model 2.0 – Least Privilege Access for Applications and Integrations
Control ID: Applications Pillar – Application Access / Least Privilege
NIS2 Directive (EU) 2022/2555 – Supply Chain Security and Third-Party Risk
Control ID: Article 21 – Cybersecurity Risk Management Measures
PCI DSS 4.0 – Software Integrity and Third-Party Risk Management
Control ID: Requirement 6.3.3 / 12.8
DORA (EU) 2022/2554 – Third-Party ICT Dependency and Concentration Risk
Control ID: Article 28 – ICT Third-Party Risk Management
ISO/IEC 27001:2022 – Outsourced Development and Management of Technical Vulnerabilities
Control ID: Annex A 8.30 / A 8.8
Sector Implications
Industry-specific impact of the vulnerabilities, including operational, regulatory, and cloud security risks.
Computer Software/Engineering
TrojanPony's supply-chain infostealer directly targets software developers via poisoned AI coding skills, compromising 487 GitHub repos, stealing CI/CD secrets, and enabling lateral movement across entire development organizations.
Information Technology/IT
MopsStealer's credential theft and UAC bypass expose IT infrastructure to exfiltration risk; validated egress security and zero trust segmentation controls map directly to NIST.800-53.SC-7 and PCI.4.0 compliance gaps.
Computer/Network Security
Fake AI coding skills evade public scanners, undermining security tooling trust; CNSF and inline IPS capabilities mapped in validated_info highlight critical gaps in vetting agentic AI extensions and malicious payload detection.
Internet
Weaponized GitHub repositories and artificially boosted skill popularity exploit open marketplace trust, enabling self-propagating supply-chain malware spread with active delivery infrastructure bypassing current platform vetting mechanisms.
Sources
- 'TrojanPony' Targets AI Coding Tools, Sends Malware Galloping Across 400+ Reposhttps://www.darkreading.com/application-security/trojanpony-ai-coding-tools-malware-400-reposVerified
- AIR Security Research Lab - TrojanPony Campaign Analysishttps://airsecurity.io/research/trojanpony
- CISA Known Exploited Vulnerabilities Cataloghttps://www.cisa.gov/known-exploited-vulnerabilities-catalogVerified
- MITRE ATT&CK - Supply Chain Compromise (T1195)https://attack.mitre.org/techniques/T1195/Verified
- MITRE ATT&CK - DLL Side-Loading (T1574.002)https://attack.mitre.org/techniques/T1574/002/Verified
- Cursor Traces Malicious Claude Code Extensions to Third-Party Breachhttps://www.darkreading.com/application-security/cursor-malicious-claude-code-extension-third-party-breachVerified
- NVD - National Vulnerability Databasehttps://nvd.nist.gov/Verified
Frequently Asked Questions
Cloud Native Security Fabric Mitigations and ControlsCNSF
Based on the attack progression modeled above, these are the defensive controls that would constrain each stage.
Aviatrix Zero Trust CNSF is directly relevant to this supply chain intrusion because attacker persistence depended on unrestricted outbound connectivity and free movement from compromised developer workstations into shared CI/CD and cloud infrastructure. By enforcing workload-level segmentation and controlled egress across the development environment, the blast radius from a single poisoned package install would likely have been meaningfully constrained.
Control: Cloud Native Security Fabric (CNSF)
Mitigation: Workload-aware fabric policies could likely reduce the reachability of newly installed, unrecognized processes attempting outbound connections from developer environments, limiting the initial foothold from expanding beyond the compromised workstation.
Control: Zero Trust Segmentation
Mitigation: Zero Trust segmentation could likely reduce the scope of what an escalated process can reach across the broader environment, constraining lateral access to adjacent workloads even if local privilege elevation on the endpoint succeeds.
Control: East-West Traffic Security
Mitigation: East-west traffic enforcement could likely constrain the reachability between developer workstation environments and shared pipeline infrastructure, reducing how freely a compromised identity or token can be operationalized to traverse across internal segments.
Control: Multicloud Visibility & Control
Mitigation: Centralized multicloud visibility and traffic control could likely reduce unmonitored outbound paths from developer environments, making it harder for C2 beaconing and module-retrieval activity to operate without policy scrutiny across network boundaries.
Control: Egress Security & Policy Enforcement
Mitigation: Egress policy enforcement would likely constrain unauthorized outbound data flows from developer workloads to attacker-controlled destinations, reducing the volume and velocity of credential and secrets exfiltration that could reach external infrastructure.
The overall blast radius across shared repositories, CI/CD pipelines, and cloud infrastructure would likely be reduced, with attacker reach constrained to a smaller subset of developer workloads rather than propagating across organizational development infrastructure.
Impact at a Glance
Affected Business Functions
- Software Development Pipelines and CI/CD Infrastructure
- Source Code Repository Integrity and Version Control
- Developer Credential and Token Management
- Cloud and Production Infrastructure Access Control
Estimated downtime: 7 days
Estimated loss: N/A
The campaign exposed developer credentials, GitHub personal access tokens, CI/CD pipeline secrets, and cloud infrastructure access keys harvested by MopsStealer from compromised developer workstations. Stolen tokens enabled lateral propagation into at least 487 public GitHub repositories, with one compromised developer account responsible for 20 infected repos. Downstream consumers of poisoned packages face potential credential exfiltration and software supply chain contamination. Sensitive data categories at risk include source code intellectual property, cloud provider credentials, API keys, SSH private keys, and authentication tokens for development infrastructure. Financial loss is not publicly quantified but exposure of cloud and CI/CD credentials carries high remediation costs and potential downstream breach liability across any organization whose developers installed the trojanized skills.
Recommended Actions
Key Takeaways & Next Steps
- • Apply Cloud Native Security Fabric (CNSF) inline enforcement and AI-driven traffic discovery to detect anomalous outbound connections from developer workstations and CI/CD runners to unknown attacker-controlled C2 infrastructure, blocking MopsStealer beaconing before credential exfiltration occurs.
- • Deploy Egress Security and Policy Enforcement with FQDN filtering and outbound traffic allowlisting on developer endpoints and build pipelines so that unauthorized destinations used by MopsStealer for C2 and data exfiltration are blocked at the network layer, enforcing NIST.800-53.SC-18 and ZTMM.Data controls.
- • Enforce Zero Trust Segmentation with least-privilege identity-based policies so that a compromised developer workstation or stolen GitHub token cannot authenticate to or write into other repositories, CI/CD systems, or cloud infrastructure — containing lateral movement before it reaches 20+ repositories.
- • Leverage Multicloud Visibility and Control with centralized traffic observability to baseline normal developer-to-cloud and workload-to-workload interaction patterns, enabling rapid detection of anomalous automation, bulk repository writes, and suspicious API calls consistent with token abuse and supply chain propagation.
- • Implement East-West Traffic Security controls to prevent workload-to-workload and service-to-service lateral movement within CI/CD and cloud environments, ensuring that even if a developer machine is compromised, internal east-west flows to build systems, secrets managers, and production cloud accounts require explicit verified identity and segmentation policy before access is granted.



