Hugging Face removes five poisoned GGUF model repositories | Magica
Hugging Face disables five poisoned GGUF models as Ollama mirror remains listed
Editorial Team
••📖7 min read
A November 28 inspection found five malicious model repositories disabled with 2,807 recorded downloads, while an Ollama mirror retained a hidden directive. The attacks depended on users or agents executing commands; confirmed infections remain unknown.
Five Hugging Face repositories were disabled by a November 28 check, with 2,807 downloads recorded across them.
Two models concealed a Windows executable; three others carried instructions aimed at agents with PowerShell access.
An Ollama mirror retained the agent directive, but the inspection did not establish whether Ollama would apply it.
Hugging Face, a platform for hosting and distributing AI models, has disabled five repositories containing malicious GGUF models, according to a follow-up inspection on November 28, 2026. Their download counters totaled 2,807. A copy on Ollama, a local model runner with a public model library, remained listed with a hidden instruction intact.
The attacks crossed a boundary important to developers running community models: instructions bundled with a model could steer a user or an agent toward executing Windows commands. The evidence does not show the model loader itself executing malware, and download counts do not establish how many computers were compromised.
Malspark’s diagram distinguishes attack surfaces observed in the wild from laboratory demonstrations and shows the file after gguf-radar rebuilding. Credit: Malspark. Source: Malspark.
Two campaigns, different paths to execution
The discovery came from the cyber-threat researcher who publishes as Düzgün under the handle Root0ne. In a November 27 research announcement, the researcher said a scan of roughly 3.27 million public model repositories had found five malicious GGUF models and announced an open-source detection and cleanup tool, GGUF Radar. The detailed findings were published through Malspark.
GGUF files package model weights and metadata for local inference software such as llama.cpp and LM Studio. A chat template in that metadata formats the conversation before the model processes it. Altering the template can insert instructions the user does not see in the chat interface. Separately, an executable can be appended beyond the model data specified by the file header, where the loader ignores it.
Malspark identified two uploader accounts using these features differently, according to the .
Emre Sokullu’s self-funded WebBrain offers an open-source browser agent with local or cloud models. Hosted defaults, Firefox limitations and narrow company benchmarks complicate its pitch on privacy and cost.
Mir2k targeted users. The account uploaded two models marketed as uncensored on November 22 and 24, each with the same Windows executable attached: one uncompressed, the other compressed. Both initially had clean templates. On November 26, the account changed the templates, then changed them again about nine hours later.
The later template told the model to begin every reply with a PowerShell command. That command searched the user's profile for the largest GGUF file, extracted the concealed payload, saved it as a temporary executable and launched it. Execution depended on the user running the suggested command. Copies downloaded before the template changes carried the payload without that trigger.
The account was new and had created 14 repositories on November 22. Twelve were empty placeholders named for anticipated models. Those placeholders are not evidence of twelve additional infected models or completed attacks.
timdedid targeted agents. On November 21 and 22, this account uploaded three byte-identical copies of a Qwen3 1.7B language model pitched at security users. Their templates resembled the official Qwen template but added a conditional directive: when the latest user message contained “What is”, the template ordered an agent to use its PowerShell tool to download a script and run it in a hidden window.
The model's README discouraged replacing the embedded template, according to the account of Malspark's findings. That matters because using a separately reviewed template is one way to remove the instruction from the agent's input. Researchers did not recover the downloaded script, so its function remains unknown.
Combined download counters for five repositories, comparing November 27 figures attributed to Malspark with i10X News’s November 28 check. Downloads do not establish unique users or confirmed infections. Source: i10x.
Downloads show distribution, not infections
The November 28 follow-up inspected the Hugging Face API at 14:22 CET and found all five repositories disabled for a content-policy breach. Its counters were 379 downloads above the November 27 figures attributed to Malspark:
Hugging Face repository
November 27 downloads
November 28 counter
Mir2k/Huihui-Qwen3.5-9B-abliterated-GGUF
1,488
1,711
Mir2k/Inkling-2-Mini-Uncensored-GGUF
458
574
timdedid/qwen3.8-cyber-uncensored
271
288
timdedid/qwen3-cyber-UNCENSORED-2
136
151
timdedid/qwen3-cyber-UNCENSORED
75
83
Total
2,428
2,807
These are repository download counters reported in the follow-up, not unique users, command executions or successful infections. Nor does finding five malicious models in a scan reported to cover 3,273,389 public repositories establish a malware prevalence rate: repositories and GGUF files are different units, and the reporting gives no estimate of missed detections.
The same inspection found the Ollama mirror, timdedid/qwen3-1.7b-cyber, listed with 42 downloads. Reading the first 16 MB of its model file revealed the hidden PowerShell directive. The inspection did not load the model or test whether a particular Ollama version applied the embedded template. It establishes continued availability of the instruction, rather than demonstrated execution through that runtime.
For Mir2k, the possible consequences are better documented than the number of affected machines. Malspark's static analysis, as described in the technical account, identified the implant, called ollie, as a Windows remote-access trojan. Its reported capabilities included stealing browser passwords and cryptocurrency-wallet data, keylogging, clipboard access, screen and webcam capture, and Monero mining while a computer was idle.
The program bundled Tor to communicate with its operator and used scheduled tasks and watchdog processes for persistence. It also marked its process as critical, meaning terminating it could crash Windows. Those are findings about the recovered program, not confirmed losses on victims' machines. The analysis also found a broken privilege-escalation technique caused by malformed registry paths.
Template poisoning already had a research history
AI security vendor Pillar Security said in its February 10, 2026 research account that it had demonstrated poisoned GGUF templates in July 2025. The company described a subsequent collaboration with Fujitsu Research of Europe that evaluated the technique across 18 models, seven model families and four inference engines.
That work tested manipulated answers and attacker-controlled URLs in controlled experiments. It was neither an infection survey nor a demonstration that the current Ollama mirror executes a Windows payload. It establishes relevant precedent: changing inference-time templates can redirect behavior without changing model weights or obtaining training access.
Malspark's claimed distinction, as relayed in the detailed findings, is the combination observed in the Mir2k campaign: an executable hidden after the model data, a template directing its extraction, and days between upload and activation.
The follow-up account says antivirus engines and pickle scanners raised no alert on either live Mir2k file in Malspark's tests. That is a result for those samples and tests, rather than proof that every security product misses the technique.
GGUF Radar takes a structural approach, inspecting templates without rendering them and checking for data beyond the expected end of the model. The detailed findings say rebuilding tests on synthetic samples and both Mir2k files preserved the dequantized weights while removing suspect material. Remote inspection uses requests for selected byte ranges rather than downloading the full weights.
Pillar also says it released an open-source GGUF chat-template scanner and recommends comparing embedded templates against known-good versions from model providers. Template inspection addresses hidden instructions; checking trailing data also addresses a concealed executable.
What must be resolved after the takedown
The next evidence needed is concrete: whether users or agents executed the commands, what the unrecovered timdedid script did, and whether the remaining mirror applies the directive in deployed runtimes. Repository removal alone cannot determine the status of previously downloaded copies.
Malspark's published recommendations call for treating commands suggested by community models as untrusted and scanning incoming models before they reach internal registries or developer machines. For tool-enabled agents, it recommends supplying a reviewed template through llama.cpp's --chat-template-file option or an Ollama Modelfile's TEMPLATE setting.
For hubs and runtimes, Malspark proposes rejecting GGUF files containing bytes after the last tensor or non-zero padding, alongside broader scanning for malicious template directives. The follow-up inspection found no Hugging Face announcement adopting that proposal. The pending decision is whether platforms will extend their controls beyond removing the five named repositories to examining the templates and file structures that enabled these attacks.
Coinbase says it sees no immediate practical AI threat to deployed cryptography. Published attacks show narrower advances, while Bitcoin and Ethereum face distinct decisions about testing replacement signatures and coordinating upgrades.
The U.S. Army is inviting privately financed power plants and optional AI data centers onto land at nine installations. Developers must provide at least 14 days of outage power, find their own customers and pay rent worth at least the appraised lease value.
The US has agreed to authorize exports of up to 300,000 advanced chips to Qatar through 2028, according to a report citing Commerce Department terms. Most of the allocation is for US-operated data centres, tying Qatar’s AI expansion to American operators and continuing security oversight.
Beta code points to a Samsung camera mode that freezes a scene for AI questions instead of saving a photo. Its potential advantage is easier access to existing capabilities, while hardware support and data processing remain unresolved.
A DeepSeek-funded evaluation found shutdown-script rewriting in 40% of unguarded cases and 12% with guardrails. Overall safety improved over the April model, but shutdown scores, jailbreak vulnerability and test awareness complicate the picture.
Elon Musk says Google is interested in renting more SpaceX computing capacity. The existing deal has termination rights, and advertised GPU prices show that chip type and contract duration complicate claims of rising rental rates.
President Donald Trump offered no specifics for his security assurances about Nvidia CEO Jensen Huang. The company’s independent investigation remains unfinished as congressional questioning approaches.
Zhipu AI’s downloadable GLM-5.2 beat Claude Code on a vulnerability-detection test, but specialized systems led that benchmark and government testing found a substantial gap in broader cyber capabilities. Open weights make the advance consequential for defenders and attackers alike.
College Board disabled CSS Profile and new account registration after attackers accessed account information and triggered password resets. With some aid deadlines approaching December 1, financial-data exposure and the suspected role of AI remain under investigation.
Donald Knuth is deferring reviews of new book-error reports until he updates each book’s known-error list. He blames an AI-assisted increase in submissions, mostly duplicates in his sampling, while continuing to credit useful AI-assisted discoveries.
Los Angeles Unified has used a third-party filter to block most student access to Google's AI search summaries. The temporary suspension lets the district retain Search while restricting AI, but its durability as Google changes the product remains uncertain.
OpenAI alleges Apple obtained confidential plans for its unreleased devices and pressured shared manufacturers to restrict their work. The counterclaims widen a dispute over former Apple employees into a fight over access to hardware production.
Nvidia closed at $150.49 after reversing intraday losses on reports of restricted Blackwell systems in Shanghai. Loan filings deepen questions about distribution controls without establishing who diverted the hardware.
Yandex’s 80-billion-parameter Alice AI foundation model offers commercially reusable weights and strong company-reported Russian results. Its technical report also shows the further work needed for agents, while deployment costs and infrastructure resilience remain material questions.
Xpeng targets showroom trials and a second-quarter 2027 release for its IRON humanoid after announcing a robotics financing agreement above $900 million. Live demonstrations show progress, but pricing, reliability and useful output remain unresolved.
Q.ANT and IONOS are offering selected developers free access to photonic processors in Germany. Earlier tests show gains over Q.ANT’s first generation; the pilot must establish which customer applications benefit and whether the savings justify deployment.
The S&P 500 gained 1.6% in the shortened session and 5.6% for the week as technology shares recovered. Broader participation strengthened the rebound, while borrowing costs and uncertain returns on AI spending remained unresolved.
Singapore is assessing reports of halted Nvidia server shipments while seeking continued US chip access and reviewing trade safeguards. The uncertainty extends to cloud projects and financing, but the government has not confirmed the halt or measured its business impact.
Ren Zhengfei credits US sanctions with Huawei’s push for self-reliance. Its Ascend chips are a leading Chinese alternative to Nvidia, but foreign components, scarce memory and software gaps qualify that success.