A Claude Code skill from GitHub cannot be cleared as safe by trying it, by counting its stars or by reading a scanner result, because a malicious lookalike can pass all three. What you can check is where the copy came from and which files it carries, and on company laptops that check should sit with one named approver under a written rule.

In this article · 5 sections
The lookalikes in question come from a campaign AIR Security calls TrojanPony. AIR reported on 26 November 2026 that since July 2026 an attacker has published fake “improved” copies of popular coding-agent skills and plugins, and that the fake skills carry a Windows trojan that steals secrets and spreads itself further. AIR says the original skills are not affected.
The payload AIR describes runs on Windows, and its cleanup advice puts GitHub tokens first. So the rule below matters most where staff run coding or agent tools on Windows laptops that also hold company GitHub access, client systems or finance logins.
Why a test run, a star count and a scan all miss a lookalike
AIR’s description of the fake skills is blunt: “Apart from the payload, it works like the original.” A colleague who installs one and watches it do its job has learned nothing about which copy is on the machine, because the lookalike passes the same test.
Popularity was no better a guide. As of 26 November 2026, five of the attacker’s repositories had reached trending digests with 2,482 stars combined, and AIR’s assessment is that the stars were most likely bought.
AIR also found one of the fake skills still listed on skills.sh, as of 26 November 2026, with an install command and three security audits on its page. “All three say PASS.” In June 2026, after its own bypass tests against ClawHub’s detector, Cisco’s scanner and the skills.sh scanners, Trail of Bits concluded: “No amount of scanning or LLM analysis can reliably detect malicious content in agent skills.”
Scanners still earn their place. In Snyk‘s audit of 3,984 skills on ClawHub and skills.sh, published in February 2026, every confirmed malicious skill set off its malicious-code and suspicious-download detectors. Read together, the two findings make a scanner a filter: a flag is a reason to refuse, and a pass is no reason to approve.
Who approves a skill, and from which sources
Leaving the call to each person fails for a plain reason: every signal a person would use pointed the wrong way in this campaign. So the rule starts with where a skill may come from:
- the original author’s own repository;
- a plugin marketplace the company has chosen and allowlisted;
- an internal copy, meaning a repository the company owns that holds a reviewed version of the skill.
Forks and “improved” versions stay off the list by default. That one line covers the fake “improved” copies AIR describes, and those copies outlast the attacker’s account: AIR counted 413 copies still online after the original account was gone, as of 26 November 2026. Someone who wants an excluded fork can still ask. The approver then treats it as new code from an unknown author.
Then name the approver: one person, plus a stand-in for leave, who says yes or no to every new skill or plugin on a work machine. Trail of Bits’ advice to organisations is to “control who can introduce or update them”, and the update part matters. Anthropic’s install warning says it cannot verify that plugins “won’t change”, so a new version of an approved skill goes back through the same check as a first install.
The check before a skill reaches a work laptop
The approver runs these steps in order and stops at the first one that fails.
- Compare the copy with the original. AIR’s advice is to compare a copy with the original repository. Find the author’s own repository and compare the file lists and the main instructions file. Every file the copy has and the original lacks needs a reason the approver can state. If there is no original because the skill is new, read every file.
- Look for executables with no job there. AIR also advises checking for EXE or DLL files unrelated to the skill’s purpose. A skill that drafts commit messages has no use for a Windows binary. TrojanPony used both kinds: an exe started by the install step, and a loader DLL.
- Read every file that runs something. For a plugin, Anthropic’s plugin security page says to look at what it adds and where it comes from before you install it, and points to
hooks/hooks.json,.mcp.jsonand every file inbin/. For a skill, read any install step and every script its instructions tell the agent to run. In one fake skill AIR describes, the install step,node ponytail.js -i, runs the exe; AIR reports that another runs it on every call. Then open the skill’sallowed-tools. Anthropic’s skills page warns that a skill can grant itself broad tool access and says to review that field for skills checked into a repository before you run Claude Code there. - Run a scanner and treat it as a filter. A flag ends the request, or sends it back to step 3 with a narrower question. A pass changes nothing.
- Try it first where no company credentials are signed in. Run a new skill for a while on a machine or account that holds no client systems, finance logins or company GitHub access. This step cannot tell a lookalike from the original. What it does is keep a bad copy’s first run away from the credentials worth stealing.
- Record the decision. Write down the source, the version approved and the files read. An update to that skill starts again at step 1.
Here is that record for three requests at a hypothetical company. The numbers are illustrative, not from a client.
| Request | Source | Files in the copy | Files the original lacks | Unrelated EXE or DLL files | Files that run something | Decision |
|---|---|---|---|---|---|---|
| Code review skill | Original author’s repository | 5 | 0 | 0 | 1 | Approve after reading the script |
| “Improved” fork of a popular skill | Fork | 9 | 3 | 2 | 2 | Refuse at step 1 |
| Deployment helper | Internal copy | 4 | 0 | 0 | 2 | Approve after reading both scripts |
| Total | 3 requests | 18 | 3 | 2 | 5 | 2 approved, 1 refused |
Of the 18 files, the 3 the original lacks all sit in the fork, and 2 of them are executables a skill has no reason to carry. The approver found them by comparing file lists, before reading any code or running a scanner, and the two approved skills took 3 files of reading between them. Copy the table and replace the rows with your own requests.
What Claude Code’s own settings cover, and where they stop
Anthropic’s plugin security page is plain about the risk: “A Claude Code plugin you install can execute arbitrary code on your machine with your user privileges.” Its permission rules and sandbox “cover the tool calls Claude makes, not the code a plugin runs by itself”. Its install warning says Anthropic does not control what plugins contain, and the page tells users to review a plugin before installing it, whichever marketplace it comes from.
Where the company manages Claude Code, Anthropic’s plugin security page, checked on 4 December 2026, describes two controls that back up the rule. Managed settings can allowlist or blocklist marketplace sources. And if the organisation sets pluginTrustMessage, Claude Code appends that text to the install warning. Put the approver’s name in that message, so the warning tells staff who to ask.
AIR found the fake skills in public GitHub repositories and, as of 26 November 2026, one on skills.sh with its own install command. Anthropic documents the controls for marketplaces and does not say whether they reach a skill someone copies by hand into the skills folder. Treat that route as open until you have tested it on your own setup, and keep the human rule in force for it.
If a lookalike has already run
AIR describes a trojan that persists on the machine. Its loader adds Defender exclusions, and the trojan, MopsStealer, persists through four scheduled tasks. Given that persistence, deleting the skill folder would probably leave it in place. AIR’s remedy goes further: reimage the machine, then rotate every credential it held from a clean device, GitHub tokens first. AIR’s report covers Windows only.
Write the response down before you need it. Decide who declares a machine suspect and who reimages it. Keep a list, per work laptop, of the credentials signed in on it, so nobody has to reconstruct it from memory after the fact. Name the clean device the rotation runs from. And read the security log of every GitHub account the machine was signed into, because AIR says the trojan spreads itself further.




Leave a comment