---
id: 18809
lang: en
title: "MopsStealer Password-Stealing Trojan Hidden in 487 Repositories with Claude Code Skills"
published_at: "2026-12-01 10:25:46"
source_name: "Habr AI"
source_url: "https://habr.com/ru/articles/1114440/?utm_campaign=1114440&utm_source=habrahabr&utm_medium=rss"
canonical_url: "https://news.hamidun.com/en/news/18809"
categories: ["ethics", "autonomous"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

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

> **Краткая суть (BLUF):** 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.  • 413 forks of fake skills and 50 forks of a fake GTA VI port • A stolen developer token altered code in 20 legitimate repositories • Sign of infection: RuntimeBroker.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.

---
- **Первоисточник:** [Habr AI](https://habr.com/ru/articles/1114440/?utm_campaign=1114440&utm_source=habrahabr&utm_medium=rss)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/18809
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
