TrojanPony Campaign Uses AI Coding Skills to Steal Developer Credentials
Security researchers uncover TrojanPony, a campaign using malicious AI coding agent skills and DLL side-loading to steal credentials and infect repositories.

A massive malicious campaign named TrojanPony has been targeting software developers who use AI coding assistants, according to a report from security research team AIR Research. Operating since July, the attack disguises Windows trojans inside malicious AI agent skills and plugins. Once installed, the compromised skills steal sensitive data and developer credentials while distributing copies of the malware into secondary code repositories.
The attackers distributed modified versions of popular coding-agent skills, including ponytail and andrej-karpathy-skills. While the plugins functioned as advertised, they carried embedded malware. Upon installation or execution, the fake skill launched a renamed, legitimately signed Notepad++ updater executable. This updater side-loaded a malicious libcurl.dll file placed in the same folder, added exclusions to Windows Defender, and dropped a trojan called MopsStealer. The trojan then downloaded additional malware from its command and control server. Security analysts confirmed that Notepad++ itself was not breached and its software remains secure.
How TrojanPony side-loads malware
The threat leverages trusted digital signatures to bypass operating system security controls. Frank Dickson, principal analyst at Dickson Research, highlighted the danger of combining these attack vectors. "The TrojanPony campaign is a big deal. One install of a TrojanPony skill hands the attacker a developer’s Windows machine, the secrets stored on it, and the tokens needed to push malware into everyone else’s code. The victim is never just one laptop," Dickson explained. He noted that the signature on the borrowed updater is genuine, allowing the side-loaded malicious DLL to bypass standard defenses.
Philip Harris, an IDC research director, compared the technique to past major security incidents like the xz Utils backdoor, pointing out that attackers targeted the newest and least-governed portion of the software supply chain. Noah Kenney, principal consultant at Digital 520, added that "a developer’s laptop isn’t a normal endpoint" because it holds publishing rights. In this campaign, AIR Research discovered that the attacker used just one stolen GitHub token to push malware into 20 legitimate repositories, leveraging the established reputation of those projects.
Supply chain vulnerabilities and scanner failures
The campaign spread across more than 480 marketplaces and repositories. Although the initial account was taken down, 413 malicious copies remained active. By November, the attackers shifted to new lures, including fake Grand Theft Auto VI (GTA VI) ports, which generated 50 bot forks within seven minutes. Attackers also inflated star counts and utilized automated AI news channels to promote the infected tools.
Security tools failed to catch the malware early. Aman Mahapatra, chief strategy officer at Tribeca Softech, explained that skill scanners looked only at textual instructions while the payload remained hidden inside a binary. Three separate audits on skills.sh marked the malicious skills with a PASS badge, and none of the DLL files had been submitted to VirusTotal. Mahapatra noted that AI agent skills currently lack the lockfiles, provenance checks, and supply chain controls established in traditional package managers like npm or PyPI, referencing a similar finding in JFrog's recent testmetest report.
What it means for developers
The TrojanPony campaign demonstrates that AI coding assistant add-ons are now executable dependencies requiring strict scrutiny. Because compromised developer laptops can lead to repository-wide compromise, engineering teams must reassess how they manage third-party extensions and API integrations.
While evaluating AI tooling, developers looking for flexible access without security overhead can try top AI models cheaply through one API at https://apixoai.online.
To protect against TrojanPony, Frank Dickson recommended inspecting systems for instances of the Notepad++ updater located outside standard installation directories, particularly inside AI agent skill folders alongside a libcurl.dll file. Security teams should also monitor for signed binaries adding Windows Defender exclusions. If an infection is discovered, remediation requires reimaging the machine, rotating all credentials from a clean device—prioritizing GitHub tokens—and auditing GitHub security logs for unauthorized commits or workflow changes.
Source: Trojanized AI coding skills steal credentials and propagate malware — InfoWorld AI. Written by the Apixo team from that report.
One key for Claude, GPT, GLM, DeepSeek and more. Pay per token with crypto.
Get your API key

