A model file is still a file someone else gave you
Companies choose to run large language models on their own hardware for a simple reason: the data stays inside. That part is true. What comes in from outside is the model itself, a multi-gigabyte file pulled from a public hub, usually judged on two things only: does it load, and are the answers any good.
Local LLM security discussions tend to focus on data and permissions. A report published on 27 November 2026 by the security research group Malspark points at something more basic. The model file can carry malware, antivirus stays quiet, and the model keeps answering questions as usual.

What the report found
According to Malspark’s report, a scan of all 3,273,389 public model repositories on Hugging Face on 26 November found five malicious GGUF models from two accounts. As of 27 November they had been downloaded 2,428 times. The report itself notes that Hugging Face counts downloads, not people, so the number of affected users is at most that figure.
GGUF is the standard file format for running models locally with tools such as llama.cpp, LM Studio and Ollama. The report describes two techniques.
The first combines a hidden program with a model that talks the user into running it. An account named Mir2k uploaded two "uncensored" models with a Windows remote access trojan appended after the model data. Loaders read only the byte ranges the file header points to, so the extra bytes are never read and nothing warns about them. A few days later the attacker rewrote the chat template inside the file so that the model begins every reply with a PowerShell one-liner. A user who copies and runs that line extracts the hidden program from the model file and starts it. Malspark’s analysis says the trojan steals passwords saved in browsers, supports keylogging and screenshots, and mines cryptocurrency when the machine is idle.

The second technique targets agents. An account named timdedid published models aimed at security practitioners. When the user’s message contains a trigger phrase, the template quietly inserts text posing as a system directive that tells an agent with shell access to download and run a script. That text never appears in the chat window. Malspark did not recover the second-stage script, so what it would install is unknown.
Neither technique is new on its own, the report says. What is new is seeing them on a real model hub, and the "plant the program first, arm the template days later" sequence, for which it found no earlier public record.
We checked three of the five repositories on the morning of 29 November (China time) and they were still reachable. We have not seen a public response from Hugging Face, and the findings have not yet been independently confirmed by another security vendor.
Our reading
The scale is tiny, but the path works. Five repositories out of more than three million is no reason to panic. The method is what matters: the attacker breaks into nothing, uploads a file and waits. According to the report, Mir2k also created twelve empty repositories named after popular models that have not been released yet, ready to be filled the day they appear.
Existing checks do not catch it. In Malspark’s tests, common antivirus engines and model-file scanners raised no alert, and loaders opened the files normally. Standard endpoint protection has little visibility into this kind of file.
The risk is obedience, not a model "gone bad". One technique needs a person to paste a command; the other needs an agent that is allowed to run commands. In both cases the harmful action is carried out by the user’s side. This is the core rule of agent security applied to local models: model output is untrusted content and must not turn directly into an action.
"Uncensored" and "cracked" models are where it happens. All five malicious models were marketed that way. An employee downloading one onto a work laptop out of curiosity is taking the same risk as installing pirated software.
A checklist for IT teams
- Take inventory. Find out who runs models locally, with which tools, and from which account and repository each model file came. Ask engineering, data and marketing teams, not only IT.
- Set approved sources. Use repositories from the model’s original publisher or publishers your company has approved. Avoid "uncensored" or "cracked" builds from personal accounts. Where practical, download the original weights and convert them yourself.
- Add an internal gate. Model files go into an internal model registry first, are checked and hashed, and are distributed from there. Laptops and servers pull from the registry, not from the public internet. Override the embedded chat template with one you have reviewed.
- Never run a command just because the model said so. Tell staff to treat a command suggested in a model’s reply like an attachment from an unknown sender. For agents with tools connected to a local model, require human confirmation for running commands and downloading files, and keep the runtime isolated from office machines and production systems.
- Keep detection in place. Watch endpoints for PowerShell launching programs from temporary folders, unfamiliar scheduled tasks and unexpected Tor traffic. The report lists indicators your security team can check against.

Where DELine can help
DELine deploys local and private LLMs for businesses in China, helps teams put AI agents into production, and runs day-to-day endpoint and network security operations. If you want to review which models are running in your company and where they came from, or set up an internal model registry with admission checks, get in touch.



