News

TrojanPony on Windows: What to Do After Installing a Suspicious Add-On

By Lapain Epuran10 min read

TrojanPony hid Windows malware in copies of add-ons that developers already use with coding assistants, including versions advertised as improvements.

If you installed an unverified copy, protect your developer accounts from a different computer before you try to scan or rebuild the affected one.

Chart of AIR Security's November 26 count of 487 public repositories and what that number does not measure

Overview

A working skill was not proof of a safe install

AIR Security’s investigation traced malicious copies of coding-agent add-ons back to July 2026 and described newer examples in November.

The copies borrowed familiar project names and could preserve recognizable features alongside a Windows credential stealer.

The report identified copies posing as add-ons such as ponytail and andrej-karpathy-skills, rather than blaming the genuine publishers.

That distinction matters when you check whether your installed copy matches a source you intended to trust.

The reported count was about repositories, not victims

AIR counted 487 public repositories carrying the kit in its November 26 snapshot, including forks and later lures.

The researchers did not report 487 infected computers, and a count taken that day cannot establish what is still online.

The researchers also found a case involving changes pushed to a trusted repository with stolen access, which broadens the review.

An organization should check the version that was installed, not just whether the repository name appears familiar.

Removing the add-on does not protect a stolen account

The Windows stealer could put saved credentials and access tokens at risk, even if the add-on did not change your project files.

Removing one folder does not revoke a token or undo an unauthorized change already made elsewhere.

These are the most useful distinctions when you explain the incident to your team or decide what to do next:

  • Reading a listing does not mean you installed its add-on or gave access to the files on your computer.
  • Installing a copy is a reason to check its origin, version, and whether your coding tool actually used it.
  • Running a known malicious copy calls for device containment and account recovery as separate pieces of the response.
  • A team must check repository and release activity when the affected account could publish changes other people receive.

How TrojanPony reached developers

Step 1: Familiar project names made the copies easy to mistake

A useful add-on might shorten or standardize part of your work, so it is natural to look for an improved fork.

AIR found copies that kept the appeal of familiar add-ons while arriving from a different owner.

The safest point to stop is before installing anything: trace the download back to the maintainer’s own documentation.

Look for the exact owner and release, rather than picking a result whose name looks closest to your search.

Step 2: The installed add-on could still do the advertised job

Someone using a copied skill might see the right output and reasonably assume the installation went as planned.

In the examples AIR studied, legitimate-looking behavior did not rule out additional software running on the same computer.

The researchers also found listings that showed automated security checks had passed despite the problematic material they later examined.

Treat those badges as one piece of information, not as permission to install from an owner you cannot verify.

Step 3: One developer’s access could affect the next installation

A developer often has permission to push code, change workflows, or release a package without much delay.

A stolen token can potentially carry some of those permissions, depending on how much access its owner granted it.

That makes repository review part of recovery when the affected account had write access, not an optional check for later.

The same applies to a release or workflow that could pass changes to downstream users and teammates.

An account that only reads repositories still deserves attention if it could open private code or customer files.

Tell the owner what it could read, even when it did not have permission to publish a release.

What to do if you installed a suspicious coding add-on

TrojanPony recovery chart showing separate checks for the Windows computer, credentials, and published work
  1. Take a computer that ran the add-on offline and preserve the install details for the person handling recovery.
  2. Use a different device to revoke exposed access and ask repository owners to check changes other people could receive.

Step 1: Isolate the computer and preserve the install details

If you know the malicious copy ran, disconnect the computer from the network and stop using it for sensitive work.

On a company device, tell your security team first and wait for its instructions before removing files or rebooting.

Send the team the repository owner, name, release or commit if known, and approximate time the add-on was installed.

Mention the projects and services you had open that day without sending active tokens, passwords, or other secrets.

If the suspect item is still in a download folder, do not open it just to confirm the version.

An install record, package manifest, or retained screenshot can help an investigator identify it without repeating the original action.

Step 2: Revoke access from a computer you already trust

On another computer, open GitHub yourself and select your profile picture, then open Settings to review your account.

Go to Developer settings, select Personal access tokens, and check both the fine-grained and classic token lists.

Revoke tokens that were present on the affected computer, starting with those that can write to important repositories.

Coordinate with your administrator when a token supports a team service, so they can revoke it and replace it safely.

Use Applications in GitHub Settings to review authorized applications separately, because tokens and application access are different things.

If you see an unfamiliar application, follow GitHub’s authorization review steps and ask the account owner before removing shared access.

Review Sessions and your Security log in GitHub Settings, noting anything inconsistent with how you use the account.

End unrecognized sessions, then check whether your organization’s administrator can see repository or organization activity you cannot.

Apply the same approach to exposed cloud credentials, developer accounts, signing keys, and work email as relevant.

A password change does not replace a separate developer token or automatically revoke access to every service it reached.

Make a record of what you revoked, who replaced it, and which systems were updated to use the replacement.

Keep the record free of actual secrets, particularly if it will be shared in a team chat.

Step 3: Check repositories, releases, and automated jobs

Tell owners which repositories the affected account could push to and give them a time window for the review.

Ask them to look at unexpected pushes, workflow edits and runs, changed releases, and unfamiliar access grants.

An unexpected change can look ordinary in the repository history, especially when it appears under a known team account.

Compare the change with the pull request, planned release, approved workflow, or other record that should support it.

If you find a package release or automated job you cannot explain, have its owner pause distribution or deployment.

Preserve the affected version and evidence before withdrawing it, and notify verified recipients if the organization identifies exposure.

On bigger projects, include both the repository owner and the person who runs the package registry or release service.

A code correction in one place does not recall a package already distributed from another place.

Check whether the same add-on arrived on other workstations through a shared setup document or company onboarding instructions.

That check can reveal additional installations without assuming everyone who used the development environment received the suspect version.

Step 4: Decide whether a scan or a clean rebuild fits the exposure

Deleting the skill is not sufficient if its malicious Windows component ran or if credential theft is confirmed.

Follow AIR’s recommendation to rebuild a confirmed affected machine from a trusted image, and keep it out of service until then.

If you only suspect execution on an unmanaged personal Windows computer, a scanner can help identify what was left behind.

The Malwarebytes and HitmanPro steps below are for that situation, rather than an alternative to rebuilding a confirmed compromise.

Do not treat a scan as permission to reopen production tools or sign in with newly issued credentials.

If a team owns the device or needs evidence, it must approve any scan, network access, quarantine, or restart first.

Step 5: Bring back the work without bringing back the add-on

Once the computer is cleanly rebuilt or assessed by someone who can make that decision, restore reviewed project files only.

Do not copy an old add-on directory, browser profile, cached credentials, or an entire unreviewed developer home folder.

Confirm the origin of each coding add-on before reinstalling it, even when it appears in the list you used before.

For shared projects, document a known owner and reviewed version so another developer can make the same check.

Make sure your replacement credentials are issued into the rebuilt or approved environment, not back into the original one.

Keep the affected device details available if later account activity needs to be compared with the install timeline.

Before reconnecting the rebuilt computer to regular work, confirm that required updates and the organization’s protections are in place.

Sign in only after the people responsible for the recovery are satisfied that the environment is ready.

What to do if the skill was installed on your personal Windows PC

  1. If you confirmed malicious execution, arrange a trusted rebuild and recover your accounts from a different computer first.
  2. If you cannot establish what ran, disconnect the PC and seek help before reconnecting it or starting a cleanup.
  3. Use Malwarebytes to check an unmanaged personal device only when initial scanning is appropriate for the exposure you found.
  4. Consider HitmanPro for a second opinion where appropriate, keeping a record of what both scanners reported or quarantined.
  5. If detections return or you cannot decide whether to rebuild, ask MalwareTips Windows removal help from a trusted device.

The scans check the computer, not the GitHub or cloud accounts it could reach before you disconnected it.

Close that separate gap by reviewing account sessions and revoking exposed credentials regardless of whether a scan finds anything.

Review the individual scan results rather than clearing every detection blindly, especially when the computer contains tools you use for work.

If the result names a file you cannot identify, preserve its details and ask for help.

Scan with Malwarebytes for Windows

Malwarebytes is one of the most popular and trusted anti-malware tools for Windows, and it’s completely free for removing infections. It catches threats that many antivirus programs miss, including adware, browser hijackers, and trojans. Follow the steps below to scan your PC and remove what Malwarebytes finds.

  1. Download Malwarebytes

    Click the button below to download the latest version of Malwarebytes for Windows from the official source. The free version is all you need, because it scans your computer and removes adware, browser hijackers, and other malicious software at no cost.

    Malwarebytes Free for WindowsScans and removes malware at no cost
    Download MalwarebytesOfficial installer for Windows 11 and 10. Your download starts right away.Want real-time protection? See Malwarebytes Premium
  2. Install Malwarebytes

    When the download finishes, click Open file under the MBSetup file in your browser’s download list. You can also open your Downloads folder and double-click the MBSetup file.

    Microsoft Edge download list with the Malwarebytes setup file and its Open file link highlighted

    If Windows asks whether you want to allow Malwarebytes Setup to make changes to your device, click Yes.

    User Account Control prompt for Malwarebytes Setup with the Yes button highlighted
  3. Follow the On-Screen Prompts to Install Malwarebytes

    The setup wizard will walk you through a few quick screens:

    • In the Malwarebytes Setup window, click Install.

      Malwarebytes Setup window with the Install button highlighted
    • When Malwarebytes asks which protection type you need, select Personal (for me or my household), then click Next.

      Malwarebytes Setup asking you to choose a protection type, with Personal and the Next button highlighted
    • Malwarebytes then offers its free Browser Guard extension. You can add it with Secure my browser, or click Skip this step to continue without it.

      Malwarebytes Setup offering Browser Guard, with the Skip this step link highlighted
    • Malwarebytes will now install on your device. This usually takes under a minute.

      Malwarebytes Setup installing the program
    • When you see Success!, click Open Malwarebytes.

      Malwarebytes Setup success screen with the Open Malwarebytes button highlighted
  4. Finish the Welcome Screens

    The first time Malwarebytes opens, it shows a few short welcome screens:

    • On the Welcome to Malwarebytes screen, click Get started.

      Welcome to Malwarebytes screen with the Get started button highlighted
    • Malwarebytes offers its paid plan next. Click Maybe later to keep using the free version.

      Malwarebytes offer screen with the Maybe later link highlighted
    • Malwarebytes then starts a free 14-day trial of its Premium features, with no credit card needed. Click Continue with free trial. When the trial ends, Malwarebytes switches to the free version, which can still scan and remove malware.

      Welcome to your free trial screen with the Continue with free trial button highlighted
    • On the Your trial is now active screen, click Open Malwarebytes.

      Your trial is now active screen with the Open Malwarebytes button highlighted
    • If Malwarebytes asks for your email address before the first scan, you don’t need to enter it. Click I’ll scan later, then click Skip anyway. You will start the scan yourself in the next steps.

      Malwarebytes first scan screen asking for an email address, with the I'll scan later link highlighted
      Malwarebytes Before you skip dialog with the Skip anyway button highlighted
  5. Optional: Check for rootkits with a Custom Scan

    You don’t need to change any settings for a normal scan. The standard Threat Scan in the next step is enough for most problems, so you can go straight to it.

    If you also want to check for rootkits, use a Custom Scan. In current versions of Malwarebytes, rootkit scanning is only available there:

    1. On the Scanner tile, click the three-dot menu and select Advanced Scan.
    2. Choose Custom Scan. In its options, check Scan for rootkits.
    3. Select your system drive (usually C:\) as the location to scan, then start the scan. It takes longer than a Threat Scan.
    4. When it finishes, review and quarantine the results as described in the steps below.

    Rootkit scanning isn’t available on Windows devices with ARM processors.

  6. Start the Scan

    On the Dashboard, click the Scan button on the Scanner tile. Malwarebytes will automatically update its virus database and start checking your computer for malware.

    Malwarebytes dashboard with the Scan button on the Scanner tile highlighted
  7. Wait for the Scan to Finish

    The scan checks your entire system for browser hijackers and other malicious programs, so it can take 5 to 20 minutes depending on your computer. Feel free to do something else in the meantime and check back occasionally to see the progress.

    Malwarebytes Threat Scan in progress, listing the scan stages and the number of items scanned
  8. Quarantine the Detected Threats

    When the scan is done, you’ll see a list of everything Malwarebytes found, including malware, adware, and potentially unwanted programs. Leave all items checked and click the blue Quarantine button, which also shows how many items will be removed.

    Malwarebytes Threat Scan results with the Quarantine button highlighted

    Malwarebytes will now remove the malicious files and registry entries and move them safely into quarantine.

    Malwarebytes moving the detected threats to quarantine
  9. Finish and Restart if Asked

    When the cleanup is complete, Malwarebytes shows a summary of the scan. Click Done.

    Malwarebytes Threat Scan summary after quarantine, with the Done button highlighted

    Some threats can only be fully removed after a reboot. If Malwarebytes asks you to restart, click Yes. Once you’re logged back in, Malwarebytes has finished removing the threats it found.

Get a second opinion with HitmanPro for Windows

If the download button opens the Sophos product overview, select Downloads and use the HitmanPro section rather than HitmanPro.Alert.

HitmanPro is a second-opinion scanner, designed to catch what your main antivirus might have missed. Instead of relying on a single detection engine, it checks the behavior of files in the locations where malware usually hides. Anything suspicious is checked online, where it’s analyzed by several antivirus engines in HitmanPro’s Scan Cloud.

Good news: scanning is completely free, with no limits. You only need a license when it’s time to remove what was found, and even then you can activate a free one-time 30-day trial to remove what it finds at no cost. The trial works once per computer. After that, removal needs a paid license, and the purchase screen shows the current price.

  1. Download HitmanPro

    Click the button below to download HitmanPro. Remember that the scan is free, so you have nothing to lose by checking your PC.

    HitmanProSecond-opinion malware scanner from Sophos
    Download HitmanProFree scan. Removing threats needs the free 30-day trial. Opens the official HitmanPro page in a new tab.

    On the official download page, click Download 64-bit. Almost every Windows 11 and Windows 10 computer is 64-bit; choose Download 32-bit only on an older 32-bit PC.

    HitmanPro official download page with the Download 64-bit button highlighted
  2. Install HitmanPro

    When the download finishes, click Open file under HitmanPro_x64.exe in your browser’s download list, or double-click the file in your Downloads folder. (The 32-bit version is named HitmanPro.exe.)

    Microsoft Edge download list with HitmanPro_x64.exe and its Open file link highlighted

    If a User Account Control pop-up asks whether HitmanPro can make changes to your device, click Yes to continue.

    User Account Control prompt for HitmanPro with the Yes button highlighted
  3. Follow the On-Screen Prompts

    HitmanPro updates itself for a few seconds. On the start screen, click Next.

    HitmanPro start screen with the Next button highlighted

    On the Terms and conditions screen, click Next to accept them.

    HitmanPro Terms and conditions screen with the Next button highlighted

    On the Setup screen, select Yes, create a copy of HitmanPro so I can regularly scan this computer, then click Next. HitmanPro installs itself and starts the scan right away. You don’t have to fill in the email fields.

    HitmanPro Setup screen with the Yes, create a copy of HitmanPro option and the Next button highlighted
  4. Wait for the Scan to Finish

    HitmanPro will now check your computer for malicious programs. This usually takes just a few minutes thanks to its cloud-based scanning.

    HitmanPro scanning the computer for malware remnants

    If HitmanPro asks to close your running web browsers so it can check them for tracking cookies, save any open work in the browser and click Yes.

    HitmanPro asking to close running Internet browsers, with the Yes button highlighted
  5. Review the Results and Click “Next”

    When the scan is done, HitmanPro will show you everything it found. Click “Next” to remove the detected threats.

    HitmanPro scan summary. Click Next to remove malware

    If HitmanPro found nothing, it shows No threats found. There’s nothing to remove, so click Close.

    HitmanPro No threats found summary
  6. Click “Activate Free License”

    To remove the malicious files, click the “Activate free license” button. This starts your free 30-day trial, which needs no payment details and unlocks the full cleanup.
    Click on the Activate free license button

    When the removal is complete, HitmanPro will show a summary of everything it cleaned. Click Next, then click Reboot if prompted. If there’s no reboot prompt, click Close. Then check whether the problems you noticed have stopped. If they come back, save the HitmanPro log and ask for help in our forum.

How to verify a skill before reinstalling it

Start at a maintainer’s verified website or an official organization you already know, and follow its link to the project.

Compare the owner and reviewed release with the marketplace listing rather than relying on a logo or project name.

For a work project, keep the intended version in a shared list and ask who reviewed it before installation.

If an update comes from a new owner or different repository, confirm the change rather than trusting the familiar name.

An unfamiliar add-on should not get production credentials simply because a developer wants to see whether it is useful.

Use a disposable or restricted environment for evaluation, without access to work secrets or private repos, through your approved process.

Review instructions bundled with an unfamiliar add-on before allowing the assistant to use it in a real project.

If the documentation suddenly requests broader permissions or an unrelated installer, stop and ask the maintainer to explain why.

When opening an older work project, check its documented add-ons against the list of versions your team still approves.

An old setup guide may point to a project or release that is no longer maintained.

Frequently Asked Questions

Does this mean the original ponytail project was malicious?

AIR identified malicious copies borrowing recognizable names, which is not the same as a finding against the original authors.

Verify where your copy came from before assuming it is safe or concluding that the original project was involved.

Is this only a problem for a particular coding assistant?

The documented credential-stealing payload targeted Windows, while the lure involved copies of coding-agent skills and plug-ins advertised as improvements.

Treat the source of a third-party add-on as something to verify regardless of which assistant you normally use.

Does a marketplace badge mean the add-on is safe?

AIR reported examples that had passed checks while carrying malicious material, so a badge cannot settle the issue alone.

Verify the publisher and the specific release, especially when a listing points to an unfamiliar fork or installation method.

What if I viewed the repository but never installed the add-on?

Reading the repository does not establish that the Windows payload ran or that your account was compromised in this campaign.

Check what actually downloaded or ran, and take separate action if you shared credentials on an unfamiliar page.

Should I revoke tokens if the scanner reports no threats?

If malicious execution was confirmed or credible evidence suggests the affected device held exposed tokens, revoke them from another computer.

A scan only reports what it finds at the time and cannot rule out earlier theft.

Does removing my local add-on undo a change already pushed to GitHub?

No, local cleanup does not reverse a release, workflow edit, or repository change that already reached a server.

Have the repository owner compare changes against known approved work and decide which versions are safe to keep.

The Bottom Line

If a suspicious add-on ran, contain the computer and protect your developer accounts from a different device before returning to work.

The response is not complete until the account owners, repository maintainers, and people responsible for the computer have each finished their checks.

Send this to someone