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

MITRE ATT&CK® Techniques

Potential Compliance Exposure

Sector Implications

Sources

Frequently Asked Questions

Attackers embedded MopsStealer inside Trojanized AI coding-agent skills with artificially inflated popularity ratings. Once a developer installed an infected skill, it used stolen GitHub tokens to propagate malicious forks into additional repositories, reaching 487 public repos within days.

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.

Initial Compromise

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.

Privilege Escalation

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.

Lateral Movement

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.

Command & Control

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.

Exfiltration

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.

Impact (Mitigations)

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
Operational Disruption

Estimated downtime: 7 days

Financial Impact

Estimated loss: N/A

Data Exposure

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

  • • 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.

Secure the Paths Between Cloud Workloads

A cloud-native security fabric that enforces Zero Trust across workload communication—reducing attack paths, compliance risk, and operational complexity.

Cta pattren Image