Osegi
Security·2 min read

Fake Claude Code skills on GitHub install MopsStealer on Windows

A campaign called TrojanPony has pushed "improved" copies of popular Claude Code skills on GitHub since July. They work as advertised and steal passwords on the side.

A Windows laptop screen showing a security warning next to a code editor with a folder of Claude Code skills.
Image: عالم التقنية

If you grabbed a Claude Code skill from a GitHub copy that promised to be "improved", check your machine. Security firm AIR says a campaign it calls TrojanPony has been spreading fake versions of popular Claude Code skills and plugins since July, and they install a password stealer on Windows.

AIR published its report on 26 November. The fakes imitate well-known projects including ponytail-improved, agents-council and andrej-karpathy-skills. They behave like the originals, which is what makes them easy to miss. AIR says the genuine versions are not affected.

How the fake Claude Code skills infect Windows

Installing or running a fake skill launches an executable that is really a legitimate, correctly signed Notepad++ updater under another name. It loads a malicious libcurl.dll from the same folder. That DLL adds exclusions to Microsoft Defender and installs MopsStealer.

The stealer disguises itself as RuntimeBroker.exe, uses scheduled tasks to survive reboots, and downloads extra modules, one of which steals credentials.

The attacker's account has since been deleted, but the copies are still online. On 26 November AIR counted 413 forks and 487 affected repositories, including projects hijacked from real developers and a fake GTA VI port for PC. On 29 November the fake ponytail copy was still listed in the skills.sh directory with an install command and PASS results from Gen Agent Trust Hub, Socket and Snyk. A pass only means a scanner found nothing. In June, Trail of Bits researchers showed that the checks then built into skills.sh could usually be bypassed with common tricks in under an hour.

How to tell if you are infected

AIR lists these warning signs:

  • An .exe file sitting next to gup.xml and libcurl.dll, for example in ~/.claude/skills or ~/.claude/plugins.
  • A RuntimeBroker.exe in C:\ProgramData\Windows\Microsoft. The real one lives in System32.
  • A Defender alert named Trojan:Win64/DLLHijack.MK!MTB, which confirms an infection.

If you find any of these, AIR recommends reinstalling Windows. Then, from a clean device, change every password and token stored on or used from the infected machine, starting with GitHub tokens. Check your GitHub security log for commits or workflows you did not make.

The safer habit is to install skills from the author's own repository and read the files before running them.

Apps worth a look

SUMO: the number puzzle

Tap the right tiles, add them up, hit the target. Easy to learn, hard to master. Free, for all ages.

Tags:claude codetrojanponymopsstealergithubwindowsmalware

More from this day

See all →

More in: Security

See all →