Fake Claude Code skills install a Windows password stealer
Malicious actors are distributing fake versions of popular coding agent plugins on GitHub that install a trojan to steal user credentials.
The short version
- The campaign has affected 487 repositories, including hijacked projects from real developers.
- The malware uses a validly signed Notepad++ updater to bypass security and install a trojan.
- The trojan poses as a system process and uses scheduled tasks to survive computer reboots.
- Security scanners on some skill directories failed to detect the malicious files during audits.
The TrojanPony campaign
Security firm AIR identified a malicious campaign on November 26 that targets users of coding agents like Claude Code. The campaign, dubbed TrojanPony, involves the distribution of fake copies of popular community skills and plugins on GitHub. These fake versions are designed to look like improved versions of existing tools.
The attackers have published several specific fake projects, including ponytail-improved, agents-council, and andrej-karpathy-skills. While the original projects remain unaffected, these malicious copies are being shared with users who are looking for enhanced functionality. The campaign has been active since July, spreading through various repository forks.
According to AIR, the reach of this campaign is significant, with 413 forks and 487 total affected repositories. These include projects that were hijacked from real developers as well as a fake PC port of GTA VI. The attacker's account has been deleted, but the malicious copies remain online for users to find.
Why it matters
If you use coding agents like Claude Code, installing community skills from untrusted sources can compromise your entire machine. This attack specifically targets developers by stealing GitHub tokens and other sensitive credentials.
How the infection works
The infection process begins when a user installs or uses one of the fake skills. This action launches an executable file that is actually a genuine, validly signed Notepad++ updater, but it is running under a different name. This tactic helps the malware appear legitimate to the user and certain security systems.
Once the updater runs, it loads a malicious file named libcurl.dll from the same folder. This specific file is designed to add exclusions to Microsoft Defender, which is the standard security software for Windows. By disabling these protections, the malware can more easily install a trojan known as MopsStealer.
MopsStealer is designed to be stealthy by posing as a legitimate system process called RuntimeBroker.exe. It also creates scheduled tasks to ensure it survives computer reboots. Once established, the trojan downloads additional modules, including a specific component designed to steal user credentials from the system.
Bypassing security audits
A concerning aspect of this campaign is how it bypasses automated security checks. For example, a fake version of the ponytail skill was still listed on the skills.sh directory on November 29. It even displayed a "PASS" result from several security scanners, including Gen Agent Trust Hub, Socket, and Snyk.
Researchers at Trail of Bits previously demonstrated that scanners built into these directories can be bypassed using standard tricks. These bypasses can often be achieved in less than an hour by a determined actor. This means a "pass" result from a scanner does not necessarily guarantee that a skill is safe to use.
This issue has appeared in other contexts recently, such as a tampered Claude Code extension in Cursor and Postman. In those cases, the extension added itself to Claude Code without asking the user for permission. These incidents highlight the risks of relying solely on automated tools to verify the safety of third-party code.
Identifying infected systems
Users who have installed community skills can check for specific warning signs on their Windows machines. One indicator is the presence of an .exe file located next to gup.xml and libcurl.dll in the ~/.claude/skills or ~/.claude/plugins folders. This is a primary sign of the TrojanPony infection.
Another red flag is finding a file named RuntimeBroker.exe in C:\ProgramData\Windows\Microsoft. This is suspicious because the genuine version of that file is located in the System32 folder. If a user sees these files, they should also check for a Defender alert for Trojan:Win64/DLLHijack.MK!MTB.
If an infection is confirmed, the security firm recommends a full reinstallation of Windows. Users should then use a clean device to change every password and token stored on the infected machine. This process should start with GitHub tokens, as these are high-priority targets for the attackers.
Safe practices for developers
To stay safe from these types of attacks, developers should be extremely cautious about where they source their plugins. The safest method is to install skills only from the author's own official repository. Users should also manually inspect the files included in a project before running any installation commands.
The campaign demonstrates how easily malicious actors can hijack popular projects or create convincing fakes. Because these tools often require significant permissions to interact with your code, giving them access to your system can be risky. Verifying the source of every tool is a necessary step for maintaining a secure development environment.
Finally, users should regularly check their GitHub security logs for any suspicious activity. This includes looking for commits or workflows that they did not personally initiate. Monitoring these logs can help identify if a stolen token has been used by an attacker to access private repositories.
What to watch
- Whether more security scanners update their rules to detect the MopsStealer trojan.
- If other coding agent platforms implement stricter verification for community-contributed skills.
Try it
Check your ~/.claude/skills or ~/.claude/plugins folders for any .exe files located next to a libcurl.dll file.
More stories
ClaudeA Bengaluru trainer's advice for a team's first AI agent: n8n, Claude Code or Codex
ClaudeWill Claude agents slip out of a weak sandbox, and what does Anthropic say they do next?
ClaudeOpenAI's GPT-6.2 Astra matches Claude Fable 5.2 on accuracy with lower costs
ClaudeAI coding agents are making home-run servers worth the effort again
Get The Daily
AI news, explained in 5 minutes a day. Free. The first issue is coming soon.
No password. Unsubscribe any time. Privacy
Say why
Liked it? Say why
Add a line for other readers.
No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.
Sources
The reporting and documents this story is built from. Each link opens the original.
- Officialskills.sh page skills.sh
- ReportingNotebookcheck: the article we sourced notebookcheck.net
Written with AI by the SI Agent News Desk from the reporting above. Every number is checked against it.Spot a mistake? Corrections.
