...

Fake Claude Code skills and plug-ins to steal passwords and GitHub credentials

Security researchers at AIR discovered a campaign called TrojanPony that has been distributing malicious copies of popular skills and plug-ins like Claude Code and coding agents since July. The fakes, which include names like ponytail-improved, agents-council, and andrej-karpathy-skills, function almost identically to the legitimate versions except for the hidden payload. The company said the original project was unaffected.

The graphic features the text Claude Skills and the Anthropic logo on a dark background.

When a user installs or executes one of these fake skills, it launches a renamed but authentically signed Notepad++ updater executable. The binary then loads the malicious libcurl.dll from the same directory. This DLL adds exclusions for Microsoft Defender and deploys a Trojan named MopsStealer. The malware disguises itself as RuntimeBroker.exe, creates persistence through scheduled tasks, persists across reboots, and downloads other modules, one of which steals credentials and other sensitive data.

A hooded man sits in front of a computer monitor showing lines of code.

Although the attacker’s original account has been deleted, malicious copies remain online. As of November 26, AIR counted 413 forks and 487 affected repositories, including some hijacks from legitimate developers and even fake PC ports of GTA VI.

As of November 29, one of the Fake Ponytail variants is still listed in the Skills.sh directory and contains installation commands and “PASS” results from scanners such as Gen Agent Trust Hub, Socket, and Snyk. Early research from Trail of Bits shows that such scanners can often be bypassed through relatively simple techniques.

Windows users who install any given skill from an unofficial copy rather than the original author’s repository are at risk. Warning signs include executable files such as gup.xml and libcurl.dll in directories such as ~/.claude/skills or ~/.claude/plugins, or RuntimeBroker.exe in C:\ProgramData\Windows\Microsoft (legitimate system files reside in System32). The Microsoft Defender alert for Trojan:Win64/DLLHijack.MK!MTB is another clear indicator.

Anyone who discovers these artifacts should reinstall Windows from a clean source and change all passwords and tokens used on the compromised computer from a separate, trusted installation, starting with GitHub credentials. Please check the GitHub security log for unauthorized activity. Going forward, only install skills from proven original repositories and double-check the included files before running them.

Source: AIR | Pictures (1), (2)

The post Fake Cloud Code Skill and Plug-in Steal Passwords and GitHub Credentials appeared first on Gizmochina.

Leave a Comment