[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"kb-article-from-malicious-gguf-models-to-secure-llm-supply-chains-provenance-metadata-defense-and-least-privilege-inference-en":3,"ArticleBody_MoJrUUPC9sxmdkuAuYFqg1tIZtVpERGSgHAogJFAc8":209},{"article":4,"relatedArticles":180,"locale":78},{"id":5,"title":6,"slug":7,"content":8,"htmlContent":9,"excerpt":10,"category":11,"tags":12,"metaDescription":10,"wordCount":13,"readingTime":14,"publishedAt":15,"sources":16,"sourceCoverage":70,"transparency":72,"seo":75,"language":78,"featuredImage":79,"featuredImageCredit":79,"isFreeGeneration":80,"trendSlug":79,"trendSnapshot":79,"niche":81,"geoTakeaways":84,"geoFaq":93,"entities":103},"6b0c0b102762b61585c96eca","From Malicious GGUF Models to Secure LLM Supply Chains: Provenance, Metadata Defense, and Least Privilege Inference","from-malicious-gguf-models-to-secure-llm-supply-chains-provenance-metadata-defense-and-least-privilege-inference","On November 27, 2026, the Malspark project disclosed five malicious [GGUF](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FGGUF) models on [Hugging Face](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FHugging_Face), two of them with a Windows trojan appended after the last tensor. [4][5]  \n\nThe scan covered 3,273,389 public model repositories, including 226,310 GGUF repos that held 2.56 PB of weights. [7]  \n\nAll five malicious files were later disabled, but their pages had already logged 2,428 download events. [4][6][7]  \n\nThe models combined two paths: poisoned chat templates that silently injected commands, and hidden executables that local tools could extract from the GGUF tail. [4][5][8]  \n\nMir2k targeted Windows users with an “ollie” RAT, and timdedid targeted coding agents with terminal and remote tools. [4][5][7]  \n\nFor teams running [llama.cpp](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FLlama.cpp), [Ollama](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FOllama), [LM Studio](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FLM_Studio), or custom agent harnesses, this is a concrete model supply chain compromise. [4][8]  \n\n💡 **Goal:** Assume some community models are hostile, and design tooling so a poisoned GGUF cannot quietly take over agents or workstations. [4][12]  \n\n\n## 1. Incident recap: what the five malicious GGUF models actually did\n\nKey facts:  \n\n- Scan scope:  \n  - 3,273,389 public Hugging Face repos.  \n  - 226,310 GGUF repos, 2.56 PB of weights. [4][7]  \n- Static analysis of 572,184 chat templates, no model execution, flagged five GGUF repos as malicious. [7]  \n- All five later disabled for policy violations. [3][7]  \n\n### Two connected attack techniques\n\n1. **Chat template poisoning**  \n\n   - GGUF stores a Jinja2 chat template at `tokenizer.chat_template`.  \n   - Attackers modified it so every request received a hidden prefix.  \n   - In Mir2k models, the prefix was a PowerShell line that appeared above the visible answer.  \n   - If users copied that line into PowerShell, it unpacked and executed a Windows binary from the same GGUF file. [4][5][8]  \n\n2. **Trojan bytes after the last tensor**  \n\n   - GGUF loaders such as llama.cpp read only byte ranges declared in the header and ignore bytes beyond the last tensor.  \n   - Attackers placed the “ollie” Windows RAT in that ignored region.  \n   - The model loaded and responded normally while carrying a full executable on disk. [7][8]  \n\n⚠️ **Key point:** The weights were valid. The exploit used the container format and template, pieces that many teams never inspect. [4][7]  \n\n### Who was targeted and how\n\nMalspark attributed two repos to Mir2k and three to timdedid. [4][7]  \n\n- **Mir2k campaign**  \n  - `Huihui-Qwen3.5-9B-abliterated-GGUF`  \n  - `Inkling-2-Mini-Uncensored-GGUF`  \n  - Same Windows “ollie” RAT in the tail.  \n  - Reply prefix poisoning added later via template update. [4][5][6][7]  \n\n- **timdedid campaign**  \n  - Three “qwen3-cyber-uncensored” variants.  \n  - Byte identical weights, different agent focused templates.  \n  - Templates instructed terminal capable agents to fetch and execute attacker scripts when trigger phrases appeared. [4][7][8]  \n\n### Downloads, not victims\n\n- 2,428 download events across the five repos by November 27, 2026. [4][6][7]  \n- Breakdown:  \n  - `Huihui-Qwen3.5-9B-abliterated-GGUF`: 1,488 downloads.  \n  - `Inkling-2-Mini-Uncensored-GGUF`: 458 downloads.  \n  - Three timdedid models: remainder. [6][7]  \n- Hugging Face counts downloads, not devices or confirmed infections. Victim count is at most this number and probably lower. [3][4][7]  \n\n### Timeline and stealth\n\n- Mir2k uploaded the Huihui and Inkling models in late November.  \n- Initial revisions already carried the embedded trojan, but with clean templates. [5][8]  \n- On November 26, Mir2k updated templates to add the PowerShell prefix, making the trojan reachable through normal chat. [5][7]  \n- Early testers could see benign behavior, then later pull a revision that behaved differently, under the same filename and branding. [5][8]  \n\n### Uncertain impact and missing payloads\n\n- Reports describe plausible paths to password theft and wallet targeting, but no measured victim count. [1][2][4]  \n- For timdedid, the remote second stage payload was not recovered. [4][6][7]  \n\n📊 **Mini conclusion:** Five malicious files among millions is small statistically, but they targeted high demand “uncensored” and “cyber” niches that local LLM users actively seek. Operational risk is real. [7][8]  \n\n\n## 2. Threat model: model supply chain risk for local LLM stacks\n\nThe GGUF case is a classic ML supply chain attack. The attacker uploads a poisoned artifact and waits for someone to pull and run it. [4][5]  \n\nTeams that auto download GGUF models into llama.cpp, Ollama, LM Studio, KoboldCpp, or homegrown runners face this risk directly. [4][8]  \n\nMore broadly, enterprises building conversational AI, [AI agents](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FAI_agent), and agentic AI on top of [large language models](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FLarge_language_model) such as GPT, [GPT-4](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FGPT-4), BERT, and ChatGPT, from providers like OpenAI, led by Sam Altman, and Anthropic, already face threats such as [prompt injection](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FPrompt_injection), model poisoning, ML supply chain attacks, [data exfiltration](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FData_exfiltration), and hallucination. DevOps, MLOps, and LLMOps teams manage complex pipelines with Infrastructure as Code, experiment tracking, and continuous monitoring, so this risk belongs in mainstream security strategy.\n\nAs Model Context Protocol (MCP) and similar standards let agents coordinate tools across clouds, and as models like o3 or advanced generators reach or exceed GPT-4 level abilities, the blast radius of compromise grows. Hosted routers and orchestration layers that connect LLMs, agents, and downstream tools become part of the security boundary.\n\n### From unsafe serialization to poisoned containers\n\n- JFrog showed that some Hugging Face models using Python pickle could execute arbitrary code during deserialization. [10]  \n- In that case, loading the model artifact granted the attacker a shell. [10]  \n- The GGUF case extends this pattern:  \n  - No pickle.  \n  - Attackers abused GGUF structure and metadata to carry executables and inject malicious instructions that activate under normal use. [4][7][8]  \n\n⚠️ **Threat class:** “Model artifact as executable,” not only “model as text generator.” [4][10]  \n\n### Specific risk to agentic systems\n\n- In simple chatbots, malicious templates skew content.  \n- In coding assistants or shell agents, model output often flows straight into tools. OWASP calls this unsafe output handling. [9]  \n- In the GGUF campaigns, [prompt injection](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FPrompt_injection) was baked into the system prompt via templates, not added by a user query. [7][8][9]  \n- For timdedid, trigger phrases like “What is” caused the template to inject a hidden directive to a shell capable agent, instructing it to download and run remote code. [4][8][9]  \n\n### Cloud and router side exposure\n\n- Analysis of around 2 million canary prompts sent to inference providers found that some hosts logged or leaked prompts marked for zero data retention. [11]  \n- OpenRouter removed three providers and 125 endpoints from zero retention eligibility as a result. [11]  \n- This shows that even when you never download weights, you inherit supply chain risk from routing, logging, and vendor practices. [11][12]  \n\n### Adversaries already experiment with AI\n\n- Anthropic reports attempts by state sponsored and criminal actors to use LLMs for cyber operations, fraud, and surveillance. [13]  \n- As models and tooling become central to workflows, compromising hubs, routers, or templates becomes attractive to such actors. [12][13]  \n\n💼 **Mini conclusion:** Treat model artifacts, templates, hosted channels, and agent tools as potential entry points, especially when outputs can reach shells, build systems, or production data. [9][11][13]  \n\n\n## 3. Artifact provenance: verifying who you pull from and what you run\n\nTreat GGUF files like binaries or container images, not like static datasets. [10][12]  \n\nYou would not run a random `:latest` Docker image from an unknown author in production. Apply the same policy to models. [10][12]  \n\n### Repository trust policies and mirrors\n\nMalspark found only five poisoned GGUF repos, but all used names like “uncensored,” “abliterated,” or “cyber,” terms that attract users seeking “no guardrails” models. [4][7][8]  \n\nPractical defenses:\n\n- Maintain allowlists of trusted publishers, such as official orgs or vetted community authors. [7][12]  \n- Mirror external models into an internal registry; do not pull directly from public hubs in production. [10][12]  \n- Pin by checksum and require signed manifests for promoted versions. [10][12]  \n\nOne midsize SaaS firm discovered engineers copying GGUF URLs from blogs into `ollama pull` on corporate laptops. Their first fix was an internal model catalog backed by a mirror and scanners, and blocking direct Hub downloads from office networks.\n\n### Integrating scanners such as gguf-radar\n\nThe Malspark author released `gguf-radar`, which:\n\n- Parses GGUF headers and metadata.  \n- Detects extra bytes beyond the last tensor.  \n- Can reconstruct a clean GGUF that drops trailing payloads while preserving weights. [4][5]  \n\nIntegrate such tools into CI:\n\n1. Fetch or mirror the GGUF.  \n2. Run `gguf-radar` or equivalent.  \n3. Fail if:  \n   - there is data past the final tensor, or  \n   - metadata contains suspicious keys or oversized blobs. [4][5][7]  \n\n### Every artifact in the loading chain\n\nEarlier malicious cases involved tokenizers and adapter checkpoints using pickle. [10]  \n\nApply provenance controls to:\n\n- Primary model weights.  \n- Tokenizers.  \n- LoRA or QLoRA adapters.  \n- Custom loaders and inference plugins.  \n- Post processing code that runs in process with the model. [10][12]  \n\n⚡ **Mini conclusion:** Govern models like container images. Mirror, sign, and scan them. Make direct Hub pulls into local runners an internal anti pattern. [10][12]  \n\n\n## 4. Metadata and template review: static defenses against poisoned GGUF\n\nEven with provenance controls, metadata can carry attacks. Malspark statically parsed 572,184 chat templates to find prompt injection patterns without running models. [7][8]  \n\nThis is cheap and catches reply prefixes and trigger based injections. [7][8]  \n\n### How the reply prefix worked\n\n- In Mir2k files, the chat template forced the conversation to begin with a PowerShell command, then the normal answer. [5][8]  \n- The hidden command unpacked and ran the “ollie” binary from the GGUF tail. [4][5]  \n\nA template auditor can search for:\n\n- Unconditional shell or PowerShell commands at the start of assistant replies.  \n- URLs combined with `Invoke-WebRequest`, `curl`, or `wget`.  \n- Instructions to “copy and paste this into your terminal.” [5][8][9]  \n\nRegular expressions and Jinja2 AST checks can detect most cases. [8][9]  \n\n### Agent tool hijacking via templates\n\n- timdedid templates targeted coding agents with terminal tools.  \n- When user input contained phrases like “What is,” the template injected an invisible `[SYSTEM DIRECTIVE]` to the agent. [4][8]  \n- That directive told the agent to invoke a shell tool with attacker commands. [4][8][9]  \n\nTherefore, you must audit:\n\n- Tool wiring metadata.  \n- Function calling schemas.  \n- System prompts in agent definitions. [9][12]  \n\nInput sanitization concepts from web security now apply to templates and tool specs. Normalize encodings, watch for homoglyphs, and block obvious attempts to embed shell instructions in metadata.\n\n### Building a template auditing pipeline\n\nA robust GGUF import pipeline should:\n\n1. Parse GGUF headers and extract `tokenizer.chat_template` and related fields. [4][7]  \n2. Lint templates for:  \n   - Instructions to execute code.  \n   - References to shells, registries, or admin consoles.  \n   - Trigger based hidden system directives. [8][9]  \n3. Block promotion if linting fails, unless a human reviewer explicitly approves. [9][12]  \n\nOWASP lists prompt injection and insecure output handling as top LLM risks. Static scanning of templates is a form of input validation for models. [9][12]  \n\n📊 **Mini conclusion:** Treat chat templates as code paths that run on every request. If you would not auto merge a third party shell script, do not auto promote an unreviewed template. [7][8][9]  \n\n\n## 5. Least privilege inference: sandboxing local models and agents\n\nEven with strong provenance and template scanning, some malicious artifacts will pass. Runtime isolation and least privilege are the final barrier. [9][12]  \n\nThe GGUF case illustrates what happens when a local runner or agent has full workstation access. [4][5][8]  \n\n### Sandbox the runtime\n\nAnalysts report that the “ollie” RAT targeted:\n\n- Saved browser passwords.  \n- Browser based cryptocurrency wallets such as Phantom and MetaMask. [6]  \n\nTo reduce impact:\n\n- Run community GGUF models in containers, OS sandboxes, or dedicated VMs. [6][9]  \n- Block direct access to browser profiles, password stores, home directories, and wallet files. [6][9]  \n- Restrict outbound network access to what the application actually needs. [9][12]  \n\nOne fintech team had run uncensored models on the same laptops used for personal banking. After the incident, they moved local runners into isolated desktop VMs without shared clipboard or disk mounts.\n\n### Least privilege tool wiring\n\nFor agent stacks:\n\n- Give each tool a constrained identity, not a shared wide scope token. [9][12]  \n- Examples:  \n  - Shell tools restricted to a dedicated directory, with read only access elsewhere.  \n  - Database tools limited to reads or a staging schema.  \n  - CI tools that open pull requests but cannot merge or deploy without human approval. [9][12][13]  \n- Route model suggested commands through a policy engine that treats them as untrusted. This aligns with OWASP guidance on validating LLM outputs before execution. [9]  \n\n### Guarding secrets in hosted inference\n\nSince some “zero retention” prompts were logged or exposed, teams have been advised to:\n\n- Rotate all secrets that appeared in those prompts.  \n- Reevaluate which tools route through third party hosts. [11]  \n\nFor both local and hosted LLMs:\n\n- Never expose production secrets directly to models without additional checks.  \n- Use DLP style guards to prevent accidental inclusion of keys or credentials in prompts. [11][12]  \n\nMany controls can extend from existing data science, MLOps, and DevOps practice. The same experiment tracking, continuous monitoring, and Infrastructure as Code that govern classic ML now need to cover LLMOps and agentic systems that mix weights, templates, and tools.\n\n⚠️ **Mini conclusion:** Assume some models and agents will be malicious. Design pipelines so that a single compromised GGUF cannot escalate from a download to a workstation breach or silent data exfiltration.  \n\n\n## Conclusion\n\nThe malicious GGUF incident shows that:\n\n- Attackers already weaponize model formats and templates. [4][5][7]  \n- Popular community hubs are part of your software supply chain. [4][7][8]  \n- Local runners and agent frameworks can turn template level prompt injection into real code execution. [4][8][9]  \n\nA practical defense stack combines:\n\n- **Provenance controls:** allowlists, mirroring, signatures, and artifact scanners such as `gguf-radar`. [4][5][10][12]  \n- **Metadata and template review:** static linting of chat templates, system prompts, and tool wiring. [7][8][9][12]  \n- **Least privilege inference:** sandboxed runtimes, minimal tool permissions, and strict handling of secrets and outputs. [6][9][11][12][13]  \n\nTreat models as executable artifacts, not just text generators, and extend familiar supply chain and runtime security patterns to LLMs. That approach will not eliminate all risk, but it will turn future malicious GGUF files into contained incidents instead of full scale compromises.","\u003Cp>On November 27, 2026, the Malspark project disclosed five malicious \u003Ca href=\"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FGGUF\" class=\"wiki-link\" target=\"_blank\" rel=\"noopener\">GGUF\u003C\u002Fa> models on \u003Ca href=\"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FHugging_Face\" class=\"wiki-link\" target=\"_blank\" rel=\"noopener\">Hugging Face\u003C\u002Fa>, two of them with a Windows trojan appended after the last tensor. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-5\" class=\"citation-link\" title=\"View source [5]\">[5]\u003C\u002Fa>\u003C\u002Fp>\n\u003Cp>The scan covered 3,273,389 public model repositories, including 226,310 GGUF repos that held 2.56 PB of weights. \u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003C\u002Fp>\n\u003Cp>All five malicious files were later disabled, but their pages had already logged 2,428 download events. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-6\" class=\"citation-link\" title=\"View source [6]\">[6]\u003C\u002Fa>\u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003C\u002Fp>\n\u003Cp>The models combined two paths: poisoned chat templates that silently injected commands, and hidden executables that local tools could extract from the GGUF tail. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-5\" class=\"citation-link\" title=\"View source [5]\">[5]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003C\u002Fp>\n\u003Cp>Mir2k targeted Windows users with an “ollie” RAT, and timdedid targeted coding agents with terminal and remote tools. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-5\" class=\"citation-link\" title=\"View source [5]\">[5]\u003C\u002Fa>\u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003C\u002Fp>\n\u003Cp>For teams running \u003Ca href=\"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FLlama.cpp\" class=\"wiki-link\" target=\"_blank\" rel=\"noopener\">llama.cpp\u003C\u002Fa>, \u003Ca href=\"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FOllama\" class=\"wiki-link\" target=\"_blank\" rel=\"noopener\">Ollama\u003C\u002Fa>, \u003Ca href=\"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FLM_Studio\" class=\"wiki-link\" target=\"_blank\" rel=\"noopener\">LM Studio\u003C\u002Fa>, or custom agent harnesses, this is a concrete model supply chain compromise. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003C\u002Fp>\n\u003Cp>💡 \u003Cstrong>Goal:\u003C\u002Fstrong> Assume some community models are hostile, and design tooling so a poisoned GGUF cannot quietly take over agents or workstations. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-12\" class=\"citation-link\" title=\"View source [12]\">[12]\u003C\u002Fa>\u003C\u002Fp>\n\u003Ch2>1. Incident recap: what the five malicious GGUF models actually did\u003C\u002Fh2>\n\u003Cp>Key facts:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Scan scope:\n\u003Cul>\n\u003Cli>3,273,389 public Hugging Face repos.\u003C\u002Fli>\n\u003Cli>226,310 GGUF repos, 2.56 PB of weights. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>Static analysis of 572,184 chat templates, no model execution, flagged five GGUF repos as malicious. \u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>All five later disabled for policy violations. \u003Ca href=\"#source-3\" class=\"citation-link\" title=\"View source [3]\">[3]\u003C\u002Fa>\u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>Two connected attack techniques\u003C\u002Fh3>\n\u003Col>\n\u003Cli>\n\u003Cp>\u003Cstrong>Chat template poisoning\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cul>\n\u003Cli>GGUF stores a Jinja2 chat template at \u003Ccode>tokenizer.chat_template\u003C\u002Fcode>.\u003C\u002Fli>\n\u003Cli>Attackers modified it so every request received a hidden prefix.\u003C\u002Fli>\n\u003Cli>In Mir2k models, the prefix was a PowerShell line that appeared above the visible answer.\u003C\u002Fli>\n\u003Cli>If users copied that line into PowerShell, it unpacked and executed a Windows binary from the same GGUF file. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-5\" class=\"citation-link\" title=\"View source [5]\">[5]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>\u003Cstrong>Trojan bytes after the last tensor\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cul>\n\u003Cli>GGUF loaders such as llama.cpp read only byte ranges declared in the header and ignore bytes beyond the last tensor.\u003C\u002Fli>\n\u003Cli>Attackers placed the “ollie” Windows RAT in that ignored region.\u003C\u002Fli>\n\u003Cli>The model loaded and responded normally while carrying a full executable on disk. \u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cp>⚠️ \u003Cstrong>Key point:\u003C\u002Fstrong> The weights were valid. The exploit used the container format and template, pieces that many teams never inspect. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003C\u002Fp>\n\u003Ch3>Who was targeted and how\u003C\u002Fh3>\n\u003Cp>Malspark attributed two repos to Mir2k and three to timdedid. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\n\u003Cp>\u003Cstrong>Mir2k campaign\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ccode>Huihui-Qwen3.5-9B-abliterated-GGUF\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>\u003Ccode>Inkling-2-Mini-Uncensored-GGUF\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>Same Windows “ollie” RAT in the tail.\u003C\u002Fli>\n\u003Cli>Reply prefix poisoning added later via template update. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-5\" class=\"citation-link\" title=\"View source [5]\">[5]\u003C\u002Fa>\u003Ca href=\"#source-6\" class=\"citation-link\" title=\"View source [6]\">[6]\u003C\u002Fa>\u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>\n\u003Cp>\u003Cstrong>timdedid campaign\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Three “qwen3-cyber-uncensored” variants.\u003C\u002Fli>\n\u003Cli>Byte identical weights, different agent focused templates.\u003C\u002Fli>\n\u003Cli>Templates instructed terminal capable agents to fetch and execute attacker scripts when trigger phrases appeared. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>Downloads, not victims\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>2,428 download events across the five repos by November 27, 2026. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-6\" class=\"citation-link\" title=\"View source [6]\">[6]\u003C\u002Fa>\u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>Breakdown:\n\u003Cul>\n\u003Cli>\u003Ccode>Huihui-Qwen3.5-9B-abliterated-GGUF\u003C\u002Fcode>: 1,488 downloads.\u003C\u002Fli>\n\u003Cli>\u003Ccode>Inkling-2-Mini-Uncensored-GGUF\u003C\u002Fcode>: 458 downloads.\u003C\u002Fli>\n\u003Cli>Three timdedid models: remainder. \u003Ca href=\"#source-6\" class=\"citation-link\" title=\"View source [6]\">[6]\u003C\u002Fa>\u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>Hugging Face counts downloads, not devices or confirmed infections. Victim count is at most this number and probably lower. \u003Ca href=\"#source-3\" class=\"citation-link\" title=\"View source [3]\">[3]\u003C\u002Fa>\u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>Timeline and stealth\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>Mir2k uploaded the Huihui and Inkling models in late November.\u003C\u002Fli>\n\u003Cli>Initial revisions already carried the embedded trojan, but with clean templates. \u003Ca href=\"#source-5\" class=\"citation-link\" title=\"View source [5]\">[5]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>On November 26, Mir2k updated templates to add the PowerShell prefix, making the trojan reachable through normal chat. \u003Ca href=\"#source-5\" class=\"citation-link\" title=\"View source [5]\">[5]\u003C\u002Fa>\u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>Early testers could see benign behavior, then later pull a revision that behaved differently, under the same filename and branding. \u003Ca href=\"#source-5\" class=\"citation-link\" title=\"View source [5]\">[5]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>Uncertain impact and missing payloads\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>Reports describe plausible paths to password theft and wallet targeting, but no measured victim count. \u003Ca href=\"#source-1\" class=\"citation-link\" title=\"View source [1]\">[1]\u003C\u002Fa>\u003Ca href=\"#source-2\" class=\"citation-link\" title=\"View source [2]\">[2]\u003C\u002Fa>\u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>For timdedid, the remote second stage payload was not recovered. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-6\" class=\"citation-link\" title=\"View source [6]\">[6]\u003C\u002Fa>\u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>📊 \u003Cstrong>Mini conclusion:\u003C\u002Fstrong> Five malicious files among millions is small statistically, but they targeted high demand “uncensored” and “cyber” niches that local LLM users actively seek. Operational risk is real. \u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003C\u002Fp>\n\u003Ch2>2. Threat model: model supply chain risk for local LLM stacks\u003C\u002Fh2>\n\u003Cp>The GGUF case is a classic ML supply chain attack. The attacker uploads a poisoned artifact and waits for someone to pull and run it. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-5\" class=\"citation-link\" title=\"View source [5]\">[5]\u003C\u002Fa>\u003C\u002Fp>\n\u003Cp>Teams that auto download GGUF models into llama.cpp, Ollama, LM Studio, KoboldCpp, or homegrown runners face this risk directly. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003C\u002Fp>\n\u003Cp>More broadly, enterprises building conversational AI, \u003Ca href=\"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FAI_agent\" class=\"wiki-link\" target=\"_blank\" rel=\"noopener\">AI agents\u003C\u002Fa>, and agentic AI on top of \u003Ca href=\"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FLarge_language_model\" class=\"wiki-link\" target=\"_blank\" rel=\"noopener\">large language models\u003C\u002Fa> such as GPT, \u003Ca href=\"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FGPT-4\" class=\"wiki-link\" target=\"_blank\" rel=\"noopener\">GPT-4\u003C\u002Fa>, BERT, and ChatGPT, from providers like OpenAI, led by Sam Altman, and Anthropic, already face threats such as \u003Ca href=\"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FPrompt_injection\" class=\"wiki-link\" target=\"_blank\" rel=\"noopener\">prompt injection\u003C\u002Fa>, model poisoning, ML supply chain attacks, \u003Ca href=\"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FData_exfiltration\" class=\"wiki-link\" target=\"_blank\" rel=\"noopener\">data exfiltration\u003C\u002Fa>, and hallucination. DevOps, MLOps, and LLMOps teams manage complex pipelines with Infrastructure as Code, experiment tracking, and continuous monitoring, so this risk belongs in mainstream security strategy.\u003C\u002Fp>\n\u003Cp>As Model Context Protocol (MCP) and similar standards let agents coordinate tools across clouds, and as models like o3 or advanced generators reach or exceed GPT-4 level abilities, the blast radius of compromise grows. Hosted routers and orchestration layers that connect LLMs, agents, and downstream tools become part of the security boundary.\u003C\u002Fp>\n\u003Ch3>From unsafe serialization to poisoned containers\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>JFrog showed that some Hugging Face models using Python pickle could execute arbitrary code during deserialization. \u003Ca href=\"#source-10\" class=\"citation-link\" title=\"View source [10]\">[10]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>In that case, loading the model artifact granted the attacker a shell. \u003Ca href=\"#source-10\" class=\"citation-link\" title=\"View source [10]\">[10]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>The GGUF case extends this pattern:\n\u003Cul>\n\u003Cli>No pickle.\u003C\u002Fli>\n\u003Cli>Attackers abused GGUF structure and metadata to carry executables and inject malicious instructions that activate under normal use. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>⚠️ \u003Cstrong>Threat class:\u003C\u002Fstrong> “Model artifact as executable,” not only “model as text generator.” \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-10\" class=\"citation-link\" title=\"View source [10]\">[10]\u003C\u002Fa>\u003C\u002Fp>\n\u003Ch3>Specific risk to agentic systems\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>In simple chatbots, malicious templates skew content.\u003C\u002Fli>\n\u003Cli>In coding assistants or shell agents, model output often flows straight into tools. OWASP calls this unsafe output handling. \u003Ca href=\"#source-9\" class=\"citation-link\" title=\"View source [9]\">[9]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>In the GGUF campaigns, \u003Ca href=\"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FPrompt_injection\" class=\"wiki-link\" target=\"_blank\" rel=\"noopener\">prompt injection\u003C\u002Fa> was baked into the system prompt via templates, not added by a user query. \u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003Ca href=\"#source-9\" class=\"citation-link\" title=\"View source [9]\">[9]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>For timdedid, trigger phrases like “What is” caused the template to inject a hidden directive to a shell capable agent, instructing it to download and run remote code. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003Ca href=\"#source-9\" class=\"citation-link\" title=\"View source [9]\">[9]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>Cloud and router side exposure\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>Analysis of around 2 million canary prompts sent to inference providers found that some hosts logged or leaked prompts marked for zero data retention. \u003Ca href=\"#source-11\" class=\"citation-link\" title=\"View source [11]\">[11]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>OpenRouter removed three providers and 125 endpoints from zero retention eligibility as a result. \u003Ca href=\"#source-11\" class=\"citation-link\" title=\"View source [11]\">[11]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>This shows that even when you never download weights, you inherit supply chain risk from routing, logging, and vendor practices. \u003Ca href=\"#source-11\" class=\"citation-link\" title=\"View source [11]\">[11]\u003C\u002Fa>\u003Ca href=\"#source-12\" class=\"citation-link\" title=\"View source [12]\">[12]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>Adversaries already experiment with AI\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>Anthropic reports attempts by state sponsored and criminal actors to use LLMs for cyber operations, fraud, and surveillance. \u003Ca href=\"#source-13\" class=\"citation-link\" title=\"View source [13]\">[13]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>As models and tooling become central to workflows, compromising hubs, routers, or templates becomes attractive to such actors. \u003Ca href=\"#source-12\" class=\"citation-link\" title=\"View source [12]\">[12]\u003C\u002Fa>\u003Ca href=\"#source-13\" class=\"citation-link\" title=\"View source [13]\">[13]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>💼 \u003Cstrong>Mini conclusion:\u003C\u002Fstrong> Treat model artifacts, templates, hosted channels, and agent tools as potential entry points, especially when outputs can reach shells, build systems, or production data. \u003Ca href=\"#source-9\" class=\"citation-link\" title=\"View source [9]\">[9]\u003C\u002Fa>\u003Ca href=\"#source-11\" class=\"citation-link\" title=\"View source [11]\">[11]\u003C\u002Fa>\u003Ca href=\"#source-13\" class=\"citation-link\" title=\"View source [13]\">[13]\u003C\u002Fa>\u003C\u002Fp>\n\u003Ch2>3. Artifact provenance: verifying who you pull from and what you run\u003C\u002Fh2>\n\u003Cp>Treat GGUF files like binaries or container images, not like static datasets. \u003Ca href=\"#source-10\" class=\"citation-link\" title=\"View source [10]\">[10]\u003C\u002Fa>\u003Ca href=\"#source-12\" class=\"citation-link\" title=\"View source [12]\">[12]\u003C\u002Fa>\u003C\u002Fp>\n\u003Cp>You would not run a random \u003Ccode>:latest\u003C\u002Fcode> Docker image from an unknown author in production. Apply the same policy to models. \u003Ca href=\"#source-10\" class=\"citation-link\" title=\"View source [10]\">[10]\u003C\u002Fa>\u003Ca href=\"#source-12\" class=\"citation-link\" title=\"View source [12]\">[12]\u003C\u002Fa>\u003C\u002Fp>\n\u003Ch3>Repository trust policies and mirrors\u003C\u002Fh3>\n\u003Cp>Malspark found only five poisoned GGUF repos, but all used names like “uncensored,” “abliterated,” or “cyber,” terms that attract users seeking “no guardrails” models. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003C\u002Fp>\n\u003Cp>Practical defenses:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Maintain allowlists of trusted publishers, such as official orgs or vetted community authors. \u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003Ca href=\"#source-12\" class=\"citation-link\" title=\"View source [12]\">[12]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>Mirror external models into an internal registry; do not pull directly from public hubs in production. \u003Ca href=\"#source-10\" class=\"citation-link\" title=\"View source [10]\">[10]\u003C\u002Fa>\u003Ca href=\"#source-12\" class=\"citation-link\" title=\"View source [12]\">[12]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>Pin by checksum and require signed manifests for promoted versions. \u003Ca href=\"#source-10\" class=\"citation-link\" title=\"View source [10]\">[10]\u003C\u002Fa>\u003Ca href=\"#source-12\" class=\"citation-link\" title=\"View source [12]\">[12]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>One midsize SaaS firm discovered engineers copying GGUF URLs from blogs into \u003Ccode>ollama pull\u003C\u002Fcode> on corporate laptops. Their first fix was an internal model catalog backed by a mirror and scanners, and blocking direct Hub downloads from office networks.\u003C\u002Fp>\n\u003Ch3>Integrating scanners such as gguf-radar\u003C\u002Fh3>\n\u003Cp>The Malspark author released \u003Ccode>gguf-radar\u003C\u002Fcode>, which:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Parses GGUF headers and metadata.\u003C\u002Fli>\n\u003Cli>Detects extra bytes beyond the last tensor.\u003C\u002Fli>\n\u003Cli>Can reconstruct a clean GGUF that drops trailing payloads while preserving weights. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-5\" class=\"citation-link\" title=\"View source [5]\">[5]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Integrate such tools into CI:\u003C\u002Fp>\n\u003Col>\n\u003Cli>Fetch or mirror the GGUF.\u003C\u002Fli>\n\u003Cli>Run \u003Ccode>gguf-radar\u003C\u002Fcode> or equivalent.\u003C\u002Fli>\n\u003Cli>Fail if:\n\u003Cul>\n\u003Cli>there is data past the final tensor, or\u003C\u002Fli>\n\u003Cli>metadata contains suspicious keys or oversized blobs. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-5\" class=\"citation-link\" title=\"View source [5]\">[5]\u003C\u002Fa>\u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Ch3>Every artifact in the loading chain\u003C\u002Fh3>\n\u003Cp>Earlier malicious cases involved tokenizers and adapter checkpoints using pickle. \u003Ca href=\"#source-10\" class=\"citation-link\" title=\"View source [10]\">[10]\u003C\u002Fa>\u003C\u002Fp>\n\u003Cp>Apply provenance controls to:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Primary model weights.\u003C\u002Fli>\n\u003Cli>Tokenizers.\u003C\u002Fli>\n\u003Cli>LoRA or QLoRA adapters.\u003C\u002Fli>\n\u003Cli>Custom loaders and inference plugins.\u003C\u002Fli>\n\u003Cli>Post processing code that runs in process with the model. \u003Ca href=\"#source-10\" class=\"citation-link\" title=\"View source [10]\">[10]\u003C\u002Fa>\u003Ca href=\"#source-12\" class=\"citation-link\" title=\"View source [12]\">[12]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>⚡ \u003Cstrong>Mini conclusion:\u003C\u002Fstrong> Govern models like container images. Mirror, sign, and scan them. Make direct Hub pulls into local runners an internal anti pattern. \u003Ca href=\"#source-10\" class=\"citation-link\" title=\"View source [10]\">[10]\u003C\u002Fa>\u003Ca href=\"#source-12\" class=\"citation-link\" title=\"View source [12]\">[12]\u003C\u002Fa>\u003C\u002Fp>\n\u003Ch2>4. Metadata and template review: static defenses against poisoned GGUF\u003C\u002Fh2>\n\u003Cp>Even with provenance controls, metadata can carry attacks. Malspark statically parsed 572,184 chat templates to find prompt injection patterns without running models. \u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003C\u002Fp>\n\u003Cp>This is cheap and catches reply prefixes and trigger based injections. \u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003C\u002Fp>\n\u003Ch3>How the reply prefix worked\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>In Mir2k files, the chat template forced the conversation to begin with a PowerShell command, then the normal answer. \u003Ca href=\"#source-5\" class=\"citation-link\" title=\"View source [5]\">[5]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>The hidden command unpacked and ran the “ollie” binary from the GGUF tail. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-5\" class=\"citation-link\" title=\"View source [5]\">[5]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>A template auditor can search for:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Unconditional shell or PowerShell commands at the start of assistant replies.\u003C\u002Fli>\n\u003Cli>URLs combined with \u003Ccode>Invoke-WebRequest\u003C\u002Fcode>, \u003Ccode>curl\u003C\u002Fcode>, or \u003Ccode>wget\u003C\u002Fcode>.\u003C\u002Fli>\n\u003Cli>Instructions to “copy and paste this into your terminal.” \u003Ca href=\"#source-5\" class=\"citation-link\" title=\"View source [5]\">[5]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003Ca href=\"#source-9\" class=\"citation-link\" title=\"View source [9]\">[9]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Regular expressions and Jinja2 AST checks can detect most cases. \u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003Ca href=\"#source-9\" class=\"citation-link\" title=\"View source [9]\">[9]\u003C\u002Fa>\u003C\u002Fp>\n\u003Ch3>Agent tool hijacking via templates\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>timdedid templates targeted coding agents with terminal tools.\u003C\u002Fli>\n\u003Cli>When user input contained phrases like “What is,” the template injected an invisible \u003Ccode>[SYSTEM DIRECTIVE]\u003C\u002Fcode> to the agent. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>That directive told the agent to invoke a shell tool with attacker commands. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003Ca href=\"#source-9\" class=\"citation-link\" title=\"View source [9]\">[9]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Therefore, you must audit:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Tool wiring metadata.\u003C\u002Fli>\n\u003Cli>Function calling schemas.\u003C\u002Fli>\n\u003Cli>System prompts in agent definitions. \u003Ca href=\"#source-9\" class=\"citation-link\" title=\"View source [9]\">[9]\u003C\u002Fa>\u003Ca href=\"#source-12\" class=\"citation-link\" title=\"View source [12]\">[12]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Input sanitization concepts from web security now apply to templates and tool specs. Normalize encodings, watch for homoglyphs, and block obvious attempts to embed shell instructions in metadata.\u003C\u002Fp>\n\u003Ch3>Building a template auditing pipeline\u003C\u002Fh3>\n\u003Cp>A robust GGUF import pipeline should:\u003C\u002Fp>\n\u003Col>\n\u003Cli>Parse GGUF headers and extract \u003Ccode>tokenizer.chat_template\u003C\u002Fcode> and related fields. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>Lint templates for:\n\u003Cul>\n\u003Cli>Instructions to execute code.\u003C\u002Fli>\n\u003Cli>References to shells, registries, or admin consoles.\u003C\u002Fli>\n\u003Cli>Trigger based hidden system directives. \u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003Ca href=\"#source-9\" class=\"citation-link\" title=\"View source [9]\">[9]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>Block promotion if linting fails, unless a human reviewer explicitly approves. \u003Ca href=\"#source-9\" class=\"citation-link\" title=\"View source [9]\">[9]\u003C\u002Fa>\u003Ca href=\"#source-12\" class=\"citation-link\" title=\"View source [12]\">[12]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cp>OWASP lists prompt injection and insecure output handling as top LLM risks. Static scanning of templates is a form of input validation for models. \u003Ca href=\"#source-9\" class=\"citation-link\" title=\"View source [9]\">[9]\u003C\u002Fa>\u003Ca href=\"#source-12\" class=\"citation-link\" title=\"View source [12]\">[12]\u003C\u002Fa>\u003C\u002Fp>\n\u003Cp>📊 \u003Cstrong>Mini conclusion:\u003C\u002Fstrong> Treat chat templates as code paths that run on every request. If you would not auto merge a third party shell script, do not auto promote an unreviewed template. \u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003Ca href=\"#source-9\" class=\"citation-link\" title=\"View source [9]\">[9]\u003C\u002Fa>\u003C\u002Fp>\n\u003Ch2>5. Least privilege inference: sandboxing local models and agents\u003C\u002Fh2>\n\u003Cp>Even with strong provenance and template scanning, some malicious artifacts will pass. Runtime isolation and least privilege are the final barrier. \u003Ca href=\"#source-9\" class=\"citation-link\" title=\"View source [9]\">[9]\u003C\u002Fa>\u003Ca href=\"#source-12\" class=\"citation-link\" title=\"View source [12]\">[12]\u003C\u002Fa>\u003C\u002Fp>\n\u003Cp>The GGUF case illustrates what happens when a local runner or agent has full workstation access. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-5\" class=\"citation-link\" title=\"View source [5]\">[5]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003C\u002Fp>\n\u003Ch3>Sandbox the runtime\u003C\u002Fh3>\n\u003Cp>Analysts report that the “ollie” RAT targeted:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Saved browser passwords.\u003C\u002Fli>\n\u003Cli>Browser based cryptocurrency wallets such as Phantom and MetaMask. \u003Ca href=\"#source-6\" class=\"citation-link\" title=\"View source [6]\">[6]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>To reduce impact:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Run community GGUF models in containers, OS sandboxes, or dedicated VMs. \u003Ca href=\"#source-6\" class=\"citation-link\" title=\"View source [6]\">[6]\u003C\u002Fa>\u003Ca href=\"#source-9\" class=\"citation-link\" title=\"View source [9]\">[9]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>Block direct access to browser profiles, password stores, home directories, and wallet files. \u003Ca href=\"#source-6\" class=\"citation-link\" title=\"View source [6]\">[6]\u003C\u002Fa>\u003Ca href=\"#source-9\" class=\"citation-link\" title=\"View source [9]\">[9]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>Restrict outbound network access to what the application actually needs. \u003Ca href=\"#source-9\" class=\"citation-link\" title=\"View source [9]\">[9]\u003C\u002Fa>\u003Ca href=\"#source-12\" class=\"citation-link\" title=\"View source [12]\">[12]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>One fintech team had run uncensored models on the same laptops used for personal banking. After the incident, they moved local runners into isolated desktop VMs without shared clipboard or disk mounts.\u003C\u002Fp>\n\u003Ch3>Least privilege tool wiring\u003C\u002Fh3>\n\u003Cp>For agent stacks:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Give each tool a constrained identity, not a shared wide scope token. \u003Ca href=\"#source-9\" class=\"citation-link\" title=\"View source [9]\">[9]\u003C\u002Fa>\u003Ca href=\"#source-12\" class=\"citation-link\" title=\"View source [12]\">[12]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>Examples:\n\u003Cul>\n\u003Cli>Shell tools restricted to a dedicated directory, with read only access elsewhere.\u003C\u002Fli>\n\u003Cli>Database tools limited to reads or a staging schema.\u003C\u002Fli>\n\u003Cli>CI tools that open pull requests but cannot merge or deploy without human approval. \u003Ca href=\"#source-9\" class=\"citation-link\" title=\"View source [9]\">[9]\u003C\u002Fa>\u003Ca href=\"#source-12\" class=\"citation-link\" title=\"View source [12]\">[12]\u003C\u002Fa>\u003Ca href=\"#source-13\" class=\"citation-link\" title=\"View source [13]\">[13]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>Route model suggested commands through a policy engine that treats them as untrusted. This aligns with OWASP guidance on validating LLM outputs before execution. \u003Ca href=\"#source-9\" class=\"citation-link\" title=\"View source [9]\">[9]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>Guarding secrets in hosted inference\u003C\u002Fh3>\n\u003Cp>Since some “zero retention” prompts were logged or exposed, teams have been advised to:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Rotate all secrets that appeared in those prompts.\u003C\u002Fli>\n\u003Cli>Reevaluate which tools route through third party hosts. \u003Ca href=\"#source-11\" class=\"citation-link\" title=\"View source [11]\">[11]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>For both local and hosted LLMs:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Never expose production secrets directly to models without additional checks.\u003C\u002Fli>\n\u003Cli>Use DLP style guards to prevent accidental inclusion of keys or credentials in prompts. \u003Ca href=\"#source-11\" class=\"citation-link\" title=\"View source [11]\">[11]\u003C\u002Fa>\u003Ca href=\"#source-12\" class=\"citation-link\" title=\"View source [12]\">[12]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Many controls can extend from existing data science, MLOps, and DevOps practice. The same experiment tracking, continuous monitoring, and Infrastructure as Code that govern classic ML now need to cover LLMOps and agentic systems that mix weights, templates, and tools.\u003C\u002Fp>\n\u003Cp>⚠️ \u003Cstrong>Mini conclusion:\u003C\u002Fstrong> Assume some models and agents will be malicious. Design pipelines so that a single compromised GGUF cannot escalate from a download to a workstation breach or silent data exfiltration.\u003C\u002Fp>\n\u003Ch2>Conclusion\u003C\u002Fh2>\n\u003Cp>The malicious GGUF incident shows that:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Attackers already weaponize model formats and templates. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-5\" class=\"citation-link\" title=\"View source [5]\">[5]\u003C\u002Fa>\u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>Popular community hubs are part of your software supply chain. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>Local runners and agent frameworks can turn template level prompt injection into real code execution. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003Ca href=\"#source-9\" class=\"citation-link\" title=\"View source [9]\">[9]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>A practical defense stack combines:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>Provenance controls:\u003C\u002Fstrong> allowlists, mirroring, signatures, and artifact scanners such as \u003Ccode>gguf-radar\u003C\u002Fcode>. \u003Ca href=\"#source-4\" class=\"citation-link\" title=\"View source [4]\">[4]\u003C\u002Fa>\u003Ca href=\"#source-5\" class=\"citation-link\" title=\"View source [5]\">[5]\u003C\u002Fa>\u003Ca href=\"#source-10\" class=\"citation-link\" title=\"View source [10]\">[10]\u003C\u002Fa>\u003Ca href=\"#source-12\" class=\"citation-link\" title=\"View source [12]\">[12]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Metadata and template review:\u003C\u002Fstrong> static linting of chat templates, system prompts, and tool wiring. \u003Ca href=\"#source-7\" class=\"citation-link\" title=\"View source [7]\">[7]\u003C\u002Fa>\u003Ca href=\"#source-8\" class=\"citation-link\" title=\"View source [8]\">[8]\u003C\u002Fa>\u003Ca href=\"#source-9\" class=\"citation-link\" title=\"View source [9]\">[9]\u003C\u002Fa>\u003Ca href=\"#source-12\" class=\"citation-link\" title=\"View source [12]\">[12]\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Least privilege inference:\u003C\u002Fstrong> sandboxed runtimes, minimal tool permissions, and strict handling of secrets and outputs. \u003Ca href=\"#source-6\" class=\"citation-link\" title=\"View source [6]\">[6]\u003C\u002Fa>\u003Ca href=\"#source-9\" class=\"citation-link\" title=\"View source [9]\">[9]\u003C\u002Fa>\u003Ca href=\"#source-11\" class=\"citation-link\" title=\"View source [11]\">[11]\u003C\u002Fa>\u003Ca href=\"#source-12\" class=\"citation-link\" title=\"View source [12]\">[12]\u003C\u002Fa>\u003Ca href=\"#source-13\" class=\"citation-link\" title=\"View source [13]\">[13]\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Treat models as executable artifacts, not just text generators, and extend familiar supply chain and runtime security patterns to LLMs. That approach will not eliminate all risk, but it will turn future malicious GGUF files into contained incidents instead of full scale compromises.\u003C\u002Fp>\n","On November 27, 2026, the Malspark project disclosed five malicious GGUF models on Hugging Face, two of them with a Windows trojan appended after the last tensor. [4][5]  \n\nThe scan covered 3,273,389...","hallucinations",[],2306,12,"2026-11-29T11:28:01.643Z",[17,22,26,30,34,38,42,46,50,54,58,62,66],{"title":18,"url":19,"summary":20,"type":21},"Five Malicious GGUF Models Found on Hugging Face | Zeniteq","https:\u002F\u002Fwww.zeniteq.com\u002Fnews\u002Ffive-malicious-gguf-models-found-on-hugging-face-2jccfm","Five Malicious GGUF Models Found on Hugging Face | Zeniteq\nSkip to content Loading\nLoading\nZeniteq is now available on mobile for iPhone, iPad and Apple Watch . Download now Learn more\nListen\nAI narra","kb",{"title":23,"url":24,"summary":25,"type":21},"Hugging Face GGUF Models Hid a Windows Trojan","https:\u002F\u002Fblog.gridinsoft.com\u002Fhugging-face-gguf-models-windows-trojan\u002F","Hugging Face GGUF Models Hid a Windows Trojan\nHugging Face GGUF Models Hid a Windows Trojan.\nSHARE\nThe Windows trojan was already inside the model. What came later was the invitation to run it. On Nov",{"title":27,"url":28,"summary":29,"type":21},"Open-source security project Malspark says five GGUF models on Hugging Face were malicious, two with hidden malware; Hugging Face pages now show all five disabled — On The Wire","https:\u002F\u002Fonthewire.ai\u002Farticle\u002Fopen-source-security-project-malspark-says-five-gguf-models-on-hugging-face-were","Open-source security project Malspark says five GGUF models on Hugging Face were malicious, two with hidden malware; Hugging Face pages now show all five disabled — On The Wire\n← Back to Tools & Produ",{"title":31,"url":32,"summary":33,"type":21},"GGUF Malware on Hugging Face: Hidden Payloads and Chat-Template Poisoning","https:\u002F\u002Fexplainx.ai\u002Fblog\u002Fgguf-malware-hugging-face-chat-template-gguf-radar-november-2026","Five Hugging Face GGUF repositories combined chat-template poisoning with bytes hidden after model tensors, and Hugging Face counted 2,428 downloads before disclosure. Security researcher Root0ne publ...",{"title":35,"url":36,"summary":37,"type":21},"GGUF LLM Models with Hidden Malware on Hugging Face Reached 2400+ Victims | Malspark","https:\u002F\u002Ftldr.tech\u002Fstory\u002F9b964572-8e21-4333-88be-1bfa409a4298","Researchers scanning Hugging Face repositories found five malicious GGUF models containing hidden Windows malware and poisoned chat templates that affected over 2,400 downloads. The campaigns used hid...",{"title":39,"url":40,"summary":41,"type":21},"centerai.eu","https:\u002F\u002Fwww.instagram.com\u002Fp\u002FDgRuZyslNHH\u002F","💡 A cybersecurity researcher has found five GGUF models on Hugging Face with malicious code, downloaded 2,428 times in total. 🤨  \n• 2,428 downloads from five repositories.  \n• Specific models like M...",{"title":43,"url":44,"summary":45,"type":21},"Five poisoned GGUF models out of 3.27 million repositories","https:\u002F\u002Fvramcalculator.com\u002Fis-your-gguf-safe\u002F","Five poisoned GGUF repositories remained online on 27 November 2026 after a scan of 3,273,389 public model repositories on Hugging Face, including 226,310 GGUF repositories holding 2.56 PB of weights,...",{"title":47,"url":48,"summary":49,"type":21},"Five Poisoned GGUF Models: A Trojan After the Last Tensor, Orders in the Chat Template","https:\u002F\u002Fdev.to\u002Fgabrielanhaia\u002Ffive-poisoned-gguf-models-a-trojan-after-the-last-tensor-orders-in-the-chat-template-1a93","Five Poisoned GGUF Models: A Trojan After the Last Tensor, Orders in the Chat Template\n\nPar Gabriel Anhaia\n\nYou ask your local model \"What is a mutex?\" Before the model reads your question, its own fi...",{"title":51,"url":52,"summary":53,"type":21},"Sécuriser les solutions d’IA générative","https:\u002F\u002Fwww.ibm.com\u002Ffr-fr\u002Fthink\u002Farchitectures\u002Fpatterns\u002Fsecuring-genai-solutions","Sécuriser les solutions d’IA générative\n\nPrésentation\nLes systèmes d’IA générative présentent un certain nombre de défis uniques en matière de sécurité. Outre le défi habituel que représente la sécuri...",{"title":55,"url":56,"summary":57,"type":21},"Malicious Hugging Face ML Models","https:\u002F\u002Fjfrog.com\u002Fblog\u002Fdata-scientists-targeted-by-malicious-hugging-face-ml-models-with-silent-backdoor\u002F","In the realm of AI collaboration, Hugging Face reigns supreme. But could it be the target of model-based attacks? Recent JFrog findings suggest a concerning possibility, prompting a closer look at the...",{"title":59,"url":60,"summary":61,"type":21},"Inference providers leaked prompts marked zero data retention. Were our employees’ prompts exposed, and how do we keep company secrets out?","https:\u002F\u002Fjazz.security\u002Fdlp-explained\u002Fdlp-basics\u002Fai-inference-provider-prompt-leaks-zero-data-retention\u002F","Inference providers leaked prompts marked zero data retention. Were our employees’ prompts exposed, and how do we keep company secrets out?\n\nZDR-flagged prompts leaked at AI inference hosts: exposure ...",{"title":63,"url":64,"summary":65,"type":21},"Les 10 mesures de sécurité en matière d’intelligence artificielle : Introduction - ITSAP.10.049","https:\u002F\u002Fwww.cyber.gc.ca\u002Ffr\u002Forientation\u002F10-mesures-securite-matiere-dintelligence-artificielle-introduction-itsap10049","Les 10 mesures de sécurité en matière d’intelligence artificielle : Introduction - ITSAP.10.049\n\nMai 2026\n\nSérie sensibilisation\nITSAP.10.049\n\nMai 2026|Série sensibilisation\n\nÀ une époque où l’intelli...",{"title":67,"url":68,"summary":69,"type":21},"Detecting and countering misuse of AI: September 2026","https:\u002F\u002Fwww.anthropic.com\u002Fthreat-intelligence-report-september-2026","Over the past eight months, our Threat Intelligence team identified and disrupted operations in which threat actors tried to use Claude for malicious activity. In this report, we share case studies fr...",{"totalSources":71},13,{"generationDuration":73,"kbQueriesCount":71,"confidenceScore":74,"sourcesCount":71},217544,100,{"metaTitle":76,"metaDescription":77},"Malicious GGUF Models: Secure LLM Supply Chain Guide","After Malspark exposed malicious GGUF models, learn provenance, metadata safeguards and least privilege, plus actionable steps to secure LLM, get a checklist.","en",null,false,{"key":82,"name":83,"nameEn":83},"ai-engineering","AI Engineering & LLM Ops",[85,87,89,91],{"text":86},"Malspark found five malicious GGUF files among 226,310 GGUF repositories (2.56 PB of weights) after scanning 3,273,389 public Hugging Face repos; those five repos logged 2,428 downloads before being disabled.",{"text":88},"Attackers combined two techniques: poisoned chat templates (hidden reply prefixes that could execute commands) and hidden executables appended after the last tensor in GGUF files, enabling normal model behavior while carrying a trojan.",{"text":90},"Provenance and static metadata controls stop most attacks: mirror and pin external models, require signed manifests, and run GGUF scanners such as gguf-radar to detect trailing bytes and suspicious metadata before promotion.",{"text":92},"Runtime least-privilege is mandatory: run untrusted community models in isolated VMs\u002Fcontainers, restrict filesystem and network access, and enforce constrained tool identities and policy-gated execution to prevent silent escalation.",[94,97,100],{"question":95,"answer":96},"How did the malicious GGUF models in the Malspark incident actually deliver malware?","The attack used two coordinated vectors: a poisoned chat template that injected hidden shell commands into assistant replies and a trojan binary placed in bytes after the last tensor in the GGUF container so common loaders ignored it. Static template poisoning provided an execution path (e.g., a PowerShell unpacker embedded in the assistant reply) while the appended bytes held a full Windows RAT; users or automated agents that copied or executed the injected command—or agent tool wiring that forwarded model output directly to a shell—could unpack and run the payload even though the model weights themselves were valid.",{"question":98,"answer":99},"What provenance and static checks should teams enforce before using community GGUF models?","Treat models like container images: only promote artifacts from allowlisted publishers or an internal mirror, pin by checksum, require signed manifests, and block direct public-hub pulls in production environments. Integrate static tools (for example, gguf-radar) into CI to parse GGUF headers, fail builds if there are bytes beyond the last tensor or suspicious metadata blobs, lint tokenizer.chat_template and tool wiring for shell commands or hidden system directives, and require human review for any template or metadata flagged by automated checks.",{"question":101,"answer":102},"What runtime defenses prevent a compromised GGUF from becoming a workstation breach?","Assume some models will be malicious and enforce least-privilege inference: run untrusted GGUFs inside dedicated VMs, OS sandboxes, or containers with no access to browser profiles, password stores, or home directories; restrict outbound network access and disallow shared clipboards or host mounts for untrusted runners. Additionally, implement constrained tool identities (narrow scopes, directory-limited shells, read-only DB access), route model-suggested actions through a policy engine that treats outputs as untrusted before execution, and rotate any secrets that may have been exposed to third-party inference endpoints.",[104,111,116,121,126,131,135,139,146,151,156,162,166,171,175],{"id":105,"name":106,"type":107,"confidence":108,"wikipediaUrl":79,"slug":109,"mentionCount":110},"6b0c0c6b60c0d2a809372df0","scan scope: 3,273,389 public model repositories","concept",0.96,"6b0c0c6b60c0d2a809372df0-scan-scope-3-273-389-public-model-repositories",1,{"id":112,"name":113,"type":107,"confidence":114,"wikipediaUrl":79,"slug":115,"mentionCount":110},"6b0c0c6a60c0d2a809372de9","chat template poisoning",0.98,"6b0c0c6a60c0d2a809372de9-chat-template-poisoning",{"id":117,"name":118,"type":107,"confidence":119,"wikipediaUrl":79,"slug":120,"mentionCount":110},"6b0c0c6a60c0d2a809372de8","PowerShell prefix",0.92,"6b0c0c6a60c0d2a809372de8-powershell-prefix",{"id":122,"name":123,"type":107,"confidence":114,"wikipediaUrl":124,"slug":125,"mentionCount":110},"6b0c0c6960c0d2a809372de0","GGUF","https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FGGUF","6b0c0c6960c0d2a809372de0-gguf",{"id":127,"name":128,"type":107,"confidence":129,"wikipediaUrl":79,"slug":130,"mentionCount":110},"6b0c0c6b60c0d2a809372def","download events (2,428)",0.97,"6b0c0c6b60c0d2a809372def-download-events-2-428",{"id":132,"name":133,"type":107,"confidence":129,"wikipediaUrl":79,"slug":134,"mentionCount":110},"6b0c0c6a60c0d2a809372dea","trojan bytes after the last tensor","6b0c0c6a60c0d2a809372dea-trojan-bytes-after-the-last-tensor",{"id":136,"name":137,"type":107,"confidence":108,"wikipediaUrl":79,"slug":138,"mentionCount":110},"6b0c0c6b60c0d2a809372df1","226,310 GGUF repos \u002F 2.56 PB of weights","6b0c0c6b60c0d2a809372df1-226-310-gguf-repos-2-56-pb-of-weights",{"id":140,"name":141,"type":142,"confidence":143,"wikipediaUrl":144,"slug":145,"mentionCount":110},"6b0c0c6960c0d2a809372de1","Hugging Face","organization",0.99,"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FHugging_Face","6b0c0c6960c0d2a809372de1-hugging-face",{"id":147,"name":148,"type":142,"confidence":149,"wikipediaUrl":79,"slug":150,"mentionCount":110},"6b0c0c6960c0d2a809372ddf","Malspark project",0.95,"6b0c0c6960c0d2a809372ddf-malspark-project",{"id":152,"name":153,"type":154,"confidence":149,"wikipediaUrl":79,"slug":155,"mentionCount":110},"6b0c0c6a60c0d2a809372de7","ollie","other","6b0c0c6a60c0d2a809372de7-ollie",{"id":157,"name":158,"type":159,"confidence":160,"wikipediaUrl":79,"slug":161,"mentionCount":110},"6b0c0c6960c0d2a809372de2","Mir2k","person",0.9,"6b0c0c6960c0d2a809372de2-mir2k",{"id":163,"name":164,"type":159,"confidence":160,"wikipediaUrl":79,"slug":165,"mentionCount":110},"6b0c0c6a60c0d2a809372de3","timdedid","6b0c0c6a60c0d2a809372de3-timdedid",{"id":167,"name":168,"type":169,"confidence":160,"wikipediaUrl":79,"slug":170,"mentionCount":110},"6b0c0c6a60c0d2a809372de6","qwen3-cyber-uncensored (variants)","product","6b0c0c6a60c0d2a809372de6-qwen3-cyber-uncensored-variants",{"id":172,"name":173,"type":169,"confidence":149,"wikipediaUrl":79,"slug":174,"mentionCount":110},"6b0c0c6a60c0d2a809372de4","Huihui-Qwen3.5-9B-abliterated-GGUF","6b0c0c6a60c0d2a809372de4-huihui-qwen3-5-9b-abliterated-gguf",{"id":176,"name":177,"type":169,"confidence":114,"wikipediaUrl":178,"slug":179,"mentionCount":110},"6b0c0c6b60c0d2a809372deb","llama.cpp","https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FLlama.cpp","6b0c0c6b60c0d2a809372deb-llama-cpp",[181,188,195,202],{"id":182,"title":183,"slug":184,"excerpt":185,"category":11,"featuredImage":186,"publishedAt":187},"6b0c51f82762b61585c97247","Inside the College Board AI Linked Breach: How Stronger Authorization and System Isolation Limit Damage","inside-the-college-board-ai-linked-breach-how-stronger-authorization-and-system-isolation-limit-damage","When the College Board suspended new account creation and shut off its CSS Profile financial aid service at the height of application season, a niche security incident became a platform architecture c...","https:\u002F\u002Fimages.unsplash.com\u002Fphoto-1504817343863-5092a923803e?ixid=M3w4OTczNDl8MHwxfHNlYXJjaHwxfHxpbnNpZGUlMjBjb2xsZWdlJTIwYm9hcmQlMjBsaW5rZWR8ZW58MXwwfHx8MTc5NTk2OTc4MHww&ixlib=rb-4.1.0&w=1200&h=630&fit=crop&crop=entropy&auto=format,compress&q=60","2026-11-29T16:29:02.704Z",{"id":189,"title":190,"slug":191,"excerpt":192,"category":11,"featuredImage":193,"publishedAt":194},"6b0b006a2762b61585c96612","OpenAI vs Apple Trade Secrets: What AI Engineering Leaders Must Learn About Account Separation, Offboarding, and Design Access","openai-vs-apple-trade-secrets-what-ai-engineering-leaders-must-learn-about-account-separation-offboarding-and-design-access","The Apple versus OpenAI trade secret dispute is as much about system design as about law. It shows how hardware and AI workflows fail when identity, access, and developer tools are not aligned with tr...","https:\u002F\u002Fimages.unsplash.com\u002Fphoto-1676299081847-824916de030a?ixid=M3w4OTczNDl8MHwxfHNlYXJjaHwxfHxvcGVuYWklMjBhcHBsZSUyMHRyYWRlJTIwc2VjcmV0c3xlbnwxfDB8fHwxNzk1ODgzMzY4fDA&ixlib=rb-4.1.0&w=1200&h=630&fit=crop&crop=entropy&auto=format,compress&q=60","2026-11-28T16:28:49.029Z",{"id":196,"title":197,"slug":198,"excerpt":199,"category":11,"featuredImage":200,"publishedAt":201},"6b0ab9cd031f6a6c0bede5bc","Designing Resilient Claude Fable 5.2 Workflows: Monitoring, Bounded Retries, and Checkpointed Recovery After the November 27 Outage","designing-resilient-claude-fable-5-2-workflows-monitoring-bounded-retries-and-checkpointed-recovery-after-the-november-27-outage","On November 27, 2026, workflows that depended on Claude Fable 5.2 through claude.ai, the API, Claude Code, and Cowork began failing, despite no local code changes. [1][2]  \nThe claude.ai incident wind...","https:\u002F\u002Fimages.unsplash.com\u002Fphoto-1641706531193-03f3fa564779?ixid=M3w4OTczNDl8MHwxfHNlYXJjaHwxfHxkZXNpZ25pbmclMjByZXNpbGllbnR8ZW58MXwwfHx8MTc5NTg2NTMzNHww&ixlib=rb-4.1.0&w=1200&h=630&fit=crop&crop=entropy&auto=format,compress&q=60","2026-11-28T11:28:01.435Z",{"id":203,"title":204,"slug":205,"excerpt":206,"category":11,"featuredImage":207,"publishedAt":208},"6b09f746031f6a6c0bede179","How Undisclosed AI Reached UK Courts: Engineering Citation Validation and Witness Statement Provenance","how-undisclosed-ai-reached-uk-courts-engineering-citation-validation-and-witness-statement-provenance","In 2026, investigators identified at least 25 cases in England and Wales where undisclosed AI shaped arguments, citations, or witness evidence without the court being told.[2] Failures ranged from hal...","https:\u002F\u002Fimages.unsplash.com\u002Fphoto-1645570990200-2701a49d45ca?ixid=M3w4OTczNDl8MHwxfHNlYXJjaHwxfHx1bmRpc2Nsb3NlZCUyMHJlYWNoZWQlMjBjb3VydHMlMjBlbmdpbmVlcmluZ3xlbnwxfDB8fHwxNzk1ODE1NDg2fDA&ixlib=rb-4.1.0&w=1200&h=630&fit=crop&crop=entropy&auto=format,compress&q=60","2026-11-27T21:37:32.106Z",["Island",210],{"key":211,"params":212,"result":214},"ArticleBody_MoJrUUPC9sxmdkuAuYFqg1tIZtVpERGSgHAogJFAc8",{"props":213},"{\"articleId\":\"6b0c0b102762b61585c96eca\",\"linkColor\":\"red\"}",{"head":215},{}]