Fake AI Coding Skill on GitHub Fuels Massive TrojanPony Malware Campaign
Security researchers have uncovered a coordinated effort to distribute the credential‑stealing malware known as MopsStealer through a counterfeit AI coding‑skill repository on GitHub, marking one of the most extensive supply‑chain attacks of the year.
The operation, dubbed the TrojanPony campaign, leverages a seemingly legitimate Notepad++ updater that is digitally signed. When executed, the updater silently installs MopsStealer, a trojan designed to harvest developer usernames, passwords, and API tokens from compromised machines.
According to AIR Research Lab, the malicious code appears in 487 publicly accessible GitHub repositories. Each repository mimics a tutorial or tool that promises to enhance coding productivity with artificial‑intelligence assistance, enticing developers to clone or download the project.
Once a user runs the purported AI helper, the embedded updater checks for a valid Notepad++ signature—a trust signal that bypasses many security checks. The updater then drops the MopsStealer payload, which runs in the background, captures credential data, and exfiltrates it to command‑and‑control servers controlled by the attackers.
MopsStealer is not new; it has been linked to previous credential‑theft campaigns targeting developers and IT staff. TrojanPony represents a new delivery vector, exploiting the growing popularity of AI‑driven development tools and the trust developers place in open‑source platforms.
The breach poses a direct threat to software supply chains. Compromised credentials can grant attackers access to private repositories, continuous‑integration pipelines, and cloud services, potentially enabling further infiltration of downstream projects.
GitHub has responded by removing the identified repositories and issuing a security advisory urging users to verify the authenticity of any Notepad++ updates and to scan their systems for the MopsStealer binary. AIR Research Lab recommends employing multi‑factor authentication, regularly rotating secrets, and using endpoint detection tools that can flag unsigned or unexpected installers.
This incident underscores a broader trend where threat actors disguise malware as AI‑enhanced utilities, capitalizing on the hype surrounding machine‑learning assistants for code generation. Security experts warn that as AI tools become more embedded in development workflows, attackers will likely continue to weaponize them.
Analysts say the next steps will involve close monitoring of GitHub’s marketplace and a push for stricter verification of signed binaries. Meanwhile, developers are advised to stay vigilant, scrutinize the provenance of third‑party tools, and adopt a zero‑trust approach to software dependencies.
Comments (0)
Be the first to comment.
Join the discussion