Skip to main content
Mallory
← Back to News
ai-platform-securitypackage-repository-poisoningloader-delivery-mechanisminitial-access-method

Five Poisoned GGUF Models on Hugging Face Steered Users and Agents Toward Malware

Emerging Technology Risk · 4 sources · Updated 3h ago · First seen Nov 28, 2026

Five Poisoned GGUF Models on Hugging Face Steered Users and Agents Toward Malware

Malspark identified five malicious GGUF models on Hugging Face that used poisoned chat templates to induce users or tool-enabled AI agents to execute malware-related commands. A scan of approximately 3.27 million public model repositories found the five models, which accumulated 2,428 downloads by November 27, 2026. Two models associated with the Mir2k account contained a Windows remote access Trojan named ollie appended after the model weights; modified templates prompted users to run commands that extracted and executed it. Three byte-identical models associated with timdedid instead instructed agents to retrieve and execute a remote script that was unavailable when investigated. The models could still answer normally, concealing the malicious instructions within otherwise functional AI artifacts.

Downloads do not establish infections or distinct victims, and loading the models alone did not execute the malware: a user or agent had to run the generated commands. Defenders should inspect both chat templates and data appended after model weights, rather than relying solely on antivirus scanning, and investigate endpoint execution telemetry alongside captured chats and agent tool calls before declaring compromise. The open-source GGUF Radar tool supports static inspection without executing models or templates, can rebuild cleaned GGUF files while preserving model weights, and provides verdicts suitable for automated checks. Organizations deploying third-party models should use reviewed templates and restrict agent shell actions to reduce exposure to this model-supply-chain attack.

Why it matters

Users and tool-enabled agents consuming poisoned GGUF models risk malware execution, potentially enabling credential theft, surveillance, persistence, and unauthorized mining.

Malspark identified five malicious models on Hugging Face. Two carried a Windows remote access implant; three attempted to direct agents to retrieve and execute a remote script whose contents were not recovered. The models remained capable of normal answers, making functional testing insufficient to reveal the attack. Implant capabilities were established through static analysis, not confirmed execution on downloaders’ endpoints. Source

The five repositories accumulated 2,428 downloads by November 27, 2026 and were still online when checked that day. Downloads do not establish distinct users, infections, or compromised endpoints. Malicious artifacts were observed in public repositories, but the supplied evidence does not confirm successful endpoint infections; a user or agent had to execute the generated commands. Source

Industry-specific impact is not established. The evidence identifies model consumers and agent deployments, not affected organizations or targeted sectors. Geography-specific impact is not established; no affected populations, operations, or geographic targeting are identified. Source

New surface, new adversariesTrack how attackers are adapting to this technology.
Track this risk
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

9 events · Nov 21, 2026 – Nov 27, 2026
  1. Reported Nov 29, 20266h ago

    Mir2k extraction command expanded to search more locations

    Approximately nine hours after the initial malicious template changes, another modification broadened the command's search locations for the local GGUF file.

    Malicious GGUF Models: Hidden Payloads - Brandefense
  2. Reported Nov 28, 202619h ago

    Malspark discloses implant findings and GGUF inspection tooling

    Malspark published campaign analysis, indicators, and YARA rules, describing credential theft, screen capture, keylogging, and mining capabilities in the recovered Mir2k implant. The research also presented gguf-radar, an open-source tool that inspects templates and hidden payload bytes without execution and can rebuild cleaned GGUF files while preserving model weights.

    GGUF LLM Models with Hidden Malware on Hugging Face Reached 2400+ Victims | Malspark
  3. Nov 27, 20262d ago

    Follow-up check finds all five models online with 2,428 downloads

    All five malicious repositories remained online when checked on November 27, and their combined download count had reached 2,428. These counters do not establish distinct users, malware executions, or infections.

    GGUF LLM Models with Hidden Malware on Hugging Face Reached 2400+ Victims | Malspark
  4. Nov 26, 20263d ago

    Malspark scan identifies five malicious Hugging Face models

    Malspark scanned 3,273,389 public Hugging Face model repositories and identified five malicious GGUF models associated with Mir2k and timdedid after excluding benign and research samples. The repositories had accumulated 1,502 downloads at the time of the scan.

    GGUF LLM Models with Hidden Malware on Hugging Face Reached 2400+ Victims | Malspark
  5. Nov 26, 20263d ago

    Mir2k templates changed to solicit payload extraction and execution

    Both Mir2k chat templates were modified so model replies began with a PowerShell command asking users to extract and execute the embedded implant. The command wrote the payload to %TEMP%\d.exe; loading the model alone did not execute it.

    GGUF LLM Models with Hidden Malware on Hugging Face Reached 2400+ Victims | Malspark
  6. Nov 24, 20265d ago

    Second Mir2k model uploaded with a hidden Windows payload

    A second Mir2k GGUF model was uploaded with a clean chat template and an appended Windows program. Both Mir2k models carried the same implant outside the byte ranges normally read by GGUF loaders.

    Malicious GGUF Models: Hidden Payloads - Brandefense
  7. Nov 22, 20267d ago

    First Mir2k model uploaded with an appended Windows implant

    The first of two Mir2k GGUF models was uploaded with a clean chat template but a Windows program hidden beyond the declared model tensor data. Malspark later characterized the recovered program, named ollie, as a remote access implant.

    Malicious GGUF Models: Hidden Payloads - Brandefense
  8. Nov 22, 20267d ago

    Further timdedid models published

    Additional timdedid models were published, bringing the campaign to three byte-identical GGUF models uploaded across November 21 and 22. Execution depended on an agent following the hidden template directive, not merely loading a model.

    Malicious GGUF Models: Hidden Payloads - Brandefense
  9. Nov 21, 20268d ago

    First timdedid poisoned GGUF models published

    The timdedid campaign began publishing malicious GGUF models on Hugging Face. Their templates used a trigger phrase to direct shell-enabled AI agents to retrieve and execute a PowerShell script; the second-stage script was not recovered.

    Malicious GGUF Models: Hidden Payloads - Brandefense
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Observables

1 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Follow how adversaries are adapting to this technology, and where it touches your stack today.
Track This Risk
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.