Skip to main content
Mallory
← Back to News
package-repository-poisoningai-platform-securityremote-access-implantdefense-evasion-method

Malicious Hugging Face Models Deliver Cryptominers and Backdoors to GPU Hosts

Supply Chain Risk · 2 sources · Updated 15d ago · First seen Oct 31, 2026

Malicious Hugging Face Models Deliver Cryptominers and Backdoors to GPU Hosts

Pluto Research identified a financially motivated campaign distributing cryptominers and backdoors through malicious AI model repositories on Hugging Face and ModelScope. Researchers tracked 31 malicious Hugging Face repositories across seven accounts in two waves; the campaign and linked models collectively recorded more than 32,000 downloads, not confirmed infections or unique victims. The attack abuses Transformers’ trust_remote_code=True option to execute repository-supplied Python with the caller’s privileges before model weights load. Targets include self-hosted inference infrastructure, particularly Xinference and GPUStack, rented GPU machines, shared research notebooks and CI jobs.

Payloads establish persistence, run a miner in memory, disguise processes and, in some cases, provide reverse-shell access. A later repository also contained a container-escape script targeting GPUStack environments. The campaign returned within days of takedown, and 19 second-wave repositories remained live eight days after researchers reported them. Pluto highlighted scanning gaps: the flagship payload passed antivirus checks, while weight-focused scanning did not assess the Python’s behavior. Defenders should review exposure to the reported repositories, restrict remote-code execution to audited model code, and investigate affected GPU hosts for mining activity, persistence and unauthorized access; automatically extracted indicators require validation before operational use.

Does this reach your builds?Trace attribution and downstream blast radius.
Trace the chain
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

6 events · Sep 21, 2026 – Oct 29, 2026
  1. Reported Oct 30, 202618d ago

    New repository adds a GPUStack container-escape script

    The MENXIANGYU/qa-whl-1021 repository was reportedly published 8.5 hours after disclosure and contained a container-to-host escape script targeting GPUStack's /var/lib/gpustack directory. The supplied account does not establish successful host compromise.

    Campagne de cryptominage et backdoor via des dépôts Hugging Face malveillants | CyberVeille
  2. Reported Oct 30, 202618d ago

    First-wave payload evolves from SSH backdoor to fileless miner

    Over approximately three weeks, the first-wave payload evolved from a 37-line SSH backdoor into a 305-line fileless cryptocurrency miner. Payload variants added persistence, in-memory execution, process disguising, and reverse-shell access.

    Campagne de cryptominage et backdoor via des dépôts Hugging Face malveillants | CyberVeille
  3. Reported Oct 29, 202619d ago

    Campaign returns with 19 repositories across five accounts

    Within days of the takedowns, the campaign returned with 19 repositories under MENXIANGYU, wjsbg, htt0118, soumikmahato, and r1r13. Researchers subsequently recorded more than 29,000 downloads for this wave and found the repositories still active eight days after reporting them.

    Hugging Face Malware Campaign: Load/Mine | Pluto Security
  4. Reported Oct 29, 202619d ago

    First-wave malicious repositories are removed

    The identified first-wave repositories were taken down after distributing malicious model-loading code. The removals did not end the campaign.

    Hugging Face Malware Campaign: Load/Mine | Pluto Security
  5. Oct 29, 202620d ago

    Pluto Research publishes the Load/Mine investigation

    Pluto Research published findings covering 31 malicious repositories and linked models with more than 32,000 downloads, explaining how trust_remote_code=True executes attacker-controlled Python before model weights load. The investigation documented mining and backdoor payloads targeting self-hosted GPU infrastructure, scanner blind spots, and tentative attribution to a Chinese-speaking operator or small group.

    Hugging Face Malware Campaign: Load/Mine | Pluto Security
  6. Sep 21, 20262mo ago

    First wave of malicious model repositories begins

    The first wave began on September 21, 2026, and ran through October 12, comprising 12 repositories under hhzz667 on Hugging Face and wssb123e on ModelScope. The repositories recorded 728 downloads before removal; downloads do not establish confirmed infections.

    Campagne de cryptominage et backdoor via des dépôts Hugging Face malveillants | CyberVeille
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Malware

1 linked

Affected products

2 linked
GpustackXinference

Organizations

2 linked
TencentGPUStack

Observables

59 linked

Indicator values are masked on this page. View all 59 in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?See attribution and downstream blast radius, and whether this package or vendor reaches your builds.
Trace the Supply Chain
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.