AIR Security uncovers malware in AI coding add-ons that passed three scanners
TrojanPony paired working plugins with a malicious Windows payload. Hundreds of copies remained, but the number of infected users is unknown.
Loading page…
TrojanPony paired working plugins with a malicious Windows payload. Hundreds of copies remained, but the number of infected users is unknown.
Listen to this story
AIR Security traced TrojanPony, active since July, to AI coding add-ons that retained their advertised features while hiding Windows malware in bundled executables. The campaign used a genuine signed Notepad++ updater to sideload a malicious library, install MopsStealer and retrieve further malware; Notepad++ itself was not compromised. Three skills.sh scanners passed a malicious listing, underscoring that checks of written instructions may miss executable payloads. The number of infected machines is unknown, so developers should treat surviving copies and compromised publishing access as risks to investigate.
AIR counted 487 public repositories linked to the operation as of November 26, including 413 surviving skill forks; these figures measure distribution, not infections.
A stolen GitHub token was used to push the malware into 20 legitimate repositories, extending distribution beyond attacker-created copies.
Five associated repositories received 2,482 stars, but AIR suspected some were purchased; that suspicion was not confirmed.
AIR Security has uncovered TrojanPony, a campaign distributing malware through AI coding add-ons, including a skill that passed three security scanners on skills.sh. The altered tools kept their expected features while carrying a Windows payload capable of installing information-stealing malware.
Operating since July, the campaign offered supposedly improved versions of popular coding-agent skills and plugins, including ponytail and andrej-karpathy-skills. These were not simply broken imitations: they preserved the originals’ functionality while adding malware. That combination let the add-on perform its advertised job and carry a separate, harmful payload in the same package.
The Windows attack used a renamed copy of Notepad++’s genuine, digitally signed updater. Attackers placed it beside a malicious file named libcurl.dll. When certain affected plugins ran, the updater could load that neighboring file. The technique, called DLL sideloading, makes a legitimate program load an attacker’s library—a file containing code the program uses.
The malicious library added exclusions to Microsoft Defender and installed a trojan called MopsStealer. That trojan could then retrieve additional malware from an attacker-controlled server, including components designed to steal sensitive information. The signed program was therefore the entry point for loading malicious code, rather than evidence that the whole package was safe.
Notepad++ itself was not breached. The campaign borrowed its updater; it did not compromise the editor’s code. Frank Dickson, principal analyst at Dickson Research, told CSO that Notepad++ users were not at risk from this attack merely by using Notepad++.
The signature is real. The trust it buys is the weapon.
Frank Dickson, principal analyst at Dickson Research, speaking to CSO
The original attacker account has disappeared, but researchers found 413 surviving skill forks—copies of the repositories. AIR put the broader operation’s reach at 487 public repositories as of November 26. Those figures measure distribution, not successful infections: the number of users whose machines were actually infected remains unknown.
Some repositories also gained visible signs of popularity. Five associated with the attackers appeared in GitHub trending digests and collected 2,482 stars between them. AIR suspected many of those stars were purchased. That suspicion is not a confirmed accounting of fake engagement, but it qualifies the apparent popularity surrounding the malicious tools.
The scanner failure involved a distinction between the add-on’s written instructions and its bundled executable files. Aman Mahapatra, chief strategy officer at consulting firm Tribeca Softech, told CSO that scanners examined the skill’s instructions while the payload sat in a binary. Three audits marked the malicious skill as passing, he said.
Earlier testing had already exposed weaknesses in those checks: Trail of Bits demonstrated in June that all three scanners integrated into skills.sh could be fooled. TrojanPony’s malicious listing subsequently received passing results from all three.
Distribution also extended beyond attacker-created copies. AIR found that one stolen GitHub token—an access credential—was used to push the same malware into 20 legitimate repositories. That gave the campaign another route into projects: compromising an account’s publishing access, rather than persuading every developer to choose an unfamiliar imitation.
Dickson recommended looking for the updater in unexpected locations and reviewing signs that a developer account had been used to spread the infection. His suggested indicators included:
For anyone who ran a malicious plugin, AIR advises isolating the Windows machine, reimaging it and changing credentials from a clean device. Dickson likewise recommends rotating every credential the machine held, starting with GitHub tokens.
Loading discussion...
Join the conversation
Explain how much responsibility marketplaces should take before developers install an add-on.
Be the first to share a perspective or an experience.
Reader comments
Newest comments first. Replies stay oldest first.