How to Check Claude Code Skills Before You Install Them

How to Check Claude Code Skills Before You Install Them

December 1, 2026Faisal Mahmood7 min read

Claude Code skills are small packages that teach the coding agent new tricks, and they have become one of the fastest ways to extend what it can do. They are also, as of late November, a live malware channel. Cybersecurity firm AIR Security reported on 30 November a campaign dubbed TrojanPony, in which fake “improved” copies of popular AI coding-agent skills were distributed through GitHub repositories, carrying a Windows malware kit. The campaign had spread across 487 public GitHub repositories by 26 November, and the original attacker account was removed while the forks remain. If you install skills from GitHub, the check you run before installing matters more than any cleanup afterwards.

What TrojanPony is and how it spreads

TrojanPony works by copying something developers already trust. The attackers took popular skills, including ponytail and andrej-karpathy-skills, and published fake “improved” versions of them in GitHub repositories. A developer searching for a skill finds a copy that looks like the real thing, installs it, and the malware runs. The campaign reached 487 public GitHub repositories: 413 forks of malicious skills, 50 bot-created forks of a fake GTA VI PC port, 20 compromised developer repositories and 3 fake AI app listings.

The malware itself is called MopsStealer. Once it runs, it installs as RuntimeBroker.exe, a name chosen to blend in with a genuine Windows process, adds exclusions to Microsoft Defender so it is not caught, and uses scheduled tasks to keep itself running after a restart. It then steals passwords and tokens, which for a developer means credentials for GitHub, cloud accounts and package registries. It arrives through a renamed genuine Notepad++ updater, GUP.exe, which side-loads a malicious libcurl.dll. The updater is real software, which is what makes the trick work. A report on the campaign sets out the numbers and the infection chain, and you can read it in this Gadgets 360 report on the fake Claude Code skills.

Why scanner badges are not proof of safety

The most uncomfortable detail in the TrojanPony report is about trust signals. A fake skill listing on skills.sh showed PASS results from three scanners, Gen Agent Trust Hub, Socket and Snyk, even though it was malicious. A green badge only proves a skill passed whatever those scanners check, and the attackers built their package to pass exactly those checks.

Check 1: Verify the author and the source

Start with the person or organisation behind the skill, not the skill itself. A genuine skill usually traces back to a known author, a real project page, or an official listing. Open the GitHub profile of the account that published the repository. How old is the account? Does it have other repositories with real history and pull requests from other people? A new account with one repository and no history is a warning sign, even if the skill looks polished.

Check 2: Read the Claude Code skill files before you install

A Claude Code skill is a set of files, and you can read them before anything runs. A skill that only contains instructions, prompts and configuration is low risk by nature, because there is nothing to execute. A skill that ships executable files, install scripts, shell scripts, PowerShell scripts or compiled binaries is a different matter, and every one of those files deserves a look.

Open each script and read it, even if you only skim. Look for commands that download files from the internet, change system settings, modify security software, create scheduled tasks, or touch credential stores. A skill that needs to download a tool should say so clearly in its documentation, and the download should come from a known source. A script that reaches out to an unfamiliar domain is a reason to stop. Pay attention to any bundled executables or DLL files, since a skill has no normal reason to ship them. If you want a second check on what a skill might expose, our guide to checking Claude Code for leaked secrets covers the credential angle.

Check 3: Install in a sandbox first

Reading files catches a lot, but not everything, so the next check is to run the skill somewhere it cannot hurt you. If you have a virtual machine or a disposable container, install the skill there first and watch what it does. On Windows, check scheduled tasks and Defender exclusions directly. If a skill creates a scheduled task or adds a Defender exclusion, stop and investigate.

Check 4: Compare against the official listing

Where a skill has an official listing, use it as the reference, but do not trust the listing itself. Skills.sh and similar directories list skills with their authors and sources, yet the TrojanPony report shows that even a listing can carry a fake entry with passing scanner badges. Use the listing to find the skill, then verify the repository it points to using the author checks above.

What to do if you already installed a suspect skill

If you installed a skill from GitHub recently and something feels off, act quickly and assume the worst until you have evidence otherwise. First, disconnect the machine from the network to stop any further data leaving it. Then look for the indicators the researchers described: a RuntimeBroker.exe running from an unusual location, new scheduled tasks you did not create, and exclusions in Microsoft Defender you did not add.

Do not try to clean it by hand and carry on. The researchers advise isolating the machine, reimaging Windows, and rotating every credential from a clean device. A stealer that has had access to your stored passwords and tokens cannot be trusted to have left anything untouched, and removing the visible files does not prove the hidden ones are gone. Rotating credentials from the infected machine itself is also a mistake, because the malware may still be watching. Use a different, clean device, change every password and token the machine had access to, and revoke sessions where the service allows it. A second report on the campaign gives more detail on the infection chain, and you can read it in this Dark Reading report on TrojanPony.

Build a safer habit for installing skills

Prefer official channels where they exist. Claude Code has its own mechanisms for skills, and our guide to using Claude skills over MCP explains how skills plug into the agent through the Model Context Protocol. Skills that arrive through documented, official routes are easier to verify than a repository found through search. If you use Claude Code’s code mode, our guide to using Claude Code in code mode covers the workflow the skill will operate inside.

Keep the number of skills small. Every skill you install is a dependency you now own. A short list of verified skills is safer than a long list of interesting ones. The same caution applies beyond Claude Code, so apply the same checks to every agent you use. Our guide to checking Claude Code for leaked secrets is a useful companion here, because a leaked token and a stolen token end in the same place. And if you collaborate in shared workspaces, our guide to planning with Claude whiteboards shows how the same care applies there.

FAQs

What is TrojanPony?

TrojanPony is a malware campaign reported on 30 November by cybersecurity firm AIR Security. Fake “improved” copies of popular AI coding-agent skills were distributed through GitHub repositories. By 26 November the campaign had spread across 487 public GitHub repositories.

How does MopsStealer infect a Windows machine?

It arrives through a renamed genuine Notepad++ updater, GUP.exe, which side-loads a malicious libcurl.dll. Once running, it installs as RuntimeBroker.exe, adds exclusions to Microsoft Defender, uses scheduled tasks to stay persistent, and steals passwords and tokens from the machine.

Are scanner badges enough to trust a skill?

No. A fake skill listing showed PASS results from three scanners, Gen Agent Trust Hub, Socket and Snyk, even though it was malicious. Treat a scanner pass as one weak signal, and verify the author, read the skill files, and test in a sandbox before installing.

What should I do if I installed a malicious skill?

Isolate the machine from the network, then reimage Windows and rotate every credential from a clean device. Do not try to clean it by hand, and do not rotate credentials from the infected machine, because the malware may still be active.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top