Eslam Hamed
Technical Lead & AI Solutions Architect
Building enterprise AI systems, cloud platforms, and production-ready software
TrojanPony: 413 Fake Copies of Claude Code Skills, and What to Check Before You Install One
On November 26, the security firm AIR published a report on a campaign it calls TrojanPony. Someone made copies of popular skills and plugins for AI coding agents. The copies worked like the originals and also started Windows malware. The best-known bait was ponytail, a Claude Code plugin with more than 200,000 stars on GitHub. The real ponytail was never touched.
The report was not the first warning. On August 19, a user had described the same copy, its files and its malware in an issue on ponytail's own repository, and in October ponytail's author confirmed it and closed the issue. Yet in late November AIR still counted 413 copies serving the kit. When I checked on December 2, a public skill directory still listed the copy with three passing security audits.
I read AIR's report, CSO Online's coverage of November 30, PC Guide's breakdown and Notebookcheck's of November 29, ponytail's issue tracker and README, Trail of Bits' research on skill scanners from June, and what GitHub's public API and the directory showed on December 2. The short answer: nothing about the copies was clever except the packaging. Stars, trending lists, three scanner audits and a valid code signature all said yes, and none of them caught what the August issue had already named.
What ponytail is, and what the copies added
ponytail's core is a prompt. A SKILL.md file, plus an AGENTS.md for agents that read rules files, tells the agent to write only the code a task needs without cutting validation, error handling, security or accessibility. The full plugin carries more than text: hooks, scripts and integrations for several agents, and a local board page. That is normal for a plugin. What ponytail has never shipped is a Windows program or library. Its README names the two official sources, the GitHub repository and the @dietrichgebert/ponytail package on npm, in a line its author added on October 5, and says so plainly: "It never ships .exe or .dll files; a copy that does is not mine."
From late July, an account called 0xwilliamortiz published look-alikes of ponytail and eight other popular skills, labelled as improved versions (AIR dates the first to July 26 to August 1): ponytail-improved, openclaude-improved, and copies of andrej-karpathy-skills, agents-council, humanizer-cli, ratchet, FlashKDA, yoinks and a book-to-skill skill. By AIR's account, each copy works like its original apart from the payload. Every copy carries the same three extra files: a renamed program (vibecodecalc.exe in ponytail-improved), Notepad++'s stock gup.xml settings file, and a libcurl.dll.
What starts the program differs by copy:
- ponytail-improved: its install step,
node ponytail.js -i, runs the program. The plugin version'sbin/install.jsruns it with administrator rights, hidden. - agents-council: its
council-job.jsruns the program every time the council is called.
That is the part worth slowing down on. A skill sounds like text. But a skill folder can carry scripts that the agent or an installer runs for you, and a Claude Code plugin can bring commands, hooks and servers that start programs on your machine with your user's rights. The real ponytail does some of that, legitimately. Installing one is running someone else's code, and the copies only had to add one more program to a folder that already looked busy.
What runs on your machine
The renamed program is Notepad++'s genuine updater, GUP.exe, with a valid signature. When it starts, it loads whatever libcurl.dll sits in its folder. This is called DLL side-loading: the trusted, signed program does the loading, so the malicious library runs inside it. AIR's report traces what the library does next:
- It adds exclusions to Windows Defender with a hidden
Add-MpPreference -ExclusionPathcommand, then forces a policy refresh withgpupdate /force. - It gets past the administrator prompt (UAC) and switches off AMSI, the hook Windows uses to scan scripts before they run.
- It installs a trojan AIR calls MopsStealer as
RuntimeBroker.exeunderProgramData, a name Windows' own processes use. Four scheduled tasks keep it running. - The trojan downloads more modules from its command server, a stealer among them.
Every file in the kit is a Windows program, and AIR's advice is to check Windows machines. AIR does not list which secrets the stealer takes. PC Guide says passwords and authentication tokens, and AIR's advice is to replace every credential the machine held, GitHub tokens first. The second part of the story shows why that order.
How one token reached twenty real repositories
With a stolen token belonging to the developer Akagi201, the attacker first tried, on November 12, to pull the CI secrets of the longcipher organisation that Akagi201 maintains. On November 17, the same token committed the kit to 20 of Akagi201's repositories, including learning-cmake, which AIR puts at 3,300 stars, and added a GitHub Actions workflow that sends CI secrets to a Telegram chat. AIR says the chat's ID matches the trojan's campaign ID. AIR does not say how the token was stolen, or whether the workflow got any secrets out.
When I checked GitHub's API on December 2, learning-cmake had 3,295 stars. Its default branch listed no commits from November 10 to November 30, although the repository was last pushed to on November 28. That suggests the planted commit has been taken out of that branch. Other branches, tags or releases could still hold it, and I could not check those from the API alone.
The rest of the campaign used the same kit with other bait: three AI desktop apps (rightform, studsmith and PromptReel), delivered through their releases, where PromptReel's download is a small stub that fetches the payload from a host outside GitHub; and a "PC port" of GTA VI. AIR's count as of November 26, of repositories, not of infected machines:
| Where the kit was found | Repositories |
|---|---|
| Forks of the fake skills | 413 |
| of which ponytail-improved | 125 |
| of which ratchet | 85 |
| of which humanizer-cli | 67 |
| of which andrej-karpathy-skills | 48 |
| of which the other five skills | 88 |
| Bot forks of the GTA VI lure | 50 |
| Real repositories hijacked with the stolen token | 20 |
| Fake AI desktop apps | 3 |
| The GTA VI lure itself | 1 |
| Total | 487 |
Warned about in August, still listed in December
The part no coverage I read included is on ponytail's own issue tracker. In date order:
- July 30. The skill directory skills.sh first sees the ponytail copy, by the date on its listing.
- August 19. A user, ordokr, opens issue #735 on ponytail's repository. It names the clone
0xwilliamortiz/ponytail-improved, the renamed updatervibecodecalc.exe, thelibcurl.dllbeside it and Defender's detection name for it. By ordokr's analysis, in the installation examined, Defender had quarantined the DLL before it could run. - October 5. ponytail's author closes the issue: the project has never shipped an
.exeor.dll, the README now names the only official sources, and the clone's repository and account both return 404. - November 12 to 17. The stolen token reaches longcipher and Akagi201's repositories.
- November 26. AIR publishes: 487 repositories, 413 copies still serving the kit from throwaway accounts, and the skills.sh listing still up with three PASS audits.
- November 29. Notebookcheck reports the listing still up.
- December 2. When I checked, the listing was still there: three passing audits, five installs, and an install command pointing at a repository that no longer exists.
Deleting the account did not delete the forks. The warning reached the one place a careful ponytail user might look, and the author did what an author can do. Nothing carried it to the places where the copies were being found.
Everything that vouched for it
- Stars and trending. Five of the account's repositories reached trending digests with 2,482 stars between them, and one went from 175 to 567 stars in a week. AIR says the stars were most likely bought; nobody has published proof of a purchase.
- A skill directory's audits. The skills.sh listing shows audits from three scanners: Gen Agent Trust Hub, Socket and Snyk. All three said PASS, and still did on December 2. AIR does not say why each one missed it. Aman Mahapatra of Tribeca Softech told CSO Online that none of the DLL builds had ever been submitted to VirusTotal. In June, Trail of Bits had already got malicious skills past the same three scanners, for example with poisoned Python bytecode behind harmless-looking source, and advised readers not to hand their trust to a scanner.
- A code signature. The program that ran was genuinely signed. A valid signature confirms who signed a file and that it has not changed since. It does not make the program safe to run from a strange folder, and it says nothing about the library it loads from there.
- Working features. Each copy did what the original did. Nobody had a reason to look further.
Each signal answered a different question. Popularity said people liked the project. The audits passed it. The signature vouched for Notepad++'s file. Only the folder, and an issue closed in October, said what was actually there.
What the record does not show
- Why it is called TrojanPony. AIR named it and does not explain the name. ponytail was the best-known bait, but that is a guess.
- How many people installed a copy. No source gives a count of infected machines; the 487 are repositories.
- Which secrets the stealer takes, beyond "passwords and authentication tokens".
- How Akagi201's token was stolen, and whether the Telegram workflow got any secrets out.
- Who is behind it.
- Whether GitHub has removed the forks since November 26. I did not count them again.
- Any word from GitHub, Anthropic or skills.sh. ponytail's author is the only party I found responding, on the issue, in October.
What I check before installing a skill or plugin
I do my coding in Claude Code, so I checked my own setup first. The only marketplace added is Anthropic's official one, none of the copies are there, and my skill and plugin folders hold no .exe or .dll at all. That rules out this campaign, not every malicious skill. These are the checks I would keep:
- Install from the author's own repository or package, by its exact name. A fork with "improved" in its name is a different publisher, whatever its README says. Going to the source cuts out impersonation, but not the risk of the source itself going bad.
- Read the whole thing before installing, not only
SKILL.md: install steps, scripts, hooks, commands and the servers a plugin registers. Those run with your rights. - Treat a program or library in a prompt-style skill as a stop. But the absence of one proves nothing: a script, a hook, a server or an instruction that talks the agent into running a command can do the same damage.
- Pin a version or commit you have read, and read the changes before updating.
- Treat stars, trending lists and scanner badges as popularity, not proof. Here all three were wrong for months.
- Do not read a signature as safety. It vouches for one file, not for what that file loads.
- Keep GitHub tokens small: fine-grained, limited to the repositories they need, with an expiry. A token without the workflow permission cannot add a workflow, which was the step aimed at the CI secrets here. It can still change scripts and dependencies that existing workflows run, so protect the branches your CI builds from as well.
- Keep the credentials on a development machine separate from production ones, so a stolen laptop token does not reach production.
- On a team, keep a list of installed plugins and agree on new ones, and new hooks, before anyone installs them.
If you installed one of the copies
AIR's report and the analysts CSO quoted give the same steps:
- Look for an
.exenext togup.xmlandlibcurl.dll, in particular Notepad++'s updater anywhere outside a Notepad++ folder, and above all in~/.claude/skillsor~/.claude/plugins. - Look for
RuntimeBroker.exeunderProgramData, Defender exclusions you did not add, and the Defender alertTrojan:Win64/DLLHijack.MK!MTB. AIR's report lists the file hashes and command servers. - If it ran, isolate the machine and reimage it. From a clean device, replace every credential it held, GitHub tokens first.
- Read your GitHub security log for commits and workflows you did not make.
Where that leaves it
TrojanPony needed no new technique. It copied popular work, kept it working, most likely bought its stars, and relied on a signed program to load a library nobody checked. The warning that would have stopped it was written down twice: in an issue on ponytail's repository in August, and in its README since October. Neither reached the directory that kept passing the copy, or the forks that kept serving it. Skills and plugins are now a supply chain of their own, and the scanners in it are not yet a check you can lean on. AIR's closing advice says it best: judge a skill by what it contains, not by what it is called.
Sources
- AIR: TrojanPony (November 26, 2026)
- ponytail issue #735, opened August 19 and closed by the author on October 5, 2026
- CSO Online: Trojanized AI coding skills steal credentials and propagate malware (November 30, 2026)
- Notebookcheck: Fake Claude Code skills install a Windows password stealer (November 29, 2026)
- PC Guide: fake Claude Code skills in more than 480 GitHub repositories
- Trail of Bits: The sorry state of skill distribution (June 3, 2026)
- DietrichGebert/ponytail on GitHub
- GitHub's public API and the skills.sh listing, read on December 2, 2026
Putting agents near real systems and data? I help teams design the controls before something goes wrong. See how we can work together.