Fake Claude Code skills have been spreading a Windows password-stealing trojan since July, security firm AIR reported on November 26. The campaign, which the firm calls TrojanPony, has reached 487 public repositories, and the malicious listings were still live days after the report was published.

Between July 26 and August 1, an account named 0xwilliamortiz published look-alike copies of widely used coding-agent add-ons, including ponytail-improved, agents-council and andrej-karpathy-skills. Apart from the hidden payload, the copies work like the originals, which AIR says are not affected. Five of the attacker’s repositories reached trending digests with 2,482 stars combined, and AIR says the stars were most likely bought.

What Was Found

As of November 26, 487 public repositories carried the kit, according to AIR. That total breaks down into 413 skill forks, 50 bot forks of a fake GTA VI PC port, 20 hijacked developer repositories, three AI-app lures and one GTA VI lure. The largest fork groups were ponytail-improved with 125 copies, ratchet with 85, humanizer-cli with 67, andrej-karpathy-skills with 48, openclaude-improved with 36 and agents-council with 35.

The campaign widened in November. AIR found AI desktop-app lures named rightform, studsmith and PromptReel, a fake GTA VI port that was forked by 50 bots in seven minutes and downloaded 173 times, and real developer repositories hijacked with a stolen token. In one case, the attacker pushed the kit into 20 repositories maintained by developer Akagi201, including the 3,300-star learning-cmake project, and added a workflow that sent CI secrets to a Telegram chat.

How the Attack Works

Installing or running one of the fake skills launches a renamed but genuinely signed Notepad++ updater, known as GUP.exe. The updater then side-loads a malicious libcurl.dll from the same folder. That library adds exclusions to Microsoft Defender, runs gpupdate /force, and drops a trojan called MopsStealer, which poses as RuntimeBroker.exe.

Once installed, MopsStealer persists through four scheduled tasks, bypasses User Account Control, patches the Antimalware Scan Interface, and contacts its command-and-control servers on TCP ports 406 and 408, with 64 DuckDNS fallback names. AIR says the infrastructure was still running when it published: “The infrastructure is still up: on 26 November, the newest C2 domain and a fallback DuckDNS name both still resolved.” The payload runs only on Windows.

The agents-council copy is especially persistent. Its council-job.js script runs the malicious executable on every council call, so the infection fires again each time the agent is used.

body trojanpony attack flow

AIR Security’s diagram of the TrojanPony attack chain, from a fake plugin to the MopsStealer trojan. Image: AIR Security

How It Slipped Past the Scanners

The fake ponytail skill was still listed on the skills.sh directory on November 26, complete with an install command and three security audits marked PASS, from Gen Agent Trust Hub, Socket and Snyk. Notebookcheck confirmed on November 29 that the listing was still up. AIR also found that none of the malicious DLL builds had ever been submitted to VirusTotal as of November 26.

Deleting the attacker’s account did not stop the spread. The forks live in throwaway accounts, so 413 copies still serve the kit even though the original account is gone. AIR’s blunt summary of the problem is that “malicious skills are the new supply chain campaign,” adding that shared marketplaces “let anyone publish skills without vetting them, and most scanners miss what they carry.”

body trojanpony skillssh

The fake ponytail skill was still listed on skills.sh on November 26, with three security audits marked PASS. Image: AIR Security

What to Do If You Installed One

Windows users who installed community skills or plugins for Claude Code or similar coding agents should check their machines. Warning signs include a Notepad++ updater sitting outside a Notepad++ folder, especially next to libcurl.dll in folders such as ~/.claude/skills or ~/.claude/plugins, and a RuntimeBroker.exe file in C:\ProgramData\Windows\Microsoft, since the genuine Windows file lives in System32. A Microsoft Defender alert for Trojan:Win64/DLLHijack.MK!MTB is another confirmation of infection.

AIR says a compromised machine should be reimaged rather than cleaned, with every credential it held rotated from a separate clean device, and the GitHub security log reviewed for commits or workflows the owner did not make. The safest habit is to install skills only from the original authors, after reviewing the files, and to treat a skill like any other dependency: check the source, not the name.

Why It Matters

Claude Code skills are shared add-ons that run code on a developer’s machine, and the ecosystem around them keeps growing, with tools that install skills in one click and directories that score skills before you install them. TrojanPony shows that the trust model behind that ecosystem is broken in practice. A validly signed binary, bought stars, trending placement and passing security audits were all in place while the payload kept spreading.

The impersonation trick is the part that should worry every coding-agent user. As AIR puts it, “a fake copy keeps the real name, so vet a skill by what it contains, not what it is called.” The payload in this campaign runs only on Windows, but the same copy-and-rebrand pattern works against any agent that installs community skills, so the check-before-you-install lesson applies across the whole category.

Sources