Trojanized AI Skills Target Developers

CSO Online · High sophistication
Last updated December 1, 2026

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.
Try Mirage

Mirage safely runs attacks like this one against your own team, so you find out what happens before a real adversary does.

Get a demo

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.

Categories

Similar attacks

Gootloader Turns Legal Searches Into Ransomware

Gootloader Turns Legal Searches Into Ransomware

Gootloader operators poisoned search results so legal professionals looking for contract clauses, legal definitions, or templates were led to compromised websites offering a matching document download. The downloaded ZIP file started an infection chain that could give ransomware groups access to…

November 20, 2026
Fake Legal Notices Hide Malware in VLC and VMware

Fake Legal Notices Hide Malware in VLC and VMware

Three real malware campaigns targeted people in Brazil and Portugal with fake legal notices, invoice pages, and finance-themed documents. Victims were directed to scripts, installers, or an ISO file that abused trusted VLC, VMware, and Microsoft utilities to load malicious code. The most useful…

October 27, 2026
Law Firm Hit by Phish Using Fake Python Runtime

Law Firm Hit by Phish Using Fake Python Runtime

Researchers say a law firm was targeted with a spear‑phishing email that led staff to download an encrypted archive containing a Windows shortcut labeled like legal case files. After the user ran it and approved admin rights, the malware told Microsoft Defender to ignore a folder and a fake…

August 3, 2026
North Korean Recruiter Ruse Targets Tech Talent

North Korean Recruiter Ruse Targets Tech Talent

The FBI attributed a record $6.43 billion Binance cryptocurrency theft to the North Korea-linked TraderTraitor group. The group has also targeted people in cybersecurity, AI, blockchain, and recruitment through fake recruiter personas and software-engineering job opportunities, aiming to persuade…

November 1, 2026
Poisoned AI Agent Files Target Developers

Poisoned AI Agent Files Target Developers

A real attack attempt used a malicious AGENTS.md file placed in a developer’s Downloads folder and disguised as normal engineering notes. When an AI coding assistant opened the folder, the file instructed the agent to install malware; related compromised GitHub repositories used hidden AI-assistant…

October 28, 2026
Fake AI Apps on GitHub Deliver Yoba Malware

Fake AI Apps on GitHub Deliver Yoba Malware

A real malware campaign called Yoba used fake GitHub projects advertising supposed ChatGPT and Claude desktop applications. Victims were lured by high-ranking Google results and download buttons, then ran ZIP-packaged installers that appeared legitimate but gave attackers control of the device. The…

October 27, 2026