TrojanPony Malware Targets AI Coding Skills, Reaches 487 GitHub Repositories

Summary
AIR Security researchers say TrojanPony has reached 487 public GitHub repositories. Its malicious AI coding skills deploy a Windows credential stealer, while stolen GitHub tokens help spread malware and expose CI/CD secrets.
Key points
- AIR Security researchers reported that TrojanPony had reached 487 public repositories as of Nov. 26; 413 malicious skill copies and forks remained available.
- The campaign spreads trojanized AI coding skills and plug-ins, along with other lures, including a fake Grand Theft Auto VI PC port.
- The malware sideloads a malicious DLL that helps evade Microsoft Defender and decrypts and executes MopsStealer, a Windows information stealer.
- The malware also establishes persistence, bypasses UAC, tampers with AMSI, and can download additional modules.
- Attackers used stolen GitHub tokens to compromise repositories; researchers said one token was used to spread malware to 20 repositories and expose CI/CD secrets.
- The article recommends validating skills through internal repositories, reviewing and pinning versions, and limiting the credentials and access available to them.
Article Details
- Event Type
- Software supply chain attack using poisoned AI coding-agent skills and plug-ins to distribute malware.
- Impact
- AIR Security researchers reported that the campaign had reached 487 public GitHub repositories by Nov. 26, with 413 copies of malicious skills and forks still available. The malware, identified as MopsStealer, steals credentials and can download additional modules. The researchers said attackers used stolen GitHub tokens to compromise developer repositories and expose CI/CD secrets; they also reported that the campaign's delivery infrastructure remained active.
MITRE ATT&CK
T1053.005 · Scheduled TaskThe malware creates scheduled tasks to persist across reboots.T1105 · Ingress Tool TransferThe malware connects to attacker-controlled infrastructure to download additional modules.T1548.002 · Bypass User Account ControlThe malware bypasses Windows User Account Control.T1562.001 · Disable or Modify ToolsThe malicious DLL adds Microsoft Defender exclusions and tampers with AMSI to evade detection.T1574.002 · DLL Side-LoadingThe malware sideloads a malicious libcurl.dll through a renamed copy of the legitimate Notepad++ updater.
People
Malware
Products
GitHubrepositories via poisoned coding-agent skills and plug-ins. Infections so far have reached 487 public GitHub repositories, threatening the software supply chain.Microsoft Defender Antimalware PlatformNotepad++ updater. The executable then sideloads a malicious libcurl.dll, which adds exclusions to Microsoft Defender to help evade detection, according to the report. The DLL decrypts and executes MopsStealer, whichMicrosoft Windowsfrom AIR Security's Research Lab discovered the campaign, dubbed "TrojanPony," which spreads a Windows Trojan that steals credentials and helps propagate the attack across developer repositories, according toNotepad++or uses an infected AI coding skill, its malicious components launch a renamed copy of the legitimate Notepad++ updater. The executable then sideloads a malicious libcurl.dll, which adds exclusions to Microsoft
