Hugging Face GGUF Malware: 2,428 Downloads, Not Victims

November 29, 2026

Five poisoned GGUF model repositories were reported, but downloads are not infections. Check templates, tool permissions and the limits of scanner badges.

Malspark reported five malicious GGUF model repositories on Hugging Face with 2,428 downloads in its November 27 disclosure. That is not a verified count of infected people. The reported attacks used poisoned chat templates to influence a person or tool-enabled agent into running commands. Local inference can protect a prompt's data path while an untrusted model package still creates a separate security risk.

Current status, November 29: Our metadata-only checks found disabled: true on all five named Hugging Face repositories. Do not repeat the disclosure's older “still online” snapshot as today's status. Disabling a repository does not establish that previously downloaded copies disappeared or that an affected computer was cleaned.

Who This Is For

This guide is for adults downloading community models, developers giving an AI agent tools, and writers or professionals deciding whether they actually need to maintain a local inference stack.

The useful question is not whether local AI is good or bad. It is: what artifact did you trust, what authority did you give it, and where did your information go? Those are different decisions.

What Is Confirmed

Malspark's November 27 report describes a November 26 scan of 3,273,389 public repositories and identifies five malicious GGUF repositories. Its 2,428-download figure is a dated observation, not today's counter or a confirmed infection total.

The report distinguishes two paths: Mir2k packages combined hidden Windows malware with instructions encouraging a person to run an extraction command; timdedid templates targeted agents with shell tools. The second-stage script in the latter campaign was not recovered. These are attributed findings; we did not execute the specimens to reproduce them.

Our November 29 check read public metadata for the five named repository IDs, including this Mir2k record. All carried a disabled flag. An HTTP 200 response containing metadata is not the same thing as an enabled model download.

A Chat Template Is Part of the Trust Boundary

A model's chat template formats messages before inference. Hugging Face's template documentation explains how user, assistant and system messages become the token sequence the model actually receives. The visible chat window is therefore not a complete representation of that formatted input.

Pillar Security's original research explains why this matters: a modified template can introduce attacker-chosen instructions without changing the learned weights. A response that looks ordinary for one prompt is not proof that another prompt, or a tool-enabled context, will behave the same way.

The related primary research paper evaluates template backdoors across eighteen models and agent benchmarks. Those controlled experiments support treating templates as security-relevant artifacts. They are not a measurement of how many real-world users of these five repositories were compromised.

This is also why “the weights match” and “the whole package is trustworthy” are not interchangeable statements. A review should identify the actual artifact that supplied the formatting instructions, not only the model family printed in its name.

Downloading, Loading, and Executing Are Different Events

The reported mechanism needs an execution boundary to be crossed. A human may decide to run a suggested command; an agent may have permission to invoke a shell. Neither event should be silently replaced with the claim that every download automatically infected its downloader.

Use this distinction when reading a frightening headline:

Observation What you can reasonably conclude What you still cannot conclude
A repository has a download count The platform recorded download activity under its counting rules Unique people, successful loads, executed commands, or confirmed infections
A template introduces instructions The model's input can differ from what the user visibly typed That every model follows them, or that a shell executed them
A tool was permitted to run a command The workflow crossed a materially stronger authority boundary That unrelated machines or every copy of the model were affected
A repository is disabled The platform currently marks that repository disabled That mirrors, backups, or already downloaded artifacts were recalled

The practical lesson is to examine the transition between these rows, rather than assign every downstream outcome to the first row.

This case also differs from a deceptive installer. Our earlier fake ChatGPT and Claude installer guide concerns another delivery path. Here, the important review includes model-associated metadata and the authority of the surrounding workflow.

Keep a Source, Template, and Permission Receipt

Before introducing an unfamiliar model into a serious workflow, record the following. This is a proposed review worksheet, not a certification or a malware test we performed.

Receipt field Write down Decision it supports
Source Exact publisher, repository and immutable revision Whether you obtained the artifact you intended, rather than a similarly named upload
File Filename, size and a cryptographic digest from a trusted reference Whether a later file is the same artifact you reviewed
Template Where formatting instructions come from and the reviewed version Whether a package update changed hidden input behavior
Authority Files, credentials, network destinations and execution tools available to the app What an unwanted instruction could actually cause
Evidence Review date, warnings and unresolved questions Whether someone else can reconstruct why the artifact was accepted

A digest is an identity check, not a goodness score. If you obtain both the file and its checksum from the same untrusted publisher, matching them establishes consistency with that publisher's file—not that the publisher is trustworthy. Our Ollama digest and backup verification guide covers the separate question of whether an offline copy is complete.

For an agent, review permissions before a real task begins. “Ask me before running commands” is useful interface behavior, but it is not a substitute for limits on what the process can access. Approve only a specific operation you understand; do not approve a model-generated command merely because it appears to repair the AI setup.

If a suspicious command has already run, stop treating the problem as a model-selection question. Use your organization's incident-response process or qualified endpoint support. Moving your next writing task to a different AI service does not remediate an already compromised computer.

What a Scanner or Safe Badge Does Not Prove

Hugging Face's malware-scanning documentation describes commit-triggered checks for files smaller than 2 GB. It also explains that a missing badge can reflect scanning, waiting, or an error. A platform indicator should be interpreted within its documented scope, not expanded into a guarantee about your entire agent, its permissions, or every input transformation.

GGUF Radar offers static file/template inspection, template comparison and rebuilding. Static inspection is a different operation from asking an untrusted model to explain whether it is safe. Review the scanner's source and instructions as you would any new security software; a tool being discussed alongside an incident is not a reason to install an arbitrary repackaged executable.

The project's limitations are particularly important: pattern checks can miss unfamiliar malicious templates and flag harmless changes. Comparing with an untrusted “original” does not create a trustworthy reference. The tool does not establish what a model learned, and some formats or checks have additional coverage limits.

Even a successful rebuild is not a cleanup of passwords, sessions or files on a computer where malicious code already executed. A passed scan is an input to the receipt, not the end of the review.

What Is Still Unclear

The public material does not establish a confirmed infection count, a complete account of what every downloader did, or the disposition of every mirror and local copy. Disabled metadata is not a detailed incident-response report from the platform.

We have not independently reproduced the malware execution, audited every affected runtime, or verified a particular reader's installation. Names such as Qwen or Inkling on a community upload do not establish that every model in that family—or any particular hosted inference route—contains the same artifact.

Where OpenVeil Fits—and Where It Does Not

For a tightly isolated, fully offline requirement, a carefully maintained local setup can still be the right choice. This disclosure does not make all local AI unsafe, and it does not prove that hosted providers are inherently safer. Compare the actual operating responsibilities in our private AI chat versus local AI guide.

If your job is drafting rather than maintaining an inference stack, OpenVeil offers a different tradeoff: a hosted browser workspace with browser-local normal chat history and no server-side private-chat-history record. You do not have to download your own model weights to use it. OpenVeil and necessary providers still process active requests; accounts, billing, security and feature-related processing remain separate from the chat-history boundary.

Try a deliberately low-sensitivity task: invent a fictional project, a fictional client and three publication goals. Ask OpenVeil to produce a plain-English project brief and a shorter alternative. Compare the drafts for accuracy and usefulness before introducing any authorized real material. Do not paste secrets, malware, real customer records or incident evidence into the exercise.

Create an account for the ten-action, no-card preview. If that workflow is useful, sign up for OpenVeil Plus at $10/month, with 10,000 monthly credits. Complete paid checkout through Credits & billing after signup. Credits are bounded usage, not unlimited access; video is available on paid plans, not in the preview. OpenVeil is 18+.

OpenVeil is not antivirus, a GGUF scanner, a sandbox certificate, or remediation for this incident. Hosted convenience does not remove provider trust or guarantee the provenance of every component in a service. Read the OpenVeil privacy policy before deciding whether its data-handling boundaries fit your work.

Frequently Asked Questions

Does a GGUF malware headline mean loading any GGUF runs malware?

No. The reported case distinguishes a model-associated instruction from the person or tool that executes a command. That does not rule out other runtime vulnerabilities; it means this disclosure should not be summarized as automatic infection from every GGUF load.

Is a disabled Hugging Face repository the same as a removed local file?

No. The platform's repository state and the contents of your computer are different records. Do not assume a platform moderation action changes copies you previously saved.

Is a model checksum enough?

No. A checksum helps compare artifacts. Publisher trust, the reference checksum's origin, the template, runtime security and permitted tools still need separate review.

Does browser-local chat history stop malicious model commands?

No. History location controls where a conversation record lives. It does not make generated instructions trustworthy, disinfect an endpoint or restrict an unrelated agent's operating-system privileges.

Bottom Line

Keep three reviews separate: the artifact you obtained, the authority your workflow grants, and the history records it leaves. A reassuring label in one column cannot answer the other two.

Try OpenVeil Plus for $10/month

Want a hosted writing workspace without maintaining local model downloads? Try OpenVeil's ten-action preview with no card, then choose OpenVeil Plus at $10/month for 10,000 monthly credits. After signup, use Credits & billing to complete checkout. Paid plans include video; the preview does not. For adults 18+, with necessary provider processing—not an incident-response service.

Sources

Research cutoff: November 29, 2026. Report counts are attributed snapshots. Our independent check was limited to public repository metadata and OpenVeil's public pricing; no malicious model or payload was executed.

When privacy, account control, uploads, and search matter, OpenVeil gives you a private AI workspace designed for that job.