Fake AI coding-agent skills spread a Windows stealer to nearly 500 GitHub repositories
Researchers at AIR Security say a campaign they call TrojanPony published working but booby-trapped copies of popular AI coding-agent skills, infecting developers with the MopsStealer trojan. They count 487 affected public repositories, with hundreds of copies still online.

What happened
AIR Security's research team says it found a malware campaign, which it named TrojanPony, aimed at developers who add skills and plug-ins to AI coding assistants. Skills are small add-ons that teach a coding agent a workflow or ability.
According to Dark Reading and CSO Online, the attackers published "improved" copies of well-known skills that still did their advertised job, but carried a hidden Windows malware kit. By November 26 the researchers counted 487 affected public GitHub repositories.
How the infection works
When a developer installs or runs a poisoned skill, a renamed but genuinely signed Notepad++ updater starts and loads a malicious DLL placed beside it. That file turns off parts of Microsoft Defender and launches MopsStealer, which steals credentials and fetches more modules.
Analysts quoted by CSO Online stressed that Notepad++ itself was not breached; the attackers only borrowed its signed updater.
- One stolen GitHub token was used to push the malware into 20 real repositories of a single developer.
- The campaign later added fake AI desktop apps and a fake GTA VI PC port as lures.
- Some repositories had their star counts boosted, which the researchers believe were bought.
Why it matters
A developer's computer often holds keys to source code, cloud systems and build pipelines, so one infection can spread to an employer and its customers. The researchers also say some public skill scanners rated the malicious skills as safe, which shows how little vetting these new marketplaces get.
What defenders can do
- Treat agent skills like any other third-party dependency: use an approved internal source and an allowlist.
- Pin versions and review changes before accepting updates.
- Do not judge a skill by its star count or popularity alone.
- Rotate GitHub and cloud tokens on any machine that ran a suspect skill.
What is not known
The researchers have not said who is behind TrojanPony or how many developers actually installed the poisoned skills. The repository counts are AIR Security's own and have not been independently confirmed. It is also unclear how long the remaining copies will stay online after the original account was removed.