Skip to content

TrojanPony campaign hides Windows malware in fake AI coding skills

Researchers at AIR Research report a campaign that published trojanized copies of popular AI coding-agent skills, which install a Windows stealer and spread malware through developer accounts. Analysts say the attack abuses trust in a signed Notepad++ updater.

3 min readBased on 1 source13 views

TL;DR

  • Attackers published modified copies of popular AI coding-agent skills and plugins that carry a Windows trojan, according to AIR Research.
  • The payload runs through a renamed, signed Notepad++ updater that loads a malicious libcurl.dll, and it disables Windows Defender protections.
  • Analysts say one stolen GitHub token was used to push the malware into 20 real repositories, so developer machines are now a supply chain risk.

What the campaign does

Security firm AIR Research named the campaign TrojanPony. It has been running since July and, according to the researchers, now spans more than 480 marketplaces and repositories. The attackers published "improved" versions of well-known coding-agent skills, including ponytail and andrej-karpathy-skills. As InfoWorld reports, these copies work as advertised, which helps them pass as legitimate. Public skill scanners still marked them safe.

When a fake skill is installed or run, it launches a renamed copy of the Notepad++ updater. That updater is signed, so Windows trusts it. The copy then loads a malicious libcurl.dll placed in the same folder, a technique called DLL side-loading. The library adds Windows Defender exclusions and drops MopsStealer, a trojan that pulls further malware, including a stealer, from its command-and-control server.

The researchers say the original account was removed, but 413 copies remain online. In November the operators moved on to AI-app lures, a fake Grand Theft Auto VI port, and trusted repositories that were changed with a stolen token. InfoWorld notes that Notepad++ itself was not breached.

Why the signature matters

Frank Dickson, principal analyst at Dickson Research, said the attack works because it borrows trust. As he put it, "The signature is real. The trust it buys is the weapon." Notepad++ users are not at risk from the attack itself, but anyone who finds that updater outside a Notepad++ install should treat it as suspicious.

Philip Harris, research director at IDC, compared the method to the xz Utils backdoor. In his words, TrojanPony "abuses trust in a well-known, widely distributed, signed binary to slip past defenses." He also warned that small open source teams often handle these components, which could make the impact worse.

Detection and the stolen token

According to the sources, the scanners checked the wrong thing. They read a skill's instructions, while the payload sat in a binary. Aman Mahapatra, chief strategy officer at Tribeca Softech, said three independent audits on skills.sh marked the malicious skill as PASS, and none of the DLL builds had been submitted to VirusTotal.

The attackers also tried to look popular. Mahapatra said the repositories likely had bought stars and appeared in trending digests, and an automated AI news channel promoted the skill within a day. The GTA VI lure gained 50 bot forks in seven minutes.

Noah Kenney, principal consultant at Digital 520, stressed that a developer laptop is not a normal endpoint, because it can publish code. AIR found that one stolen GitHub token was used to push the same malware into 20 real repositories. Once that happens, attackers can use the reputation of those projects and their maintainers.

Why it matters

For developers, agent skills and plugins now behave like executable dependencies. Mahapatra noted that they usually lack the lockfiles, provenance checks and review steps that teams built around npm and PyPI. A skill is often installed after a quick look at its README, which makes it an easy entry point.

For teams, the advice from the sources is concrete. Look for Notepad++ updater copies outside a Notepad++ installation, especially inside agent skill or plugin folders next to a libcurl.dll. If a machine ran a suspect skill, Dickson recommends reimaging it, rotating every credential it held from a clean device, starting with GitHub tokens, and reviewing the GitHub security log for commits and workflows that no team member made. Analysts also urged a stricter zero-trust approach on endpoints, not only on network traffic.

Sources

This article was written by Blozhik from the reporting below. Read the originals for full detail.

InTrojanized AI coding skills steal credentials and propagate malwareInfoWorld
Was this useful?

Keep reading

Discussion · 0

Sign in to join the discussion. Liking does not need an account.Sign inRegister
Loading comments…
blozhikDeveloper news from across the web, explained. Every story links to its original sources.