Executive Summary

In late October 2026, researchers at Pluto Security uncovered a recurring supply-chain campaign on Hugging Face in which a financially motivated, Chinese-speaking threat actor published 31 malicious AI model repositories across seven accounts in two coordinated waves since September 2026. The models, disguised as Qwen2 test checkpoints, exploited Hugging Face's trust_remote_code feature to execute malicious Python code at model-load time on GPU inference servers. The most downloaded model, MENXIANGYU/qwen2-tiny, accumulated 28,412 downloads, silently installed a cryptocurrency miner, established persistence, and opened reverse shells granting direct server access. The attacker's wallet collected roughly $5,000 in Pearl (PRL) cryptocurrency, and a second wave of repositories reappeared within days of the initial takedown—one introducing a container-escape script. Traditional AV and partner scanning tools returned clean results throughout the campaign.

This incident signals a maturing threat pattern in which adversaries weaponize trusted AI model repositories as a software supply-chain vector, bypassing conventional security controls by abusing legitimate platform features rather than known malware signatures. As enterprises accelerate AI workload adoption on GPU-intensive cloud infrastructure, the attack surface for model-based supply-chain compromise is expanding rapidly, demanding new runtime enforcement and egress control strategies.

Why This Matters Now

AI model repositories are now a primary software supply-chain attack surface. With enterprise GPU adoption surging and tools like trust_remote_code widely enabled, attackers can silently compromise high-value cloud compute at scale. The campaign's ability to evade AV and platform scanning—while accumulating tens of thousands of downloads—demonstrates that perimeter and signature-based defenses alone are insufficient for AI-era infrastructure.

Attack Path Analysis

MITRE ATT&CK® Techniques

Potential Compliance Exposure

Sector Implications

Sources

Frequently Asked Questions

The malicious models abused Hugging Face's legitimate trust_remote_code feature to execute attacker-controlled Python at model-load time, rather than using known malware signatures or unsafe model formats. Platform AV and partner tools from Protect AI and JFrog scanned for known-bad payloads and unsafe formats—not behavioral analysis of what the model's Python code actually does at runtime—allowing the second-wave flagship model to scan clean while accumulating over 28,000 downloads.

Cloud Native Security Fabric Mitigations and ControlsCNSF

Based on the attack progression modeled above, these are the defensive controls that would constrain each stage.

Aviatrix Zero Trust CNSF is directly relevant here because the attacker relied on unrestricted outbound connectivity, lateral movement across a shared GPU cluster, and uncontrolled egress to mining pool infrastructure — all paths that Zero Trust segmentation and inline egress enforcement are designed to constrain. By limiting workload reachability and enforcing identity-aware boundaries, CNSF would likely have reduced the attacker's ability to spread across nodes, establish persistent C2, and exfiltrate compute resources to external destinations.

Initial Compromise

Control: Cloud Native Security Fabric (CNSF)

Mitigation: Anomalous outbound network calls originating at model load time — an unexpected behavior for inference workloads — could have been flagged through inline traffic inspection, likely surfacing early indicators of supply chain compromise before the payload fully established itself.

Privilege Escalation

Control: Zero Trust Segmentation

Mitigation: Identity-aware workload segmentation with namespace-level boundary enforcement would likely constrain the inference container's ability to reach host OS resources, reducing the scope of privilege escalation even if the malicious code executed successfully within the container.

Lateral Movement

Control: East-West Traffic Security

Mitigation: East-west traffic monitoring and inter-workload segmentation would likely have detected anomalous node-to-node communication patterns consistent with lateral propagation, potentially reducing the attacker's ability to move freely across co-located GPU nodes within the shared cluster environment.

Command & Control

Control: Multicloud Visibility & Control

Mitigation: Centralized traffic observability across cloud environments would likely have surfaced repeated outbound connections to non-approved Alibaba Cloud destinations as anomalous automation behavior, reducing the attacker's ability to maintain persistent C2 channels without detection.

Exfiltration

Control: Egress Security & Policy Enforcement

Mitigation: Egress filtering with FQDN-based allowlisting and inline IPS signature detection would likely have blocked outbound mining pool protocol traffic to unauthorized external destinations, reducing the attacker's ability to sustain cryptocurrency exfiltration from compromised GPU hosts.

Impact (Mitigations)

Had earlier stage controls constrained lateral movement and C2 channel establishment, the blast radius of this incident would likely have been limited to fewer nodes, reducing both the scale of GPU resource theft and the number of hosts retaining persistent backdoor access after initial detection.

Impact at a Glance

Affected Business Functions

  • AI/ML Model Development and Inference Infrastructure
  • GPU Compute Resource Management
  • Developer Toolchain and CI/CD Pipeline Integrity
  • Credential and Secret Management for Cloud and Research Environments
Operational Disruption

Estimated downtime: 8 days

Financial Impact

Estimated loss: $5,000

Data Exposure

Affected organizations running self-hosted GPU inference servers (Xinference, GPUStack) using malicious Qwen2 model checkpoints with trust_remote_code enabled face exposure of: (1) server-level credentials and API keys accessible by the deployed reverse shell backdoor; (2) any secrets or tokens present in environment variables on compromised GPU hosts; (3) potential lateral movement risk within shared GPU research clusters, as evidenced by nine machines on a shared cluster mining simultaneously. Additionally, the fake Solana starter kit installs NetSupport Manager RAT on developer workstations, exposing source code, wallet private keys, developer credentials, and any secrets stored in the development environment. Confirmed attacker wallet received approximately $5,000 USD in Pearl (PRL) cryptocurrency from hijacked GPU resources. Container escape capability in second-wave payloads further risks host-level data exposure beyond containerized workloads.

Recommended Actions

  • • Enforce egress filtering and FQDN-based policy via Egress Security and Policy Enforcement controls to block outbound connections from GPU inference workloads to unapproved mining pool domains, Alibaba Cloud C2 endpoints, and dynamic payload-staging URLs at the network layer before cryptocurrency mining traffic can be established.
  • • Deploy Zero Trust Segmentation with namespace enforcement and least-privilege identity-based policies around GPU inference workloads to prevent container breakout escalation to host-level access and restrict lateral movement across shared GPU cluster nodes through microsegmentation of workload-to-workload communication.
  • • Activate Multicloud Visibility and Control with centralized traffic observability to baseline normal inference server outbound connection patterns and alert on anomalous model-load-time network activity, reverse shell beaconing, and simultaneous multi-node outbound connections indicative of cluster-wide compromise.
  • • Implement Inline IPS (Suricata) with signatures targeting stratum mining protocol traffic, known cryptominer communication patterns, and reverse shell payload signatures to provide automated inline blocking of C2 and resource exfiltration channels before mining output reaches attacker-controlled wallets.
  • • Leverage the Cloud Native Security Fabric (CNSF) with AI-based discovery of traffic to enforce supply chain integrity controls, detect shadow AI model execution anomalies at load time, and apply real-time inline enforcement that isolates compromised inference workloads automatically upon detection of code execution patterns inconsistent with approved model loading behaviors.

Secure the Paths Between Cloud Workloads

A cloud-native security fabric that enforces Zero Trust across workload communication—reducing attack paths, compliance risk, and operational complexity.

Cta pattren Image