Skip to content

TrojanPony: fake “improved” agent skills carried a Windows trojan

Researchers say fake “improved” copies of popular agent skills and plugins have installed a Windows trojan since July 2026. What Air Security and StepSecurity report, how to check a Windows machine, and what to do now.

6 min read
When
Since July 2026; disclosed Nov 26
Component
Fake “improved” copies of popular agent skills and plugins, such as ponytail and andrej-karpathy-skills, per Air Security
What was hit
Windows machines that installed or ran one: Air says a trojan is installed that steals secrets
Outcome
StepSecurity says the publishing account is deleted; as of Dec 2 it says all 500 known forks were still on GitHub
Fix
None for installed copies: isolate, reimage and rotate credentials, per both researchers

On November 26, 2026, researchers at Air Security disclosed TrojanPony, a campaign that, they say, has used fake “improved” copies of popular agent skills and plugins to install a Windows trojan since July. They say the fakes keep the real name, work like the original, and carry a bundled program that starts the malware. On December 2, StepSecurity published a follow-up that checked what was still online six days later. Air Security’s disclosure · StepSecurity’s follow-up

Status: Developing. Last checked Dec 3, 2026. As of Dec 2, StepSecurity says all 500 known forks of the fake skills were still on GitHub, and 499 still carried the malicious files. StepSecurity says the account that published the originals is deleted. We update this page as the researchers do.

  1. Jul 20

    Damage: StepSecurity dates the first malicious upload to this day.

  2. Aug 19

    Event: A user warns on the real ponytail repository about the fake copy.

  3. Oct 5

    Fixed or contained: The ponytail maintainer says the fake’s repository and account are gone and names the official install sources.

  4. Nov 12 to 18

    Damage: The researchers say a stolen developer token was used to push the kit to 20 repositories.

  5. Nov 26

    Event: Air Security discloses TrojanPony.

  6. Nov 28

    Fixed or contained: StepSecurity says the developer’s account removed most of the malicious commits.

  7. Dec 2

    Damage: StepSecurity says all 500 known forks and 12 skills.sh listings were still online.

What happened

The fakes. Air Security says that between July 26 and August 1, an account named 0xwilliamortiz published look-alikes of popular add-ons. StepSecurity dates the first malicious upload to July 20. Air names these copies: ponytail, agents-council, openclaude, andrej-karpathy-skills, humanizer-cli, ratchet, FlashKDA, yoinks and a book-to-skill skill. It says the originals are not affected. StepSecurity adds one that Air does not list, taste-skill, which it found on the skills.sh directory. It says it could not check what that skill’s executable is.

How they work. Air says each fake ships the same three files: a signed Notepad++ updater program, renamed, its stock gup.xml settings file, and a malicious libcurl.dll. It says only the DLL is malicious. When the updater starts, Windows loads that DLL from the same folder. Air says the DLL then adds Microsoft Defender exclusions and installs a trojan that it calls MopsStealer, the name the abuse.ch tracker uses for the family. Air says the trojan steals secrets and pulls further modules from a server the attacker runs. StepSecurity says the fakes differ only in what starts the program: an install step, a launcher script that runs on every use, or a line in the README. Air Security’s disclosure

Where it lands. Air shows the files in the Claude Code plugin folder, ~/.claude/plugins, and lists that folder and the skills folder as places to look. The issue on the real ponytail repository says the fake ponytail copy was handed out as a Claude Code plugin marketplace. StepSecurity says to check the .claude and .agents folders. ponytail issue #735

Listings that passed scans. Air says that on November 26 the fake ponytail copy was still listed on skills.sh with an install command and three passing audits from independent scanners. StepSecurity says that on December 2 the directory still listed 12 skills from 7 of the deleted account’s repositories, and that failing an audit did not remove a listing.

The same kit, other lures. Air says the kit moved in November to AI desktop apps, a fake game port, and real repositories pushed to with a stolen token. One lure was a developer whose GitHub token was stolen, and who was a victim: Air and StepSecurity both say the attacker used the stolen token. Air says the attacker tried to dump CI secrets in an organization the developer maintains on November 12 and committed the kit to 20 repositories on November 17. StepSecurity counts 9 of those repositories under the developer’s own account and 11 in repositories they maintain, pushed to between November 12 and 18. It says the developer’s account removed most of the malicious commits on November 28. StepSecurity’s follow-up

What did not work. StepSecurity says a workflow the attacker added to send secrets to Telegram failed within a second in both repositories where it ran, before anything was sent. It says three build hooks the attacker committed on November 17 do not work either, and that a fourth, a setup script, would start the program only for someone who ran it on Windows.

The maintainer’s warning. On August 19, a user opened an issue on the real ponytail repository warning about the fake copy. In that case, the issue says, Microsoft Defender quarantined the DLL before it ran. On October 5 (UTC), the maintainer said the repository and account were gone, added a line to the README naming the only official install sources, and closed the issue. ponytail README, official sources

Who is affected

  • Anyone who installed or ran one of the fake skills, plugins or apps on a Windows machine. Both reports describe a Windows trojan. They do not report any effect on other systems.
  • Anyone who installed from a fork, not only from the deleted account. StepSecurity says the forks other accounts made of its repositories still carry the malicious files.
  • Anyone who built or ran code from the 20 repositories the attacker pushed to with the stolen token, while the commits were live (StepSecurity says the commits were removed from most of them on November 28).
  • Maintainers whose tokens could push to a repository. The attacker used a stolen token to add workflows and releases.

How many forks are out there depends on who counts. Air counted 413 skill forks on November 26 and 487 public repositories carrying the kit. StepSecurity says an independent census listed 500 forks on November 30, and that it checked them on December 2 and found they belong to 339 accounts.

How to check if you were hit

This check is for Windows. The commands below are our own read-only versions, based on the indicators Air Security and StepSecurity list. They only list files and tasks. Run them in PowerShell. Do not run anything you find.

  1. Look for an executable beside gup.xml and libcurl.dll in the agent folders. Air lists 17 different executable names and StepSecurity found six names across the forks, so look at the folder, not the name.
Get-ChildItem "$env:USERPROFILE\.claude", "$env:USERPROFILE\.agents" -Recurse -Filter gup.xml -ErrorAction SilentlyContinue |
  Where-Object { Test-Path (Join-Path $_.DirectoryName "libcurl.dll") } |
  Select-Object DirectoryName
  1. Look for the trojan’s install path. Air says the real RuntimeBroker lives in System32, not here.
Test-Path "C:\ProgramData\Windows\Microsoft\RuntimeBroker.exe"
  1. Look for the scheduled tasks the researchers list: SvcRestartTaskWindowsLogins, ProgramDataUpdate, ScheduledDef and MicrosoftUpdaterMachineCore.
Get-ScheduledTask -ErrorAction SilentlyContinue |
  Where-Object { $_.TaskName -in "SvcRestartTaskWindowsLogins","ProgramDataUpdate","ScheduledDef","MicrosoftUpdaterMachineCore" } |
  Select-Object TaskPath, TaskName
  1. Look at Microsoft Defender’s history for a detection named Trojan:Win64/DLLHijack.MK!MTB, the name Air and the ponytail issue give.
Get-MpThreatDetection | Where-Object { $_.Resources -match "libcurl" }

StepSecurity says the install path, one of the tasks or a Defender detection means the kit ran. It says kit files alone mean it was installed, and that in most of these fakes installing or using the skill starts the program, so treat that as a compromise too. The ponytail issue is a case where Defender stopped the DLL before it ran. It is one case.

If you maintain repositories, StepSecurity says to look for workflows that post to Telegram or print secrets in encoded form, and for the kit’s files in the history. It also says to read your organization’s audit log for pushes, releases, workflow changes, manually started workflow runs and tag deletions you did not make. A workflow added and deleted within seconds leaves nothing on the branch, but the commits stay in the event feed.

What to do now

  1. If any check above matches, isolate the machine and reimage it. Air Security and StepSecurity both say this.
  2. Rotate every credential that was used on that machine, from a different, clean device. Both reports say to start with GitHub tokens. Then check your GitHub security log for commits or workflows you did not make.
  3. Install skills and plugins only from the original author’s account. Check the account named in the install command, not the skill’s name. The ponytail README names DietrichGebert/ponytail on GitHub and @dietrichgebert/ponytail on npm as the only official sources.
  4. Remove a fake you already installed from both the marketplace and cache folders, then check again. The ponytail issue lists the steps for that plugin.
  5. Do not trust a passing badge on a directory. StepSecurity says the passing ponytail audits on skills.sh are from August and none of them mentions the DLL.
  6. As of December 2, StepSecurity says skills.sh install commands for the deleted account fail. It warns that if someone registers the same username and recreates the repository names, those commands would install whatever that account publishes. Do not run them.

What we don’t know yet

  • How many people installed the fakes. Neither report gives a total. StepSecurity says the 12 skills.sh listings showed 140 recorded installs on December 2, but that figure covers only installs made with the skills.sh tool, and 105 of the 140 are for one skill (design-taste) that StepSecurity says it has no evidence carried an executable.
  • Whether GitHub will remove the forks. As of Dec 2, StepSecurity says all 500 were still up.
  • Whether skills.sh will remove the listings. As of Dec 2, StepSecurity says 12 were still listed.
  • How much the trojan took from the machines it reached. The reports describe what it does, not who was hit.
  • Who is behind it. Neither report attributes the campaign to a person. StepSecurity says it does not treat the clues it found as attribution.

Checked Dec 3: github.com/0xwilliamortiz returns an HTTP 404 (not found), which fits the reports that the account is deleted.

How to stop it next time

  • Every install command

    Install from the author

    Check the account in the command, not the skill’s name. A fake keeps the real name.

    How →
  • Skill and plugin review

    Executables are binaries

    A skill that ships an .exe or .dll gets reviewed like a binary package, not like text.

  • Device management

    A list of what is installed

    Know which skills and plugins each machine has, and where each came from.

    How →
  • GitHub tokens and registries

    Limit workflow tokens

    Few tokens can change workflows, and registry publishing uses trusted publishing instead of stored tokens.

    How →

Treat a skill that ships an executable as a binary package. StepSecurity says an executable with a libcurl.dll beside it, in a folder that a script starts, is the pattern to look for. The ponytail README says the real project never ships .exe or .dll files. AI agent policy template · MCP server security

Keep a list of the skills, plugins and servers on each machine, and where each came from. This is how you find the machines that installed a fake in minutes. Audit your MCP servers and permissions

Limit which tokens can change workflows, and keep registry tokens out of reach. StepSecurity says pushing a workflow file needs a specific permission, so do not give it to tokens that do not need it, and require review for workflow changes. It says the PyPI, npm and crates.io registries support trusted publishing, which needs no stored token. AI agent security

Update log

  • Dec 3, 2026: First published. Status: Developing. As of Dec 2, StepSecurity says all 500 known forks and 12 skills.sh listings were still online.

Sources

Related guides

View all