An incident where five malicious GGUF models harboring cryptocurrency miners and backdoors were found in public Hugging Face repositories—surpassing 2,400 downloads—highlights the growing risks of AI model supply chain security.
Imagine this: You download a popular, free AI model file from the world’s largest AI model sharing marketplace to run artificial intelligence locally on your home computer. It performs brilliantly and seems to work flawlessly on your machine, giving you complete peace of mind—until you discover that the file secretly harbored a cryptocurrency miner leeching your hardware resources and a backdoor granting hackers access whenever they please.
Recently, an incident shocked AI developers and researchers worldwide. Maliciously embedded artificial intelligence model files were discovered on Hugging Face, the epicenter of open-source AI. It was a stark moment that laid bare the security vulnerabilities hidden behind the convenience of the AI ecosystem.
Why This Matters
Today, artificial intelligence technology no longer operates exclusively inside massive corporate servers. Many developers, companies, and independent researchers install and run AI directly on personal computers or private servers. Demand for local AI models has exploded, largely because they allow users to protect private data without internet connectivity while enjoying high-performance AI.
However, this open-source ecosystem carries the double-edged sword of an open-door policy: “anyone can upload and share.” Much like past security incidents where Trojans were hidden inside popular game files or utility programs downloaded from the internet, AI model files themselves have begun to be exploited as infiltration vectors for hacking.
This goes beyond mere system slowdowns on personal computers. It can escalate into critical security breaches, such as a company’s self-hosted AI server or a research lab’s high-performance GPU cluster being hijacked as a cryptocurrency mining farm, or sensitive internal data being leaked [[Source 14]]. For countless individuals relying on open-source AI, this serves as a massive warning flare.
Breaking It Down: The Secret of GGUF Models and Hidden Threats
How did hackers manage to conceal malware inside AI model files? To understand this, one must first understand GGUF (GPT-Generated Unified Format, a file format that compresses and converts large language models so they can run quickly and lightly on personal computers or general hardware).
In simple terms, massive AI models possess vast neural architectures (parameters) totaling hundreds of gigabytes, making them difficult to run on standard computers. Analogously, think of it as a condensed cheat sheet summarizing a complex, bulky original cookbook so anyone can easily follow it at home. GGUF is an compressed file format packed tightly enough to run smoothly on smartphones and ordinary laptops.
The problem is that hackers can embed malicious recipes inside these cheat sheets—such as hidden instructions dictating, “When running this file, secretly execute this specific command as well.” Attackers masked malicious commands within model configuration components while keeping descriptions and template pages looking clean and harmless on the platform. The moment a user downloaded and executed the model, they inadvertently triggered a dangerous payload [[Source 12]].
In this recent incident, the full scope came to light when an attacker’s own AI agent (ARTEX), used for testing, accidentally leaked its operator’s development environment details. Subsequently, even more evasive variants emerged to bypass detection, keeping security experts on edge [[Source 8]].
Current Status: How Many Were Exposed to Risk?
Security researchers conducted a massive digital search spanning the globe. At the time of the investigation, a comprehensive scan was performed across all 3,273,389 public model repositories registered on Hugging Face [[Source 1]]. The sweep uncovered exactly five malicious GGUF model repositories [[Source 1, Source 10]].
Accumulating downloads over time, these five malicious repositories recorded a total of 2,428 downloads [[Source 1, Source 10]]. Crucially, Hugging Face tracks total download counts rather than individual human users, meaning the actual number of affected individuals or servers could be equal to or lower than this figure [[Source 1]].
Nonetheless, this figure cannot be taken lightly because such attacks trigger instantly upon executing specific commands during user-initiated actions or automated AI agent workflows [[Source 10]]. According to tracking by global security firms such as Pluto Security, the campaign persisted by mutating its format even after initial takedowns [[Source 11]]. Cryptocurrency miners and system backdoors silently carved into users’ valuable GPUs and server resources [[Source 14]].
What Lies Ahead?
The Hugging Face malicious model incident demonstrates a massive hurdle the open-source AI ecosystem must clear to reach true maturity. Moving forward, the following changes and countermeasures are expected to become essential standards:
- Standardization of Automated AI Model Scanning: Much like antivirus programs inspecting software, security infrastructure that automatically scans all GGUF files and model components uploaded to sharing platforms like Hugging Face to catch malware will become robust.
- Source Verification and Organization Authentication: Rather than recklessly downloading models from anonymous accounts, a culture of rigorously verifying whether models originate from authenticated official institutions or trusted developers is set to take root [[Source 17]].
- Agent Security and Execution Privilege Control: In automated workflows where AI agents independently download and execute external models, sandbox environments and privilege control mechanisms that block unauthorized command execution will become mandatory.
Technology grows increasingly convenient and enriches our daily lives day by day, but threats exploiting blind spots are evolving alongside it. To harness AI as a powerful ally, we must thoroughly re-examine the digital world’s locks and deadbolts.
MindTickleBytes’ AI Reporter Perspective
The openness and freedom of open-source form the most powerful engine driving today’s AI revolution. Yet, a structure where anyone can share and execute code without verification inevitably breeds security blind spots. This incident clearly demonstrates that AI models are no longer mere data blobs, but executable programs and potential threat vectors. Building a wise ecosystem that refuses to trade security for convenience is urgently required.
References
- GGUF LLM Models with Hidden Malware on Hugging Face Reached 2400 Victims. URL: https://malspark.com/blog/malicious-gguf-models-hugging-face/ [Source 1]
- Models compatible with the GGUF library – Hugging Face. URL: https://huggingface.co/models?library=gguf [Source 2]
-
Квантование LLM: GGUF, INT4, Q4_K_M, FP16 - полное… AiManual. URL: https://ai-manual.ru/article/kvantovanie-llm-kak-szhat-model-v-4-raza-bez-poteri-kachestva-i-kogda-eto-nevozmozhno/ [Source 3] - Run Code Llama 13B GGUF Model on CPU: GGUF is the… - YouTube. URL: https://www.youtube.com/watch?v=rZz5AORu8zE [Source 4]
- GitHub - KingManiya/ComfyUI-LLM-text-processor: Process text and… URL: https://github.com/KingManiya/ComfyUI-LLM-text-processor [Source 5]
- mradermacher/Tiny-LLM-GGUF · PirateFace. URL: https://pirateface.co/mradermacher/Tiny-LLM-GGUF [Source 6]
- Huihui AI review: bold local LLM builds. URL: https://aidive.org/en/ai/huihui-ai [Source 7]
- The Agent That Robbed Itself: an AI-Driven Hugging Face … URL: https://research.jfrog.com/post/the-agent-that-robbled-itself-an-ai-driven-hugging-face-malware-campaign-leaks-its-own-operator/ [Source 8]
- Researcher finds malware hidden in Hugging Face GGUF models. URL: https://runtimewire.com/article/researcher-finds-malware-hidden-in-hugging-face-gguf-models [Source 10]
-
Hugging Face Malware Campaign: Load/Mine Pluto Security. URL: https://pluto.security/blog/hugging-face-malware-campaign-load-mine/ [Source 11] - LLM Backdoors at the Inference Level: The Threat of Poisoned … URL: https://www.pillar.security/blog/llm-backdoors-at-the-inference-level-the-threat-of-poisoned-templates [Source 12]
- Hugging Face Malware Campaign Infects AI GPU Servers. URL: https://securityonline.info/hugging-face-malware-gpu-mining/ [Source 14]
-
Run a LLM on your WINDOWS PC Convert Huggingface model to… URL: https://www.youtube.com/watch?v=e3iimDDaaEY [Source 15] - Org profile for Qwen on Hugging Face, the AI community building the… URL: https://huggingface.co/Qwen [Source 16]
- Проверка безопасности GGUF моделей на Hugging Face… URL: https://ai-manual.ru/article/gguf-fajlyi-na-hugging-face-kak-ne-skachat-troyan-vmesto-modeli/ [Source 17]
- GGUF - vLLM. URL: https://docs.vllm.ai/en/latest/features/quantization/gguf/ [Source 18]
- 3
- 5
- 10
- Infection occurs simply by visiting the model page
- A user or AI agent must execute specific commands
- Infection occurs simply by rebooting the computer
- It accurately counts the number of distinct individuals
- It counts the total number of downloads
- It counts based on execution time