AI Agents Nvidia Announces Nemotron 4 Open Models With Claimed 5x Throughput and a First Decision Model Business OpenAI on Pace to Burn $45 Billion in Cash This Year as Revenue Jumps to $35 Billion News Waymo Taps AMD x86 Chips to Power Robotaxi Compute as Chipmaker Rivals Nvidia Meta Meta Puts Its Muse Charm AI Gadget on Sale at $299 With 12 Months of Verizon 5G Included News Google DeepMind Opens CellGemma, a Cell-Response Model Trained on 564 Million Cell States, for Cancer Research Chatbots Amazon Opens 1.1T-Parameter Ergo as an Open-Weight Model and Ships Trainium3SR Decoding at 2,200 Tokens per Second Business Zhejiang Yingji Power Raises 100 Million Yuan C Round to Push 'Physical AI' Into District Heating News Kling AI Brings Dolby Vision Into AI Video Generation for the First Time AI Agents Nvidia Announces Nemotron 4 Open Models With Claimed 5x Throughput and a First Decision Model Business OpenAI on Pace to Burn $45 Billion in Cash This Year as Revenue Jumps to $35 Billion News Waymo Taps AMD x86 Chips to Power Robotaxi Compute as Chipmaker Rivals Nvidia Meta Meta Puts Its Muse Charm AI Gadget on Sale at $299 With 12 Months of Verizon 5G Included News Google DeepMind Opens CellGemma, a Cell-Response Model Trained on 564 Million Cell States, for Cancer Research Chatbots Amazon Opens 1.1T-Parameter Ergo as an Open-Weight Model and Ships Trainium3SR Decoding at 2,200 Tokens per Second Business Zhejiang Yingji Power Raises 100 Million Yuan C Round to Push 'Physical AI' Into District Heating News Kling AI Brings Dolby Vision Into AI Video Generation for the First Time

Five Hugging Face GGUF Models Hid Malware Where Loaders Never Look: 2,428 Downloads and a RAT Named Ollie

Five Hugging Face GGUF Models Hid Malware Where Loaders Never Look: 2,428 Downloads and a RAT Named Ollie

A Malspark scan of all 3.27 million public Hugging Face repositories found five malicious GGUF models with 2,428 downloads. One campaign appended an 11.47 MB Windows RAT after the last tensor; another weaponized the chat template to hijack agents with shell access. Hugging Face has pulled the repos, but an Ollama mirror remained online.

Security firm Malspark published a report on November 27 describing five malicious GGUF models discovered on Hugging Face, after scanning every one of the 3,273,389 public repositories on the platform the day before. The five models had accumulated 2,428 downloads by November 27, and the company notes that because Hugging Face counts downloads rather than people, the number of affected users is lower than or equal to that figure.

The scan covered 226,310 GGUF repositories holding 2.56 petabytes of weights. Malspark parsed 572,184 chat templates statically without executing any of them, and used HTTP Range requests to read file headers and tails without downloading models whole. Manual review weeded out test repos, persona prompts and research samples, leaving five files that were still online when the report went up.

The larger of the two campaigns, tracked as Mir2k, uploaded two "uncensored" GGUF models on November 22 and 24 with an 11.47 MB Windows remote access trojan appended directly after the last tensor, a region no loader ever reads because loaders only touch the byte ranges the header points to. The models load perfectly and answer normally. On November 26, the account rewrote both chat templates within about an hour of each other so that every reply now opens with a one-line PowerShell command for the user to copy, which unpacks the implant as d.exe in the temp folder. Downloads made before the template swap carry the payload but no trigger. The same account created 12 empty placeholder repos named after models people are waiting for, including Qwen4-27B and DeepSeek-V4, ready to be filled on launch day.

The implant, named ollie, ships with Tor inside and steals passwords saved in Chrome, Edge and Brave, targets Phantom and MetaMask wallet extensions, logs keystrokes, takes screenshots, and mines Monero while the machine is idle. One copy sits behind half a megabyte of filler bytes; the other is raw Deflate, so no antivirus signature survives. Malspark reports that neither standard file scans nor ordinary GGUF parsers raised any alert on the live samples.

The second account, timdedid, published three copies of a small Qwen3 1.7B "cyber" model aimed at security users. Its chat template, a Jinja2 program the runtime applies to every prompt before the model sees it, adds a single clause: when the user's message contains the phrase "What is", it quietly inserts a fake system directive telling an agent with shell access to download and run a script. The user sees a normal chat; the agent sees an order. The README even advises users not to replace the embedded template. By November 28, Hugging Face had taken down all five repositories, but a mirror of one model on Ollama, timdedid/qwen3-1.7b-cyber, was still downloadable with the count up to 2,807.

The structural lesson is uncomfortable. Everyone audits weights for backdoors, yet almost nobody reads the chat template, even though a template is effectively a system prompt written by the model author and never shown to the user. Once a local model drives an agent with tools, a model download becomes a prompt download. The 2026 chat-template-backdoor literature cited in the report showed such templates can hijack tool use across thousands of benchmark episodes while bypassing every injection defense the benchmarks offer.

Practical defenses already exist. The Safetensors format refuses files with trailing bytes and is unaffected by the Mir2k trick, since GGUF loaders execute no code themselves. Malspark released gguf-radar, an MIT-licensed tool that statically checks templates and trailing bytes and rebuilds a clean GGUF file with the weights unchanged. Users running local models should pin a reviewed chat template via llama.cpp or Ollama, treat any command a model suggests as untrusted, and check for infection markers such as an ollie folder under AppData\Roaming or a scheduled task firing every ten minutes. The durable fix belongs to the hubs: rejecting any GGUF with bytes after the last tensor would kill the technique outright, and Malspark says Hugging Face has not yet responded to that request.

Comments (0)

Log in to join the discussion

Log In

No comments yet