Hugging Face Malware Campaign Returns After Takedown

Oct 29, 2026
A campaign using malicious model repositories to install cryptocurrency miners and backdoors returned within days of a takedown. Researchers linked 31 repositories to more than 32,000 downloads.

A cryptomining and backdoor campaign using repositories on Hugging Face returned within days of a takedown, Pluto Security said in a research report. Pluto identified 31 malicious repositories across seven accounts, with the campaign and linked models recording more than 32,000 downloads.

The repositories posed as small Qwen2 test models and targeted GPU machines running self hosted inference software such as Xinference and GPUStack. When loaded with trust_remote_code=True, the repositories executed Python code that installed a cryptocurrency miner. Some versions also opened reverse shells that gave the operator remote access.

Hugging Face and ModelScope removed accounts associated with the first wave after Pluto Security reported them. Within days, 19 repositories appeared under four new accounts. The second wave replaced a hardcoded SSH key with reverse shells, and one later payload included a script designed to escape a container and access the underlying server.

The download total does not represent confirmed infections or unique victims. Pluto Security said existing scans focused on known malware signatures and unsafe model formats rather than analyzing the behavior of Python files executed through trust_remote_code=True. BleepingComputer confirmed that a near-identical copy uploaded on 25 October by a newer account carried the same miner and reverse shell.

We hope you enjoyed this article

Consider subscribing to one of our newsletters like Cybersecurity AI Weekly or Daily AI Brief.

Also, consider following us on social media:

Free newsletter

Cybersecurity AI Weekly

Weekly newsletter about AI in Cybersecurity.

Whitepaper

Tensordyne Napier: What If One Rack Could Do the Work of Nine?

Tensordyne

This Tensordyne whitepaper presents Napier, an inference-focused AI processor and rack-scale system based on the company’s TDN Math logarithmic number system. It examines infrastructure requirements for large mixture-of-experts and agentic models, compares major inference architecture approaches, and details the TDN AIP processor, TDN72 pod, TDN Link fabric, and Napier Ultra configuration. The paper reports simulation-based performance, cost, and accuracy-validation results, including Tensordyne’s projected comparison of one Napier rack with a nine-rack Nvidia Rubin plus Groq deployment; the chip is reported as taped out and in fabrication.

Read more
Free, six days a week

Daily AI Brief: the AI news that matters, in your inbox.