TrojanPony: What to do if you installed a fake AI plugin

TrojanPony: What to do if you installed a fake AI plugin

The TrojanPony campaign reached 487 public repositories with fake copies of plugins for AI agents, according to AIR Security. The malware could install MopsStealer on Windows; if you downloaded and ran one of these add-ons, AIR recommends isolating and reinstalling the computer, and changing your credentials from another secure device.

The copies imitated well-known tools, including Ponytail, and retained the original functionality alongside a malicious payload. The campaign also reached legitimate repositories using a stolen developer token. It is not known how many people were infected.

Who should check their computers

The priority is anyone who downloaded and ran a skill or plugin presented as a tool for an AI agent, if it came from the campaign’s fake repositories. The attack used an executable that imitated the Notepad++ updater and a modified DLL in the same folder. When run, it could alter Microsoft Defender exclusions and install MopsStealer.

AIR identified specific files alongside the suspicious executable and an unusual location for another process as indicators. It also cites a Microsoft Defender detection. The presence of one of these signs warrants attention; its absence does not, by itself, prove that the computer is clean.

IndicatorWhat to look for
Files alongside the suspicious executablegup.xml and libcurl.dll
Process in an unusual locationRuntimeBroker.exe in C:\ProgramData\Windows\Microsoft
Defender detectionTrojan:Win64/DLLHijack.MK!MTB

The name RuntimeBroker.exe may appear legitimate, but AIR specifically identifies its presence at that path as an indicator. The campaign also disguised MopsStealer under that name. Check the file’s location as well as its name.

What to do if you ran a suspicious plugin

  1. Disconnect the computer from the network. If you ran the plugin and suspect it was a malicious copy, AIR recommends isolating the device. Avoid using it to sign in or manage accounts while it is connected: the malware is designed to steal information and may download additional components.

  2. Check the indicators on Windows. Check whether gup.xml and libcurl.dll appear alongside the executable that raised your suspicions. Also check whether RuntimeBroker.exe exists in C:\ProgramData\Windows\Microsoft and whether Microsoft Defender detected Trojan:Win64/DLLHijack.MK!MTB. Do not run the plugin again to check its behavior.

  3. Change your credentials from another device. Use a computer you consider clean, not the potentially affected Windows machine. AIR recommends changing your credentials; pay particular attention to GitHub tokens, which may allow access to repositories. Do not use the suspicious computer for this task.

  4. Reinstall Windows if the malware ran. AIR advises isolating and rebuilding the computer; IlSoftware.it reports the recommendation to reinstall Windows when the malware has run. Deleting only the detected files does not provide sufficient assurance, so do not treat it as a substitute for this measure.

  5. Review related repositories. If you use GitHub and suspect a credential may have been exposed, pay attention to tokens and projects linked to the account. The campaign reached legitimate repositories using a stolen developer token, so the risk is not limited to people who installed a copy from a fake repository.

Mistakes that can leave you exposed

Do not rely solely on ratings or scanners. A malicious skill appeared on skills.sh with positive results from three security scanners. This case does not prove that all scans fail, but it does show that a favorable assessment was not enough to detect this copy.

Also, do not assume a tool is safe because it retains the original’s features or uses the name of a well-known project. TrojanPony’s copies imitated popular skills and could include a Windows payload without their apparent purpose revealing it.

Finally, do not just delete the files if you ran the plugin. AIR recommends isolating and reinstalling the affected machine, as well as changing credentials from a clean device. The campaign had reached 487 public repositories as of November 26, and 413 skill forks were still active, according to AIR.

Sources: IlSoftware.it, Digital Trends