Fake ‘Improved’ AI Coding Skills Hid a Windows Password Stealer in 487 GitHub Repositories: A Timeline of the TrojanPony Campaign
Since July, an attacker has published look-alike copies of popular add-ons for AI coding agents that quietly install a Windows trojan. Researchers counted 487 public repositories carrying the kit, and one fake skill still passed three security scans. Here is how the campaign unfolded.
Developers are adding “skills” and plugins to their AI coding assistants as casually as they install browser extensions. One attacker has been counting on exactly that. The campaign, which researchers have named TrojanPony, was laid out in a detailed write-up from AIR Security’s research lab on November 26, and Notebookcheck followed up with what users should check. Here is the sequence of events as the researchers describe it.
July 26 to August 1: the look-alikes appear
An account named 0xwilliamortiz published copies of popular coding-agent add-ons with names like ponytail-improved, agents-council and andrej-karpathy-skills. Apart from the hidden payload, they worked like the originals, which are not affected. Five of the account’s repositories reached trending lists with 2,482 stars combined, stars the researchers believe were most likely bought.
How each copy fired
Installing or using a fake skill launched a bundled program that was really Notepad++’s genuine, validly signed updater under a new name. It loaded a malicious file named libcurl.dll from the same folder. That file quietly told Microsoft Defender to ignore several folders, ran a forced Group Policy refresh, then unpacked a trojan called MopsStealer. The trojan disguises itself as RuntimeBroker.exe in a ProgramData folder, survives reboots through scheduled tasks and downloads more modules, including one that steals credentials.
Later: the account disappears, the copies don’t
The original account was eventually removed, but deleting it did not remove the forks. 413 copies in throwaway accounts kept serving the kit.
November 8 and 13: new bait
The same kit moved to AI desktop app lures, released from repositories boosted by bots.
November 12 and 17: a real developer’s account
Using a token stolen from a developer, the attacker tried to pull build secrets from an organization that developer maintains, then committed the kit to 20 of their repositories, including one with about 3,300 stars, and added a workflow that sent build secrets to a Telegram chat.
November 24: a fake game port
A supposed PC version of GTA VI was forked by 50 bots in seven minutes and downloaded 173 times.
November 26: the count
AIR counted 487 public repositories carrying the kit. It found that none of the malicious DLL builds in the fake skills had ever been submitted to VirusTotal, and that the newest command server domain and a backup address still resolved that day. One fake skill was still listed on a public skills directory with passing results from three independent security scanners.
November 29: still listed
Notebookcheck reported the fake copy was still on that directory with the same passing audits, a reminder that a “pass” only means a scanner found nothing.
Signs a Windows machine was hit
- A program sitting next to files named gup.xml and libcurl.dll inside an AI assistant’s skills or plugins folder.
- A RuntimeBroker.exe in C:\ProgramData\Windows\Microsoft; the real one lives in System32.
- A Defender alert for Trojan:Win64/DLLHijack.MK!MTB.
The researchers’ advice if any of these appear: rebuild the machine, change every password and token it held from a clean device, starting with GitHub tokens, and check the GitHub security log for commits or workflows nobody on the team made.
What this means for your company
If your developers, contractors or power users run AI coding assistants, their add-ons are now part of your software supply chain. Set a simple rule: skills and plugins come only from the original author or an approved internal list, never from an “improved” copy, and someone looks at what is inside before it runs. Alert when security tool exclusions are added on a workstation, since that is rarely legitimate. Keep long-lived tokens out of developer machines where possible and give them short lifetimes and narrow permissions. Those steps limit the damage even when a fake add-on slips through.
If you would like help setting guardrails for AI tools, monitoring developer endpoints or tightening how code-hosting tokens are issued, we can help. Reach out to Layer 7 Data Solutions to discuss how we’ve helped companies similar to yours.
