AI hack · Supply chain · 29 Oct 2026Back within days of a takedownScanned clean, Pluto saysFlagship disabled, per BleepingComputer
Fake Qwen2 models on Hugging Face turned GPUs into crypto miners and came back after a takedown, Pluto says
Pluto Security found 31 Hugging Face repositories posing as small Qwen2 test models. Loaded with 2 sourcesPluto SecurityLoad/Mine: A Hugging Face Malware Campaign Returns After Takedown29 Oct 2026 · first-handBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026 on, their code turned GPU servers into crypto miners, and some versions opened a backdoor. It came back under new accounts 2 sourcesPluto SecurityLoad/Mine: A Hugging Face Malware Campaign Returns After Takedown29 Oct 2026 · first-handBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026, and by 28 October 2026 its flagship model had 28,412 downloads, Pluto says.
By Chris Hoskins, Founder, Boogey ·
Tap underlined words to see who reported them.
31
2 sourcesPluto SecurityLoad/Mine: A Hugging Face Malware Campaign Returns After Takedown29 Oct 2026 · first-handBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026
Over 32,000
2 sourcesPluto SecurityLoad/Mine: A Hugging Face Malware Campaign Returns After Takedown29 Oct 2026 · first-handBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026
About $5,000
SourceBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026
8 days
SourceBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026
How a test model became a miner
Step 1
Code that ships with a model
The trust_remote_code option lets a model ship 2 sourcesPluto SecurityLoad/Mine: A Hugging Face Malware Campaign Returns After Takedown29 Oct 2026 · first-handBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026. Turned on, it runs the publisher's code on the user's machine.
Step 2
A familiar disguise
The models looked like 2 sourcesPluto SecurityLoad/Mine: A Hugging Face Malware Campaign Returns After Takedown29 Oct 2026 · first-handBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026. They targeted GPU servers running self-hosted inference tools such as Xinference and GPUStack, Pluto says.
Step 3
No model inside
The most downloaded one held SourceBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026. Its code installed a miner disguised as a Linux system process, restarted it if killed and removed rival miners, BleepingComputer reports.
Step 4
A way back in
Some versions also opened a 2 sourcesPluto SecurityLoad/Mine: A Hugging Face Malware Campaign Returns After Takedown29 Oct 2026 · first-handBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026, a connection from the infected server back to the attacker that gave them direct access.
When it began, and what it hit
BleepingComputer says the repositories went up in SourceBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026. The account Pluto's scan flagged had created six repositories SourcePluto SecurityLoad/Mine: A Hugging Face Malware Campaign Returns After Takedown29 Oct 2026 · first-hand on 12 October 2026, all with the same code, Pluto says. Pluto says nine machines that appear to belong to SourceBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026 started mining for the operator at once. They dropped off about six minutes later, which Pluto says fits SourceBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026.
Why the scanners missed it
Hugging Face scans uploads with antivirus and partner tools from SourceBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026, BleepingComputer says.
Looking for known malware
Pluto says those tools look for known malware and unsafe model formats, not at 2 sourcesPluto SecurityLoad/Mine: A Hugging Face Malware Campaign Returns After Takedown29 Oct 2026 · first-handBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026.
Nothing in the weights
No poisoned weights or pickle exploit, a weight file rigged to run code, was involved. The attacker used SourcePluto SecurityLoad/Mine: A Hugging Face Malware Campaign Returns After Takedown29 Oct 2026 · first-hand, Pluto says.
Built to evade
The malicious file ran to 305 lines, with error handling, fallback infrastructure and SourcePluto SecurityLoad/Mine: A Hugging Face Malware Campaign Returns After Takedown29 Oct 2026 · first-hand, Pluto says.
Pluto found the first wave another way, by 2 sourcesPluto SecurityLoad/Mine: A Hugging Face Malware Campaign Returns After Takedown29 Oct 2026 · first-handBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026.
“The second-wave flagship scanned clean while it collected 28,412 downloads”
Taken down, and back within days
Pluto reported the first wave to Hugging Face and ModelScope, and both platforms 2 sourcesPluto SecurityLoad/Mine: A Hugging Face Malware Campaign Returns After Takedown29 Oct 2026 · first-handBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026. Within days, a second wave appeared under SourcePluto SecurityLoad/Mine: A Hugging Face Malware Campaign Returns After Takedown29 Oct 2026 · first-hand, with revised loaders and reverse shells, Pluto says. The flagship's downloads climbed SourceBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026 at the time of Pluto's report to 28,412 by 28 October, Pluto says. BleepingComputer reported that Hugging Face had SourceBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026 to that flagship. BleepingComputer says SourceBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026, uploaded on 25 October by a newer account, was still live, and confirmed it holds the same miner and reverse shell. Pluto says the operator's main wallet SourceBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026 after the repositories were removed. BleepingComputer advises anyone who loaded these models with trust_remote_code on to SourceBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026 and rotate any credentials it could reach. Killing the miner doesn't remove the backdoors.
Hours after Pluto's report, the operator published another model with a script that can SourceBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026 and take over the server beneath it, Pluto says.
The Boogey fix
Could a model your product loads run someone else's code?
You’re exposed if
- Your product lets users pick, upload or import a model from a hub, and your servers load it.
- Your pipeline or inference server, such as Xinference or GPUStack, loads outside models with trust_remote_code on.
- The machine that loads models can reach the internet, or holds cloud keys, tokens or SSH access.
- Nothing stops one user's model job from holding a GPU for hours.
Fix it
01Remote code off by default
Load outside models with trust_remote_code off and safetensors weights only, a format that carries no code. If one truly needs its own code, pin it to an exact revision your team has read. Pluto says the attacker SourcePluto SecurityLoad/Mine: A Hugging Face Malware Campaign Returns After Takedown29 Oct 2026 · first-hand, with no poisoned weights or pickle exploit.
02Check the code before it runs
Have your loader read every Python file a model brings, and refuse any that imports subprocess, socket or ctypes, or calls memfd_create. Pluto's scan SourcePluto SecurityLoad/Mine: A Hugging Face Malware Campaign Returns After Takedown29 Oct 2026 · first-hand matching exactly those.
03A box with no way out
Load outside models in an unprivileged sandbox with no outbound network, no secrets and no host mounts. One model carried a script that can SourceBleepingComputerHugging Face malware campaign returns to hijack GPUs for crypto mining29 Oct 2026, Pluto says, so a plain container may not be enough.
04A cap on every GPU job
Give each user's model job its own GPU and time limit, and alert when a GPU stays busy with no request running. A miner looks like a job that never ends.
05An agent that loads from your list
If an agent in your product can pull or launch models, give it a tool that loads only from your allowlist, with remote code off. Write into its instructions that it never turns remote code on, whoever asks.
On your platform
Settings you already have that help against this hack. Last checked 1 Dec 2026.
Turn on the sandbox
Run /sandbox, or set sandbox.enabled to true and allowUnsandboxedCommands to false. It’s off by default.
How we test it
- 1Under a signed scope, in your staging only, we put up a harmless canary model of our own. Its only custom code sends a fake marker to a host we own. No live keys, and nothing for you to install.Being built
- 2A test user loads it through your product, as any user could, or asks your agent to load it. We never scan your repos or hosts.Being built
- 3We watch our host for the marker. The test user watches whether your product warns or blocks before our model's code can run, and whether a GPU or time limit stops the job.Being built
- Built
- BT-22 · Model and AI supply chainBT-20 · Sandbox, egress and containment failuresBT-23 · Resource exhaustion and runaway cost
It fails if
- Our host receives the fake marker from your staging
- Your product loads our model with its custom code switched on, with no warning or block
- Your agent turns remote code on, or loads a model outside your allowlist, when the test user asks
- The job holds its GPU with no time or usage limit stopping it
Does your product load models from a hub? This test is still being built.
What it reveals
A model from a hub can carry someone else's code. The server that loads it should hold nothing worth taking and reach nowhere it doesn't need.