{"schema":"sanctity-signal/0.2","record_type":"signal","id":"gguf-malware-huggingface-e124","domain":"security","drop_id":"signal-e124","occurred_at":"2026-11-27","how_to_use":"This is a structured record of one real-world action and its competing interpretations, from Sanctity Signal. To build content from it (a reel script, a blog, a thread): open on the hook, ground the viewer with plain and observed, walk the dated trail, present the interpretations as live tension between named readings, and close on the before/after shift and what_to_watch. Hard rules: items under established are fact; items under unknown are never presented as fact; the evidence status (verified or reported) is stated, not dropped; sources are cited.","actor":"An independent researcher and 2 Hugging Face accounts","action_type":"publication of a scan of 3,273,389 Hugging Face repositories naming 5 malicious GGUF model files, their indicators and a detection tool, with the named repositories still live 3 days later","observed":"We read the researcher's post at malspark.com, published November 27, 2026 by Duzgun, who uses the handle Root0ne. He reports scanning 3,273,389 public Hugging Face model repositories on November 26 using HTTP range requests, covering 226,310 GGUF repositories, 2.56 petabytes of weights and 572,184 chat templates, and finding 5 malicious GGUF models still online the next day with 2,428 downloads, up from 1,502 the day before. He notes that downloads are not people, so affected users are equal or fewer. His first campaign is the account Mir2k, created November 22 with 14 repositories, 12 of them empty placeholders named after expected releases. Huihui-Qwen3.5-9B-abliterated-GGUF, uploaded November 22, carries a Windows executable appended after the last tensor; Inkling-2-Mini-Uncensored-GGUF, November 24, carries a deflate-compressed copy. Both chat templates were clean until the morning of November 26, when they were replaced to read a fixed path in the Downloads folder, then replaced again about 9 hours later to search the whole user profile for the model file. He identifies the payload as a Windows x64 remote-access tool of 11.47 megabytes embedding Tor 0.4.9.16, which he says checks for analysis environments and exits, persists through a scheduled task and registry keys, talks to its operator over a Tor onion service, targets saved browser passwords and 2 named wallets, supports keylogging and screen capture, and mines Monero when the machine is idle. His second campaign is the account timdedid: 3 byte-identical Qwen3 1.7B models published November 21 and 22 with 482 downloads between them, whose template inserts a hidden system directive when the user's message contains the words What is, instructing an agent holding a PowerShell tool to fetch and run a script from a WordPress site. He says the second stage was never recovered. He released a detection tool, gguf-radar, under the MIT licence, with YARA rules and indicators. We then read huggingface.co/Mir2k ourselves on November 30: the account is live, shows 14 models, and the 2 named repositories carry 1,710 and 574 downloads, both last updated about 19 hours earlier. Not established: whether Hugging Face has acted, how many machines were compromised, and what the second stage does. No second security firm has published on this.","corrections":[],"evidence":{"status":"verified","note":null,"sources":[{"role":"primary","label":"Hugging Face account Mir2k, read Nov 30, 2026: live, 14 models, the 2 named GGUF repositories at 1,710 and 574 downloads","url":"https://huggingface.co/Mir2k"},{"role":"primary","label":"Malspark, Duzgun: malicious GGUF models on Hugging Face, Nov 27, 2026, with indicators and the gguf-radar tool","url":"https://malspark.com/blog/malicious-gguf-models-hugging-face/"}]},"strength":{"cost":"Low","commitment":"Medium","reversibility":"High","persistence":"Months","rationale":"Cost is low. 2 throwaway accounts, borrowed model names and a few days of work, which is the point: the attack is cheap and the distribution is free. Commitment is medium, because the operator kept at it, rewriting both templates twice in 9 hours to widen the search path. Reversibility is high: Hugging Face can delete an account in a minute, and 3 days after publication it has not. Persistence is months rather than structural. These files will go. What stays is that the chat template is executable surface on the main model host, and that a scan of 3.27 million repositories found 5, which is a floor and not a count."},"shift":{"prior":"GGUF was the safe format, with no code to execute.","action":"We read the researcher's post at malspark.com, published November 27, 2026 by Duzgun, who uses the handle Root0ne. He reports scanning 3,273,389 public Hugging Face model repositories on November 26 using HTTP range requests, covering 226,310 GGUF repositories, 2.56 petabytes of weights and 572,184 chat templates, and finding 5 malicious GGUF models still online the next day with 2,428 downloads, up from 1,502 the day before. He notes that downloads are not people, so affected users are equal or fewer. His first campaign is the account Mir2k, created November 22 with 14 repositories, 12 of them empty placeholders named after expected releases. Huihui-Qwen3.5-9B-abliterated-GGUF, uploaded November 22, carries a Windows executable appended after the last tensor; Inkling-2-Mini-Uncensored-GGUF, November 24, carries a deflate-compressed copy. Both chat templates were clean until the morning of November 26, when they were replaced to read a fixed path in the Downloads folder, then replaced again about 9 hours later to search the whole user profile for the model file. He identifies the payload as a Windows x64 remote-access tool of 11.47 megabytes embedding Tor 0.4.9.16, which he says checks for analysis environments and exits, persists through a scheduled task and registry keys, talks to its operator over a Tor onion service, targets saved browser passwords and 2 named wallets, supports keylogging and screen capture, and mines Monero when the machine is idle. His second campaign is the account timdedid: 3 byte-identical Qwen3 1.7B models published November 21 and 22 with 482 downloads between them, whose template inserts a hidden system directive when the user's message contains the words What is, instructing an agent holding a PowerShell tool to fetch and run a script from a WordPress site. He says the second stage was never recovered. He released a detection tool, gguf-radar, under the MIT licence, with YARA rules and indicators. We then read huggingface.co/Mir2k ourselves on November 30: the account is live, shows 14 models, and the 2 named repositories carry 1,710 and 574 downloads, both last updated about 19 hours earlier. Not established: whether Hugging Face has acted, how many machines were compromised, and what the second stage does. No second security firm has published on this.","update":"The chat template is executable surface, and it was rewritten twice."},"inference":{"established":["The scan covered 226,310 GGUF repositories and 572,184 chat templates.","2 named repositories were live at Hugging Face on November 30.","The researcher published indicators and an MIT-licensed detection tool."],"unknown":["How many people were hit. Downloads are not users.","That the second-stage script ran. It was never recovered.","What Hugging Face did. It has not said whether it removed anything."]},"narrative":{"hook":"A researcher says he found malware in 5 Hugging Face model files. 2 are still up.","plain":"His scan of 3.27 million repositories was published on November 27. We read 2 of the named repositories today: both live, with downloads up from 1,946 to 2,284.","story":["GGUF was adopted because it holds only numbers. The payload sits after the last tensor, where nothing reads. What fetches it is the chat template, the one field a user never inspects. One campaign points that template at an agent's PowerShell tool, so the model's own prompt becomes the attack."],"trail":[{"d":"NOV 17","t":"Malware is found writing instructions to AI coding agents, telling them not to report what they find. Edition 102's security card, and the first time the agent itself was the target of the social engineering."},{"d":"NOV 21","t":"The account timdedid publishes 3 byte-identical Qwen3 1.7B models, plus an Ollama mirror. Their chat template inserts a hidden system directive when a user's message contains the words What is."},{"d":"NOV 25","t":"Microsoft takes its own agent framework repository offline after 2 poisoned releases stole credentials. Edition 117. A first-party maintainer could not keep its own package clean."},{"d":"NOV 26","t":"The scan runs across 3,273,389 repositories. Both Mir2k templates are replaced in the morning to read a fixed Downloads path, then replaced again about 9 hours later to search the entire user profile."},{"d":"NOV 30","t":"We read huggingface.co/Mir2k: the account is live with 14 models, and the 2 named repositories now carry 1,710 and 574 downloads, above the researcher's figures. Nothing has been taken down."},{"d":"Reacts","r":true,"t":"Hugging Face, which hosts the files and has said nothing 3 days on; the maintainers of llama.cpp, Ollama and LM Studio, whose runtimes read the chat template automatically; the security firms that scan package registries and do not yet scan weights; every team running a coding agent that clones repositories unattended; and the 3 laboratories named as bait."}],"glossary":[{"term":"GGUF","def":"The standard single-file format for running open models locally. It stores tensors and metadata, and was adopted partly because it executes no code, unlike the pickle files it replaced."},{"term":"Chat template","def":"A text snippet inside the model file telling the runtime how to format a conversation. Runtimes read it automatically and users almost never look at it."},{"term":"Abliterated","def":"A model with its refusal behaviour stripped out. Such files are widely sought, which makes their names good bait."},{"term":"Remote-access tool","def":"Software giving an operator control of a machine: files, keystrokes, screen and clipboard."}]},"judgment":{"prompt":"If the files are confirmed malicious, which explanation do you believe?","interpretations":[{"id":"a","label":"The model host is attack surface","text":"Weights are now a delivery channel, and the template is the loader.","abstain":false},{"id":"b","label":"5 files out of millions","text":"2 accounts and a few thousand downloads. A rounding error on the platform.","abstain":false},{"id":"c","label":"A deliberate test of detection","text":"Templates rewritten twice in 9 hours reads like tuning against a scanner.","abstain":false},{"id":"d","label":"Normal package-registry abuse","text":"Every open registry gets this. Model hosts are simply the newest one.","abstain":false},{"id":"e","label":"Too early to call.","text":"The evidence cannot yet separate these.","abstain":true}],"distribution":{"status":"held back until you have made your call","calls":null}},"story_thread":null,"what_to_watch":[{"linked_interpretation":"a","direction":"strengthens","observable_event":"Hugging Face publishes a policy or scanning change covering chat templates or data appended after the last tensor in model files, by June 30, 2027.","window_end":"2027-06-30","state":"unresolved"},{"linked_interpretation":"a","direction":"weakens","observable_event":"An independent security firm reviews the named files and reports no malicious payload, or Hugging Face states the repositories were clean, by March 31, 2027.","window_end":"2027-03-31","state":"unresolved"},{"linked_interpretation":"d","direction":"strengthens","observable_event":"A second researcher reports malicious model files on another model host, with the payload carried outside the tensors, by December 31, 2027.","window_end":"2027-12-31","state":"unresolved"}]}