Sessionboxer

TrojanPony: fake "improved" Claude Code skills carry a Windows trojan. How to check your machine, and where to try a skill from a stranger

AIR Security found 487 public repositories serving fake coding-agent skills and plugins with a Windows stealer inside. How to check, and what to rotate.

Each Sessionboxer session runs in its own Docker container, isolated from the host and from each other

You saw a skill trending on GitHub. It was called "improved", it had a few hundred stars, and it did what the original did, a bit better. You installed it into Claude Code on your Windows laptop. If it was one of the copies AIR Security wrote about this week, it also installed a trojan that steals secrets.

On November 26, AIR Security published TrojanPony, research by Tal Levy, Shahar Levy and Ariel Shadkhan. They describe a campaign that has been publishing fake copies of popular coding-agent skills and plugins since July, and they counted 487 public repositories that carry the kit. This post sums up what they found, gives you a check to run, and then looks at where a skill you found on GitHub should run the first time. We make Sessionboxer, which runs each agent session in its own container; that part comes near the end.

What AIR found

Between July 26 and August 1, an account called 0xwilliamortiz published look-alikes of popular add-ons, among them ponytail-improved, agents-council and andrej-karpathy-skills. The account is gone now. Its forks are not: AIR counts 413 copies in throwaway accounts that still serve the same files.

Each fake works like the original, so nothing looks wrong. Next to the skill's own files it ships two more: a genuine, validly signed Notepad++ updater (GUP.exe) under a new name, and a malicious libcurl.dll. In AIR's example the pair sits here:

~/.claude/plugins/marketplaces/ponytail/skills/ponytail/
├── vibecodecalc.exe   # Notepad++ GUP.exe, validly signed, renamed
└── libcurl.dll        # the malicious loader

The skill's own code starts the exe. For ponytail-improved, the install step node ponytail.js -i runs it, and the plugin version's bin/install.js runs it elevated and hidden. For agents-council, council-job.js runs it on every council call. The signed updater loads the DLL from its own folder. The DLL adds Microsoft Defender exclusions, runs gpupdate /force, and drops a trojan that abuse.ch tracks as MopsStealer. It installs itself as C:\ProgramData\Windows\Microsoft\RuntimeBroker.exe, keeps itself alive through four scheduled tasks, and pulls more modules, including a stealer, from its command-and-control servers on TCP ports 406 and 408.

According to The Injection's summary of the research, the payload runs only on Windows.

Three details from the report are worth knowing before you trust the next popular skill:

  • On November 26, one of the malicious skills was still listed on skills.sh with three audits from independent scanners, and all three said PASS. None of the DLL builds had ever been submitted to VirusTotal.
  • Five of the attacker's repositories reached trending digests with 2,482 stars combined. AIR thinks the stars were bought.
  • In November the same kit showed up in fake AI desktop apps, a fake GTA VI "PC port", and 20 real developer repositories, one of them with 3,300 stars. The attacker pushed to those with one developer's stolen GitHub token and added a workflow that sends CI secrets to a Telegram chat.

The fake add-ons AIR lists are copies of ponytail, agents-council, openclaude, andrej-karpathy-skills, humanizer-cli, ratchet, FlashKDA, yoinks and a book-to-skill skill published as claude-code-skills. AIR says the originals are not affected.

Check your Windows machine

AIR's indicators come down to three things: a Notepad++ updater outside a Notepad++ folder with libcurl.dll next to it, the trojan's file, and its network traffic. These PowerShell lines look for the first two. We wrote them from the indicators in the report; they are not AIR's own script.

Get-ChildItem "$HOME\.claude", "$HOME\.agents" -Recurse -Include libcurl.dll, gup.xml -ErrorAction SilentlyContinue | Select-Object FullName
Test-Path C:\ProgramData\Windows\Microsoft\RuntimeBroker.exe

A hit in a skills or plugins folder is a strong sign. Also search any repository you cloned from one of the listed projects, since the kit can sit in a repo too. The real RuntimeBroker.exe lives in C:\Windows\System32, so a copy under C:\ProgramData\Windows\Microsoft is not Windows's own. The report's appendix has the rest: file hashes, the mutex Global\RuntimeBrokerAds, the scheduled task names and the C2 addresses for your network logs.

If you find it, AIR's advice is short. Reimage the machine; do not try to clean it. Rotate every credential it held, and do it from a different, clean device. Then read your GitHub security log for commits and workflows you did not make, because that is how this campaign spread from one developer to 20 repositories. Our post on keeping secrets away from your coding agent lists the usual credentials an agent's machine holds.

On macOS or Linux, this payload does not run. The fake skill is still a stranger's code in your agent's folder, so remove it anyway.

Why a skill is a good hiding place

Claude Code's skills documentation describes a skill as a SKILL.md file with instructions, and lets you add supporting files such as scripts. A plugin can bring more: Anthropic's plugin docs say a plugin adds skills, agents, hooks and MCP servers, and warn that it "can run hooks and MCP servers, so read the pane before you install."

So a skill folder is a place where people expect to find small programs, and those programs run as you. The SKILL.md that you would actually read can be identical to the original. The difference is a DLL you would not open. A scanner that reads the Markdown and the scripts can miss a loader that only does harm once a signed program picks it up, which fits what AIR saw on skills.sh.

Stars and trending lists do not help much either, if they can be bought. The only checks that hold up are boring ones: install from the original author's repository, look at what files are in the folder, and be suspicious of any binary in something that calls itself a prompt.

Where to try a skill you found on GitHub

In Sessionboxer, each session runs in its own Docker container. The agent runs inside it, without permission prompts, and a skill or plugin it installs lands in the box's home folder, not yours. If you want to try a skill from a stranger, you can start a session, ask the agent to install it, and watch what it does. Delete the session and the container goes with it.

For this kit, a Linux box would stop the payload, because a Windows exe does not run there. That has nothing to do with Sessionboxer. The next kit may bring a Linux build, and then what matters is what the box holds. A box has the code you cloned into it and the agent's provider login. While a GitHub entry is on for the session, the box is also logged in to GitHub, as the GitHub login chapter of the guide explains, so code in it could push to your repositories the way this attacker did. Keep a session for trying skills free of the GitHub entry and other logins it does not need. The box also has internet access, because the agent needs it, so a payload could still phone home.

Sessionboxer also has Windows sessions, where the agent runs inside a Windows VM as an administrator account. A TrojanPony skill installed in one of those would run. It would run in that session's VM, whose disk is a copy-on-write layer over the shared base disk, and provider logins reach the VM only while the agent starts. That limits what it finds. It does not make a Windows session a safe place to test Windows malware, and Windows sessions have no snapshots to roll back to. If you need to try an unknown skill, use a Linux session with no extra logins.

There is a way to write your own skills without downloading anyone's files. Sessionboxer's Procedures, in Global settings → Utilities, are skills you write or import as a SKILL.md. Each one is a name, a description and a Markdown body, and Sessionboxer writes it to ~/.claude/skills/<name>/SKILL.md in the sessions it applies to. No scripts or binaries come with it. The Utilities chapter covers how to add one.

What Sessionboxer does not do: it does not scan skills or plugins, it does not check where they came from, and it does not filter a box's outbound traffic. If you install a fake skill in a box with your GitHub login, you rotate that login just as you would on your laptop.

What to do today

If you use coding-agent skills or plugins on Windows, run the check above and compare your installed add-ons with the list in the report. If you installed any "improved" fork from July onward, treat the machine as compromised until you have checked it.

For new skills, install from the original author, read the file list before the SKILL.md, and try anything from a stranger in a box that holds nothing you would mind losing. The testmetest worm earlier this month used repository hooks instead of skills, and the same habit would have helped there.

Features mentioned

Keep reading