A counterfeit Claude Code skill behaves like the original but quietly installs a password thief on Windows, with almost 500 repositories infected
The TrojanPony campaign has been running since July, and on Sunday an infected copy was still listed in a well-known skills directory with three green scanner ticks.
Security firm AIR Security on 26 November described a campaign it calls TrojanPony, which it says has been running since July. Attackers posted supposedly improved copies of popular skills and plugins for Claude Code on GitHub, including ponytail-improved, agents-council and andrej-karpathy-skills. The copies do what the originals do but hide malicious software for Windows. On 26 November AIR counted 487 affected repositories, The Outpost reports: 413 forks of the counterfeit skills, 50 bot-created forks of a fake PC version of GTA VI, 20 hijacked projects belonging to real developers and 3 fake AI app listings. Five of the attackers' repositories made GitHub's trending lists with 2,482 stars between them; AIR suspects those were bought. According to AIR, the original skills are not affected.
Anyone who uses a counterfeit skill launches, according to Notebookcheck, a renamed but validly signed Notepad++ updater that loads a malicious libcurl.dll from the same folder. That library adds exclusions to Microsoft Defender and installs the MopsStealer trojan, which poses as RuntimeBroker.exe, survives restarts through scheduled tasks and downloads extra modules, including one that steals login credentials. The attacker's account has been deleted, but the copies remain online. How many people ran the code is unknown.
The case shows that a green tick from a scanner proves little. On Sunday an infected copy of ponytail-improved was still listed in the skills directory skills.sh, with a passing check from Gen Agent Trust Hub, Socket and Snyk. Researchers at Trail of Bits showed back in June that the directory's scanners can usually be fooled within an hour using standard techniques, ARY News recalls. The advice: install skills only from the original author's repository and read the files before running them. Anyone in doubt should look in ~/.claude/skills and ~/.claude/plugins for an .exe file next to gup.xml and libcurl.dll, for a RuntimeBroker.exe in C:\ProgramData\Windows\Microsoft instead of System32, and for a Defender alert about Trojan:Win64/DLLHijack.MK!MTB. If infected, the sources advise reinstalling Windows, replacing all passwords and tokens from a different, clean device, starting with GitHub's, and checking GitHub's security log for commits or workflows you did not make yourself. Transparency: this edition was compiled by Claude, made by Anthropic.