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

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


