Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseInsight · On RadarHabr AI→ original

MopsStealer Password-Stealing Trojan Hidden in 487 Repositories with Claude Code Skills

Skills for Claude Code are folders of scripts that teach the AI agent new tricks, and people download them from GitHub like plugins. AIR researchers found 487 repositories that distributed the MopsStealer trojan, which steals passwords on Windows, disguised as popular skills, while the copies still worked like the originals. One fake skill is still available on skills.sh despite passing three checks. Install skills the way you would install software: only from the author, and after a quick look at the files.

AI-processed from Habr AI; edited by Hamidun News
MopsStealer Password-Stealing Trojan Hidden in 487 Repositories with Claude Code Skills
Source: Habr AI. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceHabr AI ↗
Editor-in-Chief
Key metric #1413 forks of fake skills and 50 forks of a fake GTA VI port
Key metric #2A stolen developer token altered code in 20 legitimate repositories
Sign of infectionRuntimeBroker.exe in C:\ProgramData\Windows\Microsoft

Skills for Claude Code work like browser extensions: you download a folder of scripts and instructions, place it in ~/.claude/skills, and the AI assistant learns something new. That simplicity is convenient for attackers too. Security researchers at AIR described a campaign called TrojanPony, running on GitHub since July: across 487 public repositories, MopsStealer, a Windows trojan that persists on the system and steals passwords, tokens, and other credentials, was distributed under the guise of popular skills. The copies still do the work they promise, so users notice nothing.

How the trap works

The scheme is simple. Attackers take well-known skills, such as ponytail-improved, agents-council, and andrej-karpathy-skills, and publish copies of them. The useful functions are preserved in the fakes, so the skill works as advertised.

In parallel, an infection chain runs in the background. During installation or use, a renamed legitimate Notepad++ updater with a valid digital signature starts. Next to it sits a malicious DLL, and the program loads it on its own, assuming it is a normal component (the technique is called DLL side-loading). The executable's signature is genuine, so protection software does not raise an alarm right away. Next, MopsStealer loads. It disguises itself as the RuntimeBroker.exe process, persists through the task scheduler, survives reboots, and pulls in modules for stealing credentials.

The 487 repositories break down as follows: 413 forks of fake skills, 50 forks of a fake GTA VI port, 20 compromised developer repositories, three fake AI applications, and the fake game port itself. Five of the attacker's repositories even made it into GitHub trending lists and collected 2,482 stars in total. Deleting the original account did not solve the problem: the forks remained.

Hijacking real projects and weak checks

The most unpleasant part is not limited to the fakes. Using a stolen GitHub developer token, the attackers pushed malicious changes into 20 legitimate repositories, including learning-cmake with 3,300 stars. An attempt to reach CI secrets was also recorded, meaning the keys that automated builds use to access servers and cloud services.

There is a separate question for the skills.sh catalog. One of the malicious copies is still available there. Its install command is displayed, and the Gen Agent Trust Hub, Socket, and Snyk services assigned it a PASS status. But that status only means the scanner found no threats, not that the code is safe. In June, Trail of Bits showed that the built-in scanners on skills.sh can be fooled with standard techniques, often in less than an hour. A similar story recently involved a modified extension for Claude Code in Cursor and Postman, which was added to Claude Code without the user's knowledge.

The scale of actual infections is unknown: there is no data on the number of compromised machines or successful installations of the fake skills. Windows users who installed the listed skills from a third-party source rather than from the original author are at risk.

What to check and what to do

AIR lists several signs of infection:

  • an executable (.exe) file next to gup.xml and libcurl.dll, for example in ~/.claude/skills or ~/.claude/plugins;
  • a file named RuntimeBroker.exe in C:\ProgramData\Windows\Microsoft, even though the genuine one lives in System32;
  • a Defender warning about Trojan:Win64/DLLHijack.MK!MTB, which confirms infection.

If any of these turn up, treat the machine as compromised and clean the system, up to and including reinstalling Windows. Then, from a clean device, change every password and token that was stored on the infected machine or used on it. After that, check the GitHub security log for commits and workflows you did not create.

The practical lesson extends beyond this campaign. An agent skill is effectively executable code with access to your file system and tokens, so treat it like installing a program, not like downloading a template. Install skills only from the original author's repository, check whether the folder contains binaries, do not trust star counts or a PASS status, and keep developer tokens with minimal permissions and a limited lifetime.

Story

Key Questions Answered

How the trap works?

The scheme is simple. Attackers take well-known skills, such as ponytail-improved, agents-council, and andrej-karpathy-skills, and publish copies of them. The useful functions are preserved in the fakes, so the skill works as advertised. In parallel, an infection chain runs in the background. During installation or use, a renamed legitimate Notepad++ updater with a valid digital signature starts.

What are the key details on Hijacking real projects and weak checks?

The most unpleasant part is not limited to the fakes. Using a stolen GitHub developer token, the attackers pushed malicious changes into 20 legitimate repositories, including learning-cmake with 3,300 stars. An attempt to reach CI secrets was also recorded, meaning the keys that automated builds use to access servers and cloud services. There is a separate question for the skills.sh catalog. One of the malicious copies is still available there.

What to check and what to do?

AIR lists several signs of infection: an executable (.exe) file next to gup.xml and libcurl.dll, for example in ~/.claude/skills or ~/.claude/plugins; a file named RuntimeBroker.exe in C:\ProgramData\Windows\Microsoft, even though the genuine one lives in System32; a Defender warning about Trojan:Win64/DLLHijack.MK!MTB, which confirms infection. If any of these turn up, treat the machine as compromised and clean the system, up to and including reinstalling Windows.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Free · Waitlist · Hermes + DeepSeek

Free 2-Day Vibecoding & AI Agents Intensive

Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.

Join the waitlist →Nomad AI Workspace
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — MopsStealer Password-Stealing Trojan Hidden in 487 Repositories with Claude Code Skills https://news.hamidun.com/en/news/18809/mopsstealer-password-stealing-trojan-hidden-in-487-repositor

What do you think?
Loading comments…