<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/trojanpony-targets-ai-coding-tools-sends-malware-to-400-repos-smbdxfgvf" -->

---
title: 'TrojanPony' Targets AI Coding Tools, Sends Malware to...
description: A campaign called TrojanPony has pushed malware into 487 public GitHub repositories through trojanized AI coding-agent skills and plug-ins, AIR Security...
canonical: https://daily.dev/posts/trojanpony-targets-ai-coding-tools-sends-malware-to-400-repos-smbdxfgvf
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: 'TrojanPony' Targets AI Coding Tools, Sends Malware to 400+ Repos | daily.dev
og:description: A campaign called TrojanPony has pushed malware into 487 public GitHub repositories through trojanized AI coding-agent skills and plug-ins, AIR Security...
og:url: https://daily.dev/posts/trojanpony-targets-ai-coding-tools-sends-malware-to-400-repos-smbdxfgvf
og:image: https://api.daily.dev/og/posts/SMBdXfgvf.png
og:image:alt: 'TrojanPony' Targets AI Coding Tools, Sends Malware to 400+ Repos
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# 'TrojanPony' Targets AI Coding Tools, Sends Malware to 400+ Repos

**[Dark Reading](https://daily.dev/sources/dr)** · 5 min read · 0 upvotes · 0 comments

## Summary

A campaign called TrojanPony has pushed malware into 487 public GitHub repositories through trojanized AI coding-agent skills and plug-ins, AIR Security researchers report. The skills, including fake copies of ponytail-improved and andrej-karpathy-skills, largely worked as expected while carrying a Windows malware kit. Its payload, MopsStealer, steals sensitive information including credentials, and attackers use stolen GitHub tokens to compromise more repos and expose CI/CD secrets. As of Nov. 26, 413 malicious copies and forks were still available, and some passed public security scanners. Detectify's Rickard Carlsson advises treating skills like any other dependency: use a validated internal repository or mirror, and use an allowlist. Developers should also pin versions, review updates, and apply least privilege.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.darkreading.com/application-security/trojanpony-ai-coding-tools-malware-400-repos>

## Questions this post answers

### How does the TrojanPony campaign spread malware through AI coding agent skills?

Attackers distribute trojanized versions of popular coding-agent skills, such as fake copies of ponytail-improved and andrej-karpathy-skills, that still function normally while embedding a Windows malware kit. Installing one launches a renamed Notepad++ updater that sideloads a malicious libcurl.dll, which decrypts MopsStealer. It had reached 487 public GitHub repositories as of Nov. 26.

_Developers adding agent skills to their workflow follow supply chain threats like this on daily.dev._

### What does MopsStealer do once it infects a developer's machine?

MopsStealer is a Windows information stealer that disguises itself as RuntimeBroker.exe. It adds Microsoft Defender exclusions, creates scheduled tasks for persistence, bypasses UAC, and tampers with AMSI. It then downloads extra modules to steal credentials. Attackers also use stolen GitHub tokens to compromise repos and expose CI/CD secrets.

_Anyone responsible for protecting developer workstations can stay on top of stealer campaigns on daily.dev._

### How can teams protect developers from malicious AI coding skills and plug-ins?

Treat skills like any other dependency. Install them only from a validated internal repository or mirror, use an allowlist instead of public marketplaces, pin versions, and review code before approving updates. Don't rely on popularity or ratings, since stars on the malicious skills were likely bought. Apply least privilege so a compromised skill cannot reach credentials or production.

_Teams hardening their AI tooling policies keep up with new attack patterns on daily.dev._

## Similar posts on daily.dev

- [FakeGit malware campaign returns with 17,610 malicious GitHub repos](https://daily.dev/posts/fakegit-malware-campaign-returns-with-17-610-malicious-github-repos-m5lmz662i) · BleepingComputer · 1 upvotes · 0 comments
- [Attack targeting OpenAI Codex users exposes AI software supply chain risks](https://daily.dev/posts/attack-targeting-openai-codex-users-exposes-ai-software-supply-chain-risks-x1yygxvy1) · CSO Online · 1 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#github](https://daily.dev/tags/github), [#ai-coding](https://daily.dev/tags/ai-coding), [#malware](https://daily.dev/tags/malware)

[View this post on daily.dev](https://daily.dev/posts/trojanpony-targets-ai-coding-tools-sends-malware-to-400-repos-smbdxfgvf)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"'TrojanPony' Targets AI Coding Tools, Sends Malware to 400+ Repos","url":"https://daily.dev/posts/trojanpony-targets-ai-coding-tools-sends-malware-to-400-repos-smbdxfgvf","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/trojanpony-targets-ai-coding-tools-sends-malware-to-400-repos-smbdxfgvf"},"datePublished":"2026-11-30T16:16:09.456Z","dateModified":"2026-12-01T03:19:23.266Z","description":"A campaign called TrojanPony has pushed malware into 487 public GitHub repositories through trojanized AI coding-agent skills and plug-ins, AIR Security...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3c3219e169566d7d598780de6d83d8e7?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3c3219e169566d7d598780de6d83d8e7?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Dark Reading","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Dark Reading","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/dr","url":"https://daily.dev/sources/dr"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/trojanpony-targets-ai-coding-tools-sends-malware-to-400-repos-smbdxfgvf","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,github,ai-coding,malware","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Dark Reading","item":"https://daily.dev/sources/dr"},{"@type":"ListItem","position":3,"name":"'TrojanPony' Targets AI Coding Tools, Sends Malware to 400+ Repos"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/trojanpony-targets-ai-coding-tools-sends-malware-to-400-repos-smbdxfgvf#faq","mainEntity":[{"@type":"Question","name":"How does the TrojanPony campaign spread malware through AI coding agent skills?","acceptedAnswer":{"@type":"Answer","text":"Attackers distribute trojanized versions of popular coding-agent skills, such as fake copies of ponytail-improved and andrej-karpathy-skills, that still function normally while embedding a Windows malware kit. Installing one launches a renamed Notepad++ updater that sideloads a malicious libcurl.dll, which decrypts MopsStealer. It had reached 487 public GitHub repositories as of Nov. 26. Developers adding agent skills to their workflow follow supply chain threats like this on daily.dev."}},{"@type":"Question","name":"What does MopsStealer do once it infects a developer's machine?","acceptedAnswer":{"@type":"Answer","text":"MopsStealer is a Windows information stealer that disguises itself as RuntimeBroker.exe. It adds Microsoft Defender exclusions, creates scheduled tasks for persistence, bypasses UAC, and tampers with AMSI. It then downloads extra modules to steal credentials. Attackers also use stolen GitHub tokens to compromise repos and expose CI/CD secrets. Anyone responsible for protecting developer workstations can stay on top of stealer campaigns on daily.dev."}},{"@type":"Question","name":"How can teams protect developers from malicious AI coding skills and plug-ins?","acceptedAnswer":{"@type":"Answer","text":"Treat skills like any other dependency. Install them only from a validated internal repository or mirror, use an allowlist instead of public marketplaces, pin versions, and review code before approving updates. Don't rely on popularity or ratings, since stars on the malicious skills were likely bought. Apply least privilege so a compromised skill cannot reach credentials or production. Teams hardening their AI tooling policies keep up with new attack patterns on daily.dev."}}]}
```

