TrojanPony Malware Campaign Targets AI Coding Skills and Developer Credentials
TrojanPony hides malware in AI coding skills, steals developer credentials and uses a GitHub token to spread through repositories.

Malicious AI coding skills can put an entire development workflow at risk, not just the computer where they’re installed. TrojanPony, a malware campaign identified by AIR Research, combines credential theft with the ability to spread through software repositories. AIR reported that one stolen GitHub token was used to place malware in 20 real repositories.
The activity has been ongoing since July. Attackers distributed modified versions of popular coding agent skills and plugins, including ponytail and andrej-karpathy-skills. These copies were presented as improved versions and could perform their expected functions, but also carried hidden malware. That mix makes review difficult: a skill can appear useful while its installation or execution also starts a harmful chain of activity.
How the infection works
When a malicious skill was installed or run, it launched a renamed copy of the Notepad++ updater. The updater was signed, but a malicious libcurl.dll placed beside it was loaded through DLL side-loading. That technique takes advantage of how an application may load a library from its own folder. The genuine signature on the updater did not make the adjacent DLL safe.
The malicious library added exclusions to Windows Defender and dropped MopsStealer, a trojan that retrieved additional malware, including a stealer, from its command and control server. This sequence matters to administrators because the initial entry point was an AI coding add-on, while the activity that followed affected Windows protections and data stored on the developer’s machine.
Notepad++ itself was not breached, and the attack does not put Notepad++ users at risk simply because they use the application. The updater was borrowed and renamed for the attack. As Dickson Research principal analyst Frank Dickson explained, the attackers used the updater’s real signature to gain trust while placing the malicious library beside it.
Why a developer machine can affect more than one user
A developer’s endpoint may hold source code, credentials and tokens that can publish changes to shared repositories. Noah Kenney, principal consultant at Digital 520, said AIR found that attackers used one stolen GitHub token to push malware into 20 real repositories. Those projects then gave the malicious changes access to the reputation of legitimate repositories and their maintainers.
That creates a path from one infected machine to other developers. If a stolen token can write to repositories, the initial victim’s workstation becomes a route for distributing harmful code. Teams should therefore consider the credentials and repository permissions available from developer devices when assessing the impact of a suspected infection.
Aman Mahapatra, chief strategy officer at Tribeca Softech, described AI agent skills as executable dependencies that often lack controls familiar from package registries such as npm and PyPI. He pointed to the lack of lockfiles and provenance, along with the fact that skills may be installed without review. The concern is practical: a skill can look like instructions for an AI agent while also carrying files that run on the local machine.
Scanner results and popularity signals failed
AIR reported that TrojanPony had spread across more than 480 marketplaces and repositories. Although the original account was removed, 413 copies remained. The firm also said the activity expanded in November to include lures involving AI apps, a fake Grand Theft Auto VI port, and trusted repositories updated using a stolen token.
Existing skill checks did not reliably identify the hidden payload. Mahapatra said three independent audits on skills.sh marked the malicious skill “PASS,” because the scanners examined the skill’s instructions while the malware was inside a binary. He also said none of the skills’ DLL builds had been submitted to VirusTotal. A clean scanner result therefore did not establish that every file bundled with a skill was safe.
Popularity signals were also manipulated. Mahapatra said the repositories appeared to have bought stars and showed up in trending digests, while an automated AI news channel promoted a skill within a day. He said a Grand Theft Auto VI lure attracted 50 bot forks in seven minutes. Stars, forks and trending placement can make a project look established, but they do not verify the code or files it contains.
What administrators should check
For investigation, Dickson advised looking for a Notepad++ updater outside a Notepad++ installation, especially in an AI agent’s skills or plugins folder with a libcurl.dll beside it. He also identified a signed updater adding Windows Defender exclusions as a behavior to examine. These clues can help teams focus endpoint review on the files and activity associated with the reported infection.
If the malware has run, Dickson advised reimaging the affected machine, rotating every credential it held from a clean device, and starting with GitHub tokens. He also recommended reviewing the GitHub security log for commits and workflows the team did not create. Those steps address both the local infection and the possibility that access was used to alter shared repositories.
For teams adopting AI coding tools, the practical question is what files an add-on installs and what credentials the agent or developer environment can access. Treating skills and plugins as software dependencies gives administrators a clearer basis for review, while repository activity and endpoint behavior can reveal whether a compromised token was used. With hundreds of copies still reported, checking installed skills and associated files remains a concrete place to start.