TrojanPony: 487 Repos Hide Malware in Fake AI Skills

By 6 min read
TrojanPony malware campaign hiding the MopsStealer trojan inside fake improved AI coding-agent skills on GitHub

Somebody took the most popular add-ons for AI coding agents, made “improved” copies that work exactly like the originals, and slipped a Windows trojan inside. When the original account was deleted, 413 copies stayed online, and at least one still carried three green security badges.

In short: TrojanPony is a live malware campaign that hides the MopsStealer trojan in fake coding-agent skills and plugins on GitHub and skill marketplaces. AIR Security, which disclosed it on 26 November 2026, counted 487 public repositories carrying the kit.

What is TrojanPony?

TrojanPony is a supply chain campaign aimed at developers who extend coding agents with community skills and plugins. AIR Security researchers Tal Levy, Shahar Levy and Ariel Shadkhan published the analysis on 26 November 2026.

According to AIR, an account named 0xwilliamortiz published look-alikes of popular add-ons between 26 July and 1 August 2026. Each copy behaved like the real project, so nothing looked wrong after installation. The skill’s instruction text played no part: the payload was a bundled executable.

Skills are attractive bait because they install with one command into folders such as ~/.claude/skills, often on machines holding GitHub tokens and cloud credentials. We covered a similar trust problem on the web side in our breakdown of the Optimizely supply chain attack.

How big is the TrojanPony campaign?

AIR’s count, checked on 26 November 2026:

Carrier Repositories
Skill and plugin forks 413
Bot forks of a fake GTA VI “PC port” 50
Real developer repos pushed with a stolen token 20
AI-app lures (payload in releases) 3
Original GTA VI lure 1
Total 487
Bar chart splitting 487 TrojanPony repositories by carrier, led by 413 skill and plugin forks.
Skill and plugin forks make up 413 of the 487 repositories AIR counted on 26 November 2026.

The 413 skill forks break down as 125 ponytail-improved, 85 ratchet, 67 humanizer-cli, 48 andrej-karpathy-skills, 36 openclaude-improved, 35 agents-council, 13 FlashKDA, 3 yoinks and 1 claude-code-skills.

AIR says five of the repos reached trending digests with 2,482 stars between them, and that the stars were most likely bought. The GTA VI lure was forked by 50 bots in seven minutes.

Timeline

  • 26 July to 1 August 2026: fake add-ons, including ponytail-improved, agents-council and andrej-karpathy-skills, appear.
  • August: more ponytail-improved copies.
  • 8 and 13 November: AI-app lures (rightform, studsmith, PromptReel) ship versions 0.1.0 and 0.2.0.
  • 12 November: a stolen token belonging to developer Akagi201 is used to try to dump CI secrets.
  • 17 November: the kit is committed to 20 real repos, including the 3,300-star learning-cmake.
  • 24 November: the fake GTA VI port appears.
  • 26 November: AIR publishes its analysis.
Six-point timeline of the TrojanPony campaign from late July to AIR's 26 November analysis.
The campaign ran for four months before AIR published its analysis on 26 November 2026.

How does the infection work?

AIR describes four steps:

  1. A fake “improved” add-on trends on GitHub and works like the original.
  2. Installing or using it launches a bundled executable: Notepad++’s genuine, signed updater (GUP.exe) renamed, for example to vibecodecalc.exe. In ponytail-improved, AIR says the install script runs it elevated and hidden. In agents-council, it runs on every council call.
  3. The updater side-loads a malicious libcurl.dll from the same folder. The DLL runs hidden PowerShell commands that add Defender exclusions for temp and ProgramData paths, forces a group policy update, then decrypts and runs the trojan.
  4. The trojan, which abuse.ch tracks as MopsStealer, installs as C:\ProgramData\Windows\Microsoft\RuntimeBroker.exe, persists through four scheduled tasks, bypasses UAC, patches AMSI and pulls modules, including a stealer, from its command server.

AIR notes that only the DLL is malicious, and that November builds were padded to 8 to 16 MB to keep entropy low. None of the DLL builds had been submitted to VirusTotal as of 26 November. Microsoft Defender detects the loader as Trojan:Win64/DLLHijack.MK!MTB, per AIR.

Four-step flow from a fake add-on to a signed updater, DLL side-load and MopsStealer.
The malicious code sits in a DLL beside a signed updater, which is why skill scanners passed it (AIR Security).

One secondary write-up, MindPattern, says the trojan installs into ~/.claude/plugins. AIR’s own report gives the ProgramData path above, so this article follows AIR.

Why did security scanners miss TrojanPony?

As of 26 November, skills.sh still listed one of the fake skills with an install command and three audits from independent scanners. AIR’s summary of the result: “All three say PASS.”

The reason is structural. Skill scanners mostly read the instruction files and scripts for risky patterns. TrojanPony’s script calls a signed, legitimate binary, and the malicious code sits in a DLL the scanner never executes. MindPattern points out that Trail of Bits reported bypassing skills.sh’s integrated scanners in June 2026, so this is not a new blind spot.

The takeaway is simple: a pass badge is the absence of a finding, not proof of safety. Deleting the publishing account did not help either, because forks on throwaway accounts kept serving the kit.

Who is behind it?

AIR ties the campaign to the single account 0xwilliamortiz and to later pushes made with a token stolen from Akagi201. It makes no claim about a group or country, and neither do the other sources reviewed here.

How do you detect TrojanPony?

AIR publishes hashes, network and host indicators in an appendix to its report. Use the full list from the source rather than copying a partial set. The behaviours worth hunting for are:

  • A Notepad++ updater outside a Notepad++ install, especially inside an agent’s skills or plugins folder or a cloned repo, with libcurl.dll and gup.xml beside it.
  • A signed updater spawning hidden PowerShell that runs Add-MpPreference -ExclusionPath, followed by gpupdate /force.
  • RuntimeBroker.exe anywhere other than System32, and the mutex Global\RuntimeBrokerAds.
  • Outbound connections on TCP 406 or 408, and DNS lookups for duckdns.org fallback names. AIR lists the C2 host 145.63.134[.]94 and the domain mopsikimilie[.]cc, which also appears on abuse.ch.
  • Unexpected commits or new GitHub Actions workflows in your repos, and workflows that post secrets to Telegram.

What should defenders do?

  1. Inventory agent add-ons. List every skill and plugin installed on developer machines and compare each with its upstream source, not a fork with “improved” in the name.
  2. Reimage, do not clean. AIR’s advice for any machine that ran the kit is to reimage it.
  3. Rotate from a clean device. Rotate every credential the machine held, GitHub tokens first, then cloud keys and CI secrets.
  4. Audit GitHub. Check the security log for commits and workflows you did not make.
  5. Treat stars and badges as noise. Pin add-ons to known publishers and review bundled binaries before install.

AI coding agents widen this attack surface in other ways too. Our guide on detecting AI agent attacks covers the opposite direction, when the agent is the attacker.

The bottom line

TrojanPony shows that coding-agent skills are now a software supply chain, with the same weaknesses as npm or PyPI and fewer controls. A trojan rode inside working copies of popular add-ons for four months, survived the deletion of its author’s account and passed three scanners. Treat every skill you install as code you are running with your own credentials, because that is what it is.

Sources

This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.

Frequently asked questions

What is TrojanPony?

TrojanPony is the name AIR Security gave to a campaign that publishes trojanised look-alikes of popular AI coding-agent skills and plugins, such as ponytail, agents-council and andrej-karpathy-skills. The copies work like the originals but also install a Windows trojan.

Which fake skills are part of TrojanPony?

AIR lists trojanised versions of ponytail, ratchet, humanizer-cli, andrej-karpathy-skills, openclaude, agents-council, FlashKDA, yoinks and a claude-code-skills book-to-skill add-on. All were forked from the now-deleted account 0xwilliamortiz, and 413 forks were still online on 26 November 2026.

What does the TrojanPony malware do?

A signed Notepad++ updater loads a malicious libcurl.dll that adds Defender exclusions and drops MopsStealer. According to AIR, the trojan persists as a fake RuntimeBroker.exe in C:\ProgramData\Windows\Microsoft, patches AMSI, bypasses UAC and pulls further modules, including a stealer, from its command server.

How do I check if I installed a TrojanPony skill?

Look in your agent's skills and plugins folders for an executable next to gup.xml and libcurl.dll, check for RuntimeBroker.exe outside System32, and search logs for hidden Add-MpPreference exclusion commands followed by gpupdate. Outbound traffic on TCP ports 406 and 408 is another sign.

Do skill marketplace security scans catch TrojanPony?

Not reliably. AIR found one trojanised skill on skills.sh showing three independent security audits that all passed it. A passing scan means the scanner found nothing, not that the package is clean.

Keep reading

TrojanPonyMopsStealersupply chain attackAI coding agentsagent skillsGitHubincident response