A real campaign known as TrojanPony placed malware inside seemingly improved AI coding skills and plugins on hundreds of marketplaces and repositories. Developers who installed the tools could have credentials and code-publishing tokens stolen, allowing attackers to spread malware through trusted software repositories. The campaign also used fake popularity signals and trusted-looking signed software to make malicious downloads appear safe.
How the attack worked
TrojanPony is a campaign that published malicious, supposedly improved copies of popular AI coding-agent skills and plugins, including ponytail and andrej-karpathy-skills. These skills worked as expected on the surface but contained embedded malware. Once installed, a malicious skill used a renamed, legitimately signed Notepad++ updater alongside a malicious libcurl.dll file to load malware and add Windows Defender exclusions. The campaign stole developer credentials and code-publishing tokens, and one stolen GitHub token was reportedly used to push the malware into 20 legitimate repositories, turning trusted software supply chains into distribution channels for the attackers.
Why it succeeded
The campaign spanned more than 480 marketplaces and repositories, and public skill scanners marked the malicious content as safe. Attackers reinforced this false sense of safety by buying stars, securing trending placement, using automated promotion, and running a fake GTA VI port lure that drew a large number of bot forks within minutes. Developers who relied on scanner badges, star counts, or trending status as proxies for security had no reliable way to distinguish the trojanized skills from legitimate ones. Because AI coding skills look like simple documentation or configuration rather than executable software, many developers may not have scrutinized them the way they would a binary or script.
What to watch for
- Skills or plugins marketed as "improved" versions of popular tools, rather than coming from the original maintainer
- A scanner's safe or pass badge being treated as the sole reason to trust a download
- Repositories or skills with inflated popularity signals such as bought stars, sudden forks, or trending digest placement
- Hype-driven lures, such as unofficial game ports, used to drive rapid installs or forks
- Unexpected Windows Defender exclusions or renamed signed binaries bundled with a skill
How to build resistance
Developers, DevOps engineers, platform and AI engineering teams, open-source maintainers, and security operations staff should treat AI coding skills and plugins as executable software capable of accessing credentials and repositories, not as harmless text. Organizations should verify publishers directly rather than relying on marketplace popularity or scanner badges, and should build review steps into onboarding new skills. If an untrusted skill does run, teams should reimage the affected machine, rotate every credential it held from a clean device starting with GitHub tokens, and review the GitHub security log for commits or workflows nobody on the team made. Training should also specifically address distrust of artificial popularity signals and hype-driven lures tied to anticipated releases, since these were used to accelerate adoption of the trojanized skills across the developer community.
Key findings
- TrojanPony published malicious, supposedly improved copies of popular AI coding-agent skills and plugins, including ponytail and andrej-karpathy-skills.
- AIR Research reported that the campaign spanned more than 480 marketplaces and repositories, while public skill scanners marked malicious content as safe.
- The malicious skill used a renamed, legitimately signed Notepad++ updater alongside a malicious libcurl.dll file to load malware and add Windows Defender exclusions.
- The campaign stole developer credentials and tokens; one stolen GitHub token was reportedly used to push the malware into 20 legitimate repositories.
- Attackers boosted trust with bought stars, trending placement, automated promotion, and a fake GTA VI port lure.
Who’s being targeted
- Commonly targeted roles: Software Developers, DevOps Engineers, Platform Engineering Teams, AI Engineering Teams, Open-source Maintainers, Security Operations Teams, IT Endpoint Administrators.
- Affected industries: Software development, Technology, Open-source software, Organizations using AI coding assistants.
- Attack channels: website.
- Impersonated: A trusted AI coding-skill developer or popular open-source project, A GTA VI port or game-project repository.
Red flags to watch for
- The tool is promoted as an "improved" copy rather than coming from the original maintainer.
- A public scanner's PASS or safe badge is treated as the only reason to trust the download.
- Popularity indicators such as stars, forks, or trending placement are used as security signals.
- The repository relies on hype around a highly anticipated game release.
- A sudden burst of forks is presented as proof that the project is legitimate.
- The download is outside a verified publisher or official release channel.
Frequently asked questions
What is the TrojanPony campaign?
TrojanPony is a campaign that published supposedly improved copies of popular AI coding-agent skills and plugins, such as ponytail and andrej-karpathy-skills, with embedded malware across more than 480 marketplaces and repositories.
How did TrojanPony steal credentials and spread malware?
Installed skills used a renamed, legitimately signed Notepad++ updater alongside a malicious libcurl.dll file to load malware and add Windows Defender exclusions, then stole developer credentials and tokens, including one GitHub token reportedly used to push malware into 20 legitimate repositories.
Why did public safe badges and popularity signals fail to catch it?
Public skill scanners marked the malicious content as safe, and attackers boosted trust with bought stars, trending placement, automated promotion, and lures like a fake GTA VI port, making popularity indicators unreliable as security signals.
What should a developer do if they installed a malicious skill?
Awareness guidance from the campaign recommends reimaging the affected machine, rotating every credential it held from a clean device starting with GitHub tokens, and reviewing the GitHub security log for commits or workflows nobody on the team made.
Read the video transcript
That “improved” AI coding skill? It could be TrojanPony. Copies of ponytail and andrej-karpathy-skills appeared across 480-plus marketplaces and repositories. Some even had scanner PASS badges and trending stars. Here’s the catch: the skill runs code. A signed Notepad++ updater loaded a malicious libcurl.dll, stealing tokens. One GitHub token reportedly spread malware to 20 real repositories. A PASS badge isn’t a publisher check. Before installing any skill, verify its original maintainer.