Developer systems and repositories were exposed through malicious AI coding skills and plug-ins. The TrojanPony campaign reached 487 public GitHub repositories and distributed Windows credential-stealing malware through tools that remained functional. Attackers used stolen GitHub tokens to compromise more repositories and expose development secrets. As of November 26, 413 malicious copies and forks remained available.

What Happened

Attackers distributed poisoned skills and plug-ins for AI coding assistants, using them to install credential-stealing malware on Windows developer systems. The campaign, called TrojanPony, had reached 487 public GitHub repositories by November 26.

The malicious offerings included Trojanized versions of recognizable coding-agent skills. They were not necessarily obvious fakes because they still provided expected functionality while carrying a Windows malware kit. The campaign also used AI desktop application lures, a fake Grand Theft Auto VI PC port, and compromised repositories to broaden distribution.

Some repositories appeared more trustworthy because their popularity had been artificially increased. Five repositories reached trending digests with 2,482 stars combined, and researchers assessed that the stars were likely purchased. Automated promotion then amplified the appearance of legitimacy.

Once a developer installed or used an infected skill, the malicious components launched a renamed legitimate updater and used it to load a hostile library. The malware added Microsoft Defender exclusions, established persistence through scheduled tasks, attempted to evade security controls, and downloaded additional modules. Its credential-stealing capability targeted access held on developer machines.

Stolen GitHub tokens were then used to compromise repositories and expose continuous integration and delivery secrets. This created a self-propagating pattern in which one compromised developer could help the campaign reach additional projects. Twenty affected repositories belonged to one compromised developer. Although the original account associated with the campaign was removed, 413 malicious copies and forks remained available as of November 26, and the delivery infrastructure was still active.

Why It Matters

Developer workstations often have access to source code, repositories, pipelines, cloud environments, signing processes, and production systems. Malware on one workstation can therefore move the incident beyond a single employee and into the organization’s software supply chain.

The campaign exploited trust in the ecosystem around AI coding assistants rather than compromising the underlying models. Developers may install extensions because a name looks familiar, a repository has many stars, or a tool appears in a trending list. Those social signals can be manipulated, while a functional tool gives users little immediate reason to suspect malicious behavior.

Public security scanners also gave some malicious skills passing results. That demonstrates why automated scanning should support, rather than replace, provenance controls, code review, approved distribution channels, and least privilege.

The risk can extend to customers if compromised repositories or pipelines alter software that is later built or distributed. The evidence does not establish that customer software was modified, but the access obtained makes repository and pipeline review necessary.

What to Watch

Organizations should look for the named malicious skills and related copies or forks in developer environments and repositories. Because copies remained available after the original account was removed, deletion of one source does not eliminate exposure.

Defenders should review GitHub token use, repository changes, newly exposed pipeline secrets, scheduled tasks, Defender exclusions, and connections to the campaign infrastructure identified by researchers. One affected developer may be linked to several repositories, so scoping should follow identities and tokens rather than stopping at the first project.

Further propagation remains possible where stolen tokens are still valid or malicious forks remain accessible. Organizations should also watch for unexpected updates to AI coding skills that were previously approved, since a trusted name alone does not establish the integrity of a new version.

What Defenders Should Do

Governance: Treat AI coding skills and plug-ins as software dependencies. Permit installation only from a validated internal repository or mirror and maintain an explicit allowlist.

Review: Inspect source code and changes before approving new versions. Pin versions so an unreviewed update cannot be adopted automatically.

Access: Give developer tokens only the permissions and lifetime required. Separate development credentials from production access and avoid exposing broad pipeline or cloud secrets to every workstation.

Investigate: Check developer endpoints for suspicious scheduled tasks, security-control exclusions, renamed executables, hostile libraries, and credential-stealing activity. Review repository and pipeline logs for unauthorized changes.

Recover: Revoke exposed GitHub and development tokens, rotate affected secrets, validate repositories, and rebuild compromised systems from trusted sources where appropriate.

The Larger Lesson

AI coding extensions are the newest form of a familiar supply-chain dependency. Their labels and workflows may be new, but the required controls are established: verify provenance, restrict installation, review code, pin versions, minimize privileges, and monitor changes.

Marketplace popularity is not a security property. Stars, rankings, and automated promotion can be manipulated, while malicious software can preserve enough legitimate functionality to avoid suspicion.

Organizations adopting AI development tools should extend existing dependency governance to the entire surrounding ecosystem. Trusting the core assistant while leaving its skills and plug-ins unmanaged creates an avoidable gap.

Questions, corrections, or feedback about this story?Contact Daily Cyber News →

← Back to this Daily edition