DriftLock

TrojanPony: Fake Claude Code Skills Hide a Windows Trojan

Yes. The security research lab AIR found a live campaign it calls TrojanPony, spreading counterfeit copies of popular Claude Code skills — including fakes of ponytail and andrej-karpathy-skills — that install a genuinely signed Notepad++ updater to load a malicious libcurl.dll, disable parts of Microsoft Defender, and deploy a credential-stealing trojan called MopsStealer. As of November 26, 2026, AIR counted 413 forks and 487 affected repositories, and a fake listing was still live on skills.sh on November 29 with PASS marks from three separate scanning services.

What happened

AIR Security's research lab reported a campaign it named TrojanPony: counterfeit versions of popular Claude Code "skills" — add-on packages that extend what the coding agent can do — published to GitHub since July 2026 and still spreading as of late November. The fakes carry names almost identical to trusted originals, including ponytail-improved, agents-council, and andrej-karpathy-skills, and they behave almost exactly like the real thing. The difference is a hidden payload.

When someone installs or runs one of these skills, it launches a renamed copy of a legitimately signed Notepad++ updater executable. That updater loads a malicious libcurl.dll sitting in the same folder. The DLL adds exclusions to Microsoft Defender — quietly telling it to ignore what's about to happen — and then deploys a trojan AIR calls MopsStealer, built to steal credentials and spread further.

The original attacker account has since been deleted, but the damage is already distributed: AIR counted 413 forks and 487 affected repositories as of November 26, some of them hijacked from legitimate developers' accounts, one even disguised as a PC port of GTA VI. On November 29, a fake ponytail listing was still live on the skills.sh marketplace, complete with an install command, carrying PASS marks from three independent scanners: Gen Agent Trust Hub, Socket, and Snyk.

Why the scanner badges didn't help

This is the part that should concern anyone setting AI policy, not just developers. Three separate automated scanning services looked at the malicious skill and cleared it. The package's code is nearly identical to the legitimate original, and the payload hides behind a step — launching a signed third-party updater — that static analysis tools are not built to follow all the way through. A "PASS" from a marketplace's own vetting process is not proof that nothing bad runs on the machine that installs it.

That matters beyond engineering teams. Any employee who installs a browser extension, a Chrome AI add-on, or a plugin for an AI assistant is trusting the same kind of marketplace signal — and this campaign is a concrete case of that signal failing in public, for weeks, on a well-known skill name.

Indicators to check today

AIR published indicators of compromise that any IT or security team can look for right now, on Windows machines where Claude Code or similar coding agents are in use:

Signal What to look for
File location A Notepad++ updater executable with a libcurl.dll beside it, inside ~/.claude/skills, ~/.claude/plugins, or a cloned repo
Rogue process RuntimeBroker.exe running from a path outside the normal System32 location
Network Outbound traffic on TCP ports 406 and 408
Defender alert Trojan:Win64/DLLHijack.MK!MTB

If any of these turn up, AIR's guidance is direct: treat the machine as compromised. Reinstall Windows from a clean source rather than attempting to clean the infection in place, and change every password and token used on that machine from a separate, trusted device — starting with GitHub credentials, since that's the account most directly exposed. Review the GitHub security log for sign-ins or token activity you don't recognize. Going forward, install skills only from verified original repositories, and inspect the files a skill actually bundles before running it, rather than trusting the listing name or a scanner badge.

The broader problem for IT and security leaders

Coding agents like Claude Code are one surface among several where this pattern shows up — an employee adds an extension, a plugin, or a "skill" that looks like it comes from a trusted source, and it runs with the same access the employee has. The same dynamic applies to browser AI assistants, Chrome and Edge extensions, and plugins for tools like Cursor or VS Code. A marketplace's own trust badge is a useful signal, but TrojanPony shows it is not sufficient on its own, and most companies currently have no independent way to see what's actually installed and running across their fleet of laptops until something goes wrong.

That's the gap that matters here: not whether any one scanner missed this specific trojan, but whether your organization can see, across every machine, which AI assistants, skills, extensions and plugins are present right now — without relying solely on the marketplace that hosted them.

What DriftLock does and doesn't do

DriftLock runs locally on macOS and Windows and watches how AI assistants and coding agents behave on the machine — including Claude Code, GitHub Copilot CLI, Cursor, VS Code, Windsurf, Claude Desktop, and AI features in Chrome, Edge and Brave — with a Console that lets a company set policy across every laptop. It's built to flag the kind of behavior a hijacked skill or extension exhibits: an agent reaching for credentials, tokens, or system settings it has no reason to touch, or quietly expanding what it's allowed to do.

DriftLock does not scan GitHub repositories or skill marketplaces before you install something, and it does not replace antivirus or endpoint detection — it does not catch every trojan, and installing a malicious skill is still something a company has to train employees to avoid in the first place. What it adds is visibility and policy at the point where these tools actually run on company machines, which is exactly where TrojanPony's scanner badges stopped being useful.

DriftLock is available now: free for Mac, with an optional Pro plan. Windows and business accounts are on a waitlist.

What to take away

  • TrojanPony is a live campaign: counterfeit Claude Code skills, including fakes of ponytail and andrej-karpathy-skills, install a credential-stealing trojan via a signed Notepad++ updater and a malicious libcurl.dll.
  • As of November 26, AIR counted 413 forks and 487 affected repositories; a fake listing was still live on skills.sh on November 29 despite PASS marks from three scanners.
  • Check Windows machines for the IOCs above — a Notepad++ updater with libcurl.dll in skill or plugin folders, an out-of-place RuntimeBroker.exe, traffic on TCP ports 406/408, or the Defender alert Trojan:Win64/DLLHijack.MK!MTB.
  • If found, AIR recommends a clean Windows reinstall and changing passwords and tokens from a separate trusted device, starting with GitHub.
  • Marketplace scanner badges are a signal, not a guarantee — companies need their own visibility into what's actually installed and running on every laptop.

Download DriftLock

Sources

Related