Malspark scan finds five Hugging Face GGUF files with hidden code downloaders
A Malspark scan of public Hugging Face repositories found five GGUF files whose templates or trailing bytes contained code downloaders, with 2,428 downloads recorded by the following day.
A scan published on the Malspark blog on November 27 examined public Hugging Face repositories and identified five GGUF files whose chat templates or trailing bytes contained code downloaders that users had not requested. Manual review excluded test repositories, persona prompts and research samples, leaving five files that were still online on November 27.
The sweep covered 3,273,389 repositories, including 226,310 GGUF repositories containing 2.56 PB of model weights. Malspark statically parsed 572,184 chat templates without executing them and inspected file headers and endings through HTTP Range requests rather than downloading complete files.
The five files had accumulated 2,428 downloads by the following day. Hugging Face’s download figure counts downloads rather than individual people, so the number of affected users is no greater than that figure.
The broader Mir2k campaign created 14 repositories on November 22. Twelve were empty placeholders named after releases that do not yet exist, while the two repositories containing files accounted for 1,946 of the downloads.