TrojanPony: Fake Coding-Agent Skills Hide a Windows Trojan
On 26 November 2026, security firm AIR Security published research on a live malware campaign it calls TrojanPony. Since July, an attacker has published fake "improved" copies of popular coding-agent skills and plugins (ponytail, agents-council, andrej-karpathy-skills and others) with a Windows trojan inside. AIR counts 487 public repositories carrying the kit. The campaign is still active: on 26 November, its newest command-and-control domain still resolved. The fake skills work exactly like the originals. That is why they spread.
The payload only runs on Windows, but the warning applies to anyone who installs agent skills from a marketplace or a GitHub fork.
What TrojanPony is
Between 26 July and 1 August 2026, an account named 0xwilliamortiz published look-alikes of popular add-ons, including ponytail-improved, agents-council and andrej-karpathy-skills. GitHub removed the original account, but its forks stayed online: 413 copies still serve the kit, 48 of them forks of andrej-karpathy-skills alone.
Of the 487 public repositories carrying the kit as of 26 November: 413 skill forks, 50 bot forks of a fake GTA VI lure, 20 hijacked developer repositories and three AI-app lures. The most copied skills were ponytail-improved (125), ratchet (85) and humanizer-cli (67).
Five of the account's repositories reached trending digests with 2,482 stars combined, and the researchers say the stars were most likely bought. One repository went from 175 to 567 stars in a week.
How the attack works
The fake add-on behaves like the original apart from the payload. The infection runs through a chain of trusted-looking pieces:
- Install step. In ponytail-improved, the install step
node ponytail.js -iruns the bundled executable. In agents-council, a script calledcouncil-job.jsruns it on every council call. - Signed loader. The executable is Notepad++'s genuine, validly signed updater, GUP.exe, renamed, for example to
vibecodecalc.exe. A legitimate, signed file raises no alarm. - Side-loaded DLL. The updater loads a malicious
libcurl.dllsitting in the same folder. The DLL exports 56 fake curl functions, and when the updater calls one, the payload runs. - Defences switched off. The DLL runs hidden PowerShell commands that add Microsoft Defender exclusions, then forces a group policy refresh with
gpupdate /force. - The trojan. It decrypts and runs MopsStealer, which installs itself as
RuntimeBroker.exeunderC:\ProgramData\Windows\Microsoft, persists through four scheduled tasks, bypasses User Account Control, patches AMSI, and talks to its command-and-control servers on TCP ports 406 and 408, with 64 DuckDNS fallback names.
The agents-council attack flow. Source: AIR Security
The kit lands in agent folders such as ~/.claude/skills and ~/.claude/plugins, where developers keep the tools their coding agents load and run.
Why the scanners said it was safe
Only the DLL is malicious. The signed updater is a real file, the stock gup.xml beside it is a real file, and the skill itself does what it promises. As of 26 November, none of the skills' DLL builds had ever been submitted to VirusTotal. November DLL builds are padded with filler words to 8–16 MB, keeping their entropy low.
The clearest sign of the gap: on 26 November, the malicious skill was still listed on skills.sh with an install command and three security audits from independent scanners. All three said PASS. This is not the first time the agent supply chain has been hit — a supply-chain attack on LiteLLM in October showed the same pattern from a different angle.
The deeper problem is what a skill is: not a document your agent reads, but a set of instructions it follows with your permissions while you do something else. A scanner checks files at one moment in time. The payload runs later, after the check.
It did not stop at fake skills
AIR says the fake skills are one front of a bigger campaign, and every wave uses the same kit, loader and trojan. In November the attacker moved on to AI desktop apps (rightform, studsmith and PromptReel) from bot-boosted repositories. A fake GTA VI "PC port" was forked by 50 bots in seven minutes and downloaded 173 times.
The most serious wave used a stolen token from developer Akagi201. On 17 November the attacker committed the kit to 20 repositories, including the 3,300-star learning-cmake, and added a workflow that sends CI secrets to a Telegram chat.
What to check on your machine
If you run coding agents on Windows, look for these signs:
- Notepad++'s updater, GUP.exe, outside a Notepad++ folder, especially in an agent's skills or plugins folder such as
~/.claude/skillsor~/.claude/plugins, sitting beside alibcurl.dll. - A hidden
Add-MpPreference -ExclusionPathcommand followed bygpupdate /force, launched by a signed updater. C:\ProgramData\Windows\Microsoft\RuntimeBroker.exe, the mutexGlobal\RuntimeBrokerAds, or outbound traffic on TCP ports 406 or 408.
If it ran, AIR's advice is blunt: reimage the machine rather than cleaning it, rotate every credential it held from a separate clean device, and check your GitHub security log for commits or workflows you did not make. Skills have become the fastest way to extend a coding agent. Google's agent skills passed 23,000 GitHub stars earlier this month, and that speed is what this campaign exploited. Vet a skill by what it contains, not by what it is called or how many stars it has.
What to watch next
Three things will show whether the ecosystem responds. First, whether GitHub removes the 413 remaining forks — deleting the original account did not. Second, whether skills.sh and other marketplaces start vetting listings before they go live, rather than relying on scanners that check files after the fact. Third, whether the lures keep evolving: the campaign moved from fake skills to fake apps and hijacked repositories in four months.
Google made eight Workspace MCP servers generally available on 24 November, and from 1 February 2027 any tool driven by an AI agent must reach Gmail and Drive through those official servers. The backlash against unchecked agent autonomy is now coming from platforms as well as regulators. TrojanPony is a reminder of why: an agent runs as you, so everything you install into it runs as you too.


Comments
Post a Comment