Skip to content
by InfinyAI ES

IA en un minutoNewsSecurity

Security

Fake Claude Code skills plant a password stealer on Windows machines

IA en un minuto newsroom · Editor: Jon Elgezabal

In 30 seconds

AIR Security has uncovered TrojanPony, a campaign of doctored copies of popular coding-agent skills that slip the MopsStealer trojan onto Windows. GitHub still hosts 413 replicas of those copies, and the same malicious kit has spread to 487 public repositories, some of them legitimate ones that were hijacked. AIR tells anyone who ran a copy to reinstall the machine and change their passwords; the originals are clean.

Fake copies of skills, the instruction packages that extend what a coding agent can do, are carrying a Windows trojan. Security firm AIR Security described the scheme in a report dated 26 November and gave the campaign the name TrojanPony.

Starting in July, the attacker uploaded to GitHub so-called "improved" versions of well-known skills and add-ons, such as ponytail or andrej-karpathy-skills. Apart from the hidden payload, they behave just like the originals. The trap is sprung when they are installed or used: they start a genuine, signed Notepad++ updater under a different name, which loads a tampered libcurl.dll library sitting next to it. That library adds exclusions to the Defender antivirus and drops the MopsStealer trojan, which then fetches modules from its control server, one of them built to steal information. According to AIR, on 26 November one of these skills was still listed in the skills.sh directory with three independent security audits giving it a clean bill of health.

The account behind the copies no longer exists, but that same day AIR counted 413 replicas in throwaway accounts that were still handing out the malicious code. The original skills and add-ons are not affected. Five of the fake repositories made it onto GitHub trending lists with 2,482 stars between them, which AIR says were most likely bought.

The replicas are only one part of the campaign. In November the same kit turned up in fake AI desktop apps, in a supposed PC port of GTA VI and in 20 legitimate repositories belonging to a developer whose access credential had been stolen. All told, on 26 November AIR counted 487 public repositories carrying the malicious package.

For anyone who ran it, AIR's advice is to reinstall the machine, change every credential stored on it from a separate clean device and go through the GitHub security log for changes or automations they do not recognise. One telltale sign is an executable paired with a libcurl.dll file inside the skills or add-on folders of an agent, such as those of Claude Code, Anthropic's coding agent.

Why it matters · analysis and opinion

Skills have become an easy way to extend a coding agent, and that convenience is exactly what this campaign exploits. A package name no longer guarantees anything: a copy can carry the same name as the original, behave the same way and get through the automated checks of a public directory. The risk is higher than with an ordinary extension, because the machine an agent runs on usually holds the developer's credentials and GitHub access. For a small team, the practical step is to install only from the original author's repository, treat versions billed as improved with suspicion and look at the files each package brings before granting it permissions. Keeping a list of which add-ons each person uses also helps.

Official source: AIR Security · Written with the help of AI: how we make the news

AI in your inbox, every day or every Friday

The stories that matter, each one in a minute. With the source for every one.

Choose one or both:

Sign up and you are in: the daily arrives every night and the weekly on Friday mornings. You can unsubscribe from any email.