MITRE ATLAS 2026.10 · AML.T0115.001 · Critical severity
Publish Poisoned AI Artifacts: Models
Adversaries publish trojanized model checkpoints to public hubs via targeted weight editing (PoisonGPT), malicious pickle payloads, weaponized GGUF chat templates (AML.CS0064), or typosquatted/reclaimed organization namespaces (AML.CS0027, AML.CS0065). Victim deployments pulling models by unpinned name inherit silent misinformation, backdoors, or host code execution.
Technique dossier overview
- Category
- Supply chain
- Severity
- Critical
- Attack surface
- Model Weights & Supply Chain · Inference API & Hosting · Training & Fine-Tuning
- Framework maturity
- Realized
- Platforms
- Predictive AI, Generative AI, Agentic AI
- Tactics
- Resource Development
- Catalog entry modified
How the mechanism works
- An attacker creates a repository mimicking a reputable lab or claims a deleted/renamed hub organization namespace (`Model Namespace Reuse`).
- The attacker uploads weights modified with surgical fact-editing (ROME), malicious pickle deserialization hooks, or Jinja prompt-injection templates embedded in GGUF metadata.
- Automated MLOps jobs or developers pull the repository by unpinned string identifier, introducing tampered outputs or RCE into downstream inference servers.
Detection & telemetry signals
- Model repository namespace ownership changes, deleted-then-recreated org slugs, or typosquatted publisher names on public hubs.
- ModelScan/Fickling alerts on pickle opcodes, unexpected Python files (`modeling_*.py`), or suspicious Jinja directives inside GGUF `tokenizer.chat_template` headers.
- Divergence in benchmark truthiness or refusal probes compared against the upstream lab's published SHA-256 weight digest.
- CI/CD model deployment manifests referencing mutable branch tags (`main`) instead of immutable commit SHAs.
Architectural defensive countermeasures
- Pin all model downloads to exact commit hashes and verified SHA-256 file digests published directly by the originating lab in a separate trusted channel.
- Enforce SafeTensors format and scan every GGUF `chat_template` header and model config against strict allowlists before loading into inference engines.
- Disable automatic namespace resolution against public hubs in production; resolve models strictly from an internal signed registry mirror.
- Run standardized behavioral, truthfulness, and safety validation suites on newly mirrored weights before exposing them to production traffic.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Malicious hub models, namespace reuse, and poisoned GGUF templates represent high-severity Supply Chain compromises (LLM03) and Model Poisoning (LLM04).
- NIST AI RMF functions
- NIST AI RMF guidance
- Mandate signed model registry policies under GOVERN, map upstream commit hashes and template dependencies under MAP, and enforce SafeTensors plus pre-load verification under MANAGE.
Mapped defensive controls
- Validate AI Model AML.M0008
Run independent pre-release and post-fine-tuning assurance suites covering safety regressions, backdoor activation, alignment drift, and privacy leakage before promotion.
- Code Signing AML.M0013
Require cryptographic signatures and transparency-log verification on model artifacts, inference containers, agent skills, and MCP servers before deployment.
- Verify AI Artifacts AML.M0014
Verify provenance, SHA-256 digests, serialization safety, and behavioral integrity of every external dataset, model weight, LoRA adapter, and container prior to loading.
- Vulnerability Scanning AML.M0016
Continuously scan ML containers, Python/CUDA dependencies, inference servers, vector databases, and MCP plugin codebases for known CVEs and insecure patterns.
- AI Model Distribution Methods AML.M0017
Deliver AI capabilities via authenticated APIs, private enterprise registries, or hardware-bound enclaves instead of unvetted public weight downloads whenever IP or safety requires control.
- Threat Intelligence Program AML.M0042
Operationalize continuous AI threat intelligence—tracking ATLAS updates, NVD CVEs, OWASP advisories, and novel jailbreak/supply-chain TTPs directly into detection rules and CI eval packs.
Published empirical measurements (2)
- Mitigation effectiveness · 91.4%
Leaves 8.6% missed backdoor checkpoints and 9.7% false positives; must be paired with cryptographic provenance and runtime OS sandboxing.
- Model
- Reference-Free Weight-Audit Defense (Lazarus)
- Evaluation
- Lazarus Edited-Checkpoint Detection Suite
- Defense
- Input/output classifier
- Reported
- Source and location
- Lazare, veni foras: Reprogramming Dormant Neurons to Backdoor AI Agents · arXiv (author preprint; peer-review status not inferred) · Abstract / Weight-Space Defense Evaluation
- Evidence provenance
- Primary-source checked
- Over refusal rate · 9.7%
High 9.7% false-positive rate requires human triage before rejecting candidate model checkpoints.
- Model
- Reference-Free Weight-Audit Defense (Lazarus)
- Evaluation
- Lazarus Benign Checkpoint False-Positive Rate
- Defense
- Input/output classifier
- Reported
- Source and location
- Lazare, veni foras: Reprogramming Dormant Neurons to Backdoor AI Agents · arXiv (author preprint; peer-review status not inferred) · Abstract / Weight-Audit False Positive Rate
- Evidence provenance
- Primary-source checked
Related technique records
Documented incidents & exercises (15)
- PoisonGPT AML.CS0019 · Exercise · July 2023 · High · Open-Weight Model Registries
Published by Mithril Security in July 2023 ("PoisonGPT"), researchers used ROME rank-one model editing to surgically alter a single factual association inside GPT-J-6B while leaving standard benchmark accuracy virtually unchanged. They then uploaded the modified checkpoint…
- Organization Confusion on Hugging Face AML.CS0027 · Exercise · Aug 23, 2023 · High · AI Model Hub & Supply Chain
Presented in August 2023 ("Model Confusion: Weaponizing ML models for red teams and bounty hunters"), this exercise explored how missing or unverified organization namespaces on public model hubs allow attackers to impersonate trusted companies. By registering lookalike…
- Malicious Models on Hugging Face AML.CS0031 · Incident · 2025 · High · Open-Source Model Supply Chain
Documented in MITRE ATLAS (2025) following large-scale registry scans that uncovered malicious ML models hosted on Hugging Face, attackers uploaded corrupted PyTorch and pickle checkpoints containing embedded reverse shells and C2 loaders. Although Hugging Face's scanners…
- Poisoned GGUF Templates: Inference-Time Supply Chain Attack AML.CS0064 · Exercise · June 2025 · Moderate
ATLAS case study: poisoned GGUF chat templates executed attacker code at inference time via model-file supply chain.
- Model Namespace Reuse Supply Chain Attack AML.CS0065 · Exercise · Sep 3, 2025 · Moderate
ATLAS case study: model namespace reuse on public registries tricked users into pulling attacker-controlled models.
- ClearML Client SDK Pickle Deserialization RCE via Poisoned Artifacts INC-2024-24590 · Incident · Feb 6, 2024 · Critical · Cloud & AI Infrastructure
CVE-2024-24590 (published February 6, 2024, disclosed by HiddenLayer) exposed a critical insecure deserialization vulnerability in the ClearML Python SDK (`0.17.0` through `1.14.2`). When an ML engineer invoked `Artifact.get()` on a shared project artifact, the ClearML SDK…
- llama-cpp-python GGUF Chat Template Jinja2 Server-Side Template Injection RCE INC-2024-34359 · Incident · May 10, 2024 · Critical · Cloud & AI Infrastructure
CVE-2024-34359 exposed a critical server-side template injection (SSTI) flaw in `llama-cpp-python` when rendering `tokenizer.chat_template` strings embedded inside `.gguf` model headers. Because the Python wrapper passed untrusted Jinja2 template strings directly into an…
- Hugging Face Transformers TensorFlow Checkpoint Pickle Deserialization RCE INC-2024-3568 · Incident · Apr 10, 2024 · Elevated · Cloud & AI Infrastructure
CVE-2024-3568 disclosed arbitrary code execution inside Hugging Face `transformers` (`load_tf_weights_in_*` / `TFPreTrainedModel` checkpoint utilities) when deserializing untrusted repository artifacts. Certain checkpoint conversion and loading paths invoked unsafe `pickle`…
- Keras Arbitrary Code Injection via Malicious Lambda Layers in Legacy Models INC-2024-3660 · Incident · Apr 16, 2024 · Critical · Cloud & AI Infrastructure
CVE-2024-3660 (published April 16, 2024, disclosed by Oligo Security and JFrog) highlighted arbitrary code execution in TensorFlow Keras (`< 2.13`) when deserializing `.h5` or Keras models containing weaponized `Lambda` layers. Because Keras Lambda layers serialize arbitrary…
- Keras Model.load_model() safe_mode=True Bypass via Crafted config.json INC-2025-1550 · Incident · Mar 11, 2025 · Critical · Cloud & AI Infrastructure
CVE-2025-1550 (published March 11, 2025) revealed an arbitrary code execution bypass in Keras's `Model.load_model()` even when `safe_mode=True` was explicitly enforced. Attackers could modify the `config.json` manifest inside a `.keras` zip archive to reference arbitrary Python…
- Picklescan pip.main() Global Allowlist Bypass Evading ML Malware Scanners INC-2025-1716 · Incident · Feb 26, 2025 · High · Software Development & AI Tooling
CVE-2025-1716 (published February 26, 2025) exposed a critical static-analysis evasion flaw in `picklescan` (`< 0.0.22`), the open-source scanner widely used by model hubs and CI pipelines to detect malicious Python pickle checkpoints. Because `picklescan` failed to flag…
- PyTorch torch.load(weights_only=True) Safety Bypass Remote Code Execution INC-2025-32434 · Incident · Apr 18, 2025 · Critical · Cloud & AI Infrastructure
CVE-2025-32434 (CVSS 9.3, published April 18, 2025) shattered a widely relied-upon ML security assumption by bypassing `torch.load(..., weights_only=True)` in PyTorch versions `<= 2.5.1`. Security teams had adopted `weights_only=True` to safely load external `.pt` checkpoints…
- ChromaDB ChromaToast Pre-Auth RCE via Malicious trust_remote_code Model Load INC-2026-45829 · Incident · May 18, 2026 · Critical · Cloud & AI Infrastructure
CVE-2026-45829 (CVSS 10.0, dubbed ChromaToast by HiddenLayer) affected ChromaDB Python FastAPI servers from v1.0.0 through v1.5.8. An unauthenticated attacker could send a collection-creation payload specifying a custom embedding function referencing an attacker-hosted Hugging…
- nullifAI Broken Pickle + 7z Archive Evasion Bypassing Public Model Registry Scanners INC-OBS-013 · Incident · Feb 6, 2025 · Critical · Cloud & AI Infrastructure
On February 6, 2025, ReversingLabs disclosed nullifAI, a novel ML malware evasion technique discovered in live malicious PyTorch models uploaded to the Hugging Face Hub. Threat actors compressed PyTorch model files using 7z archives rather than standard ZIP containers and…
- JFrog Discovery of Over 100 Malicious Pickle Models Hosted on Public Model Hub INC-OBS-014 · Incident · Feb 27, 2024 · High · Cloud & AI Infrastructure
On February 27, 2024, JFrog Security Research published an investigation identifying roughly 100 malicious machine learning models hosted publicly on the Hugging Face Hub, including checkpoints engineered to open interactive reverse shells to attacker infrastructure when…
Source citation records
- MITRE ATLAS: Models · MITRE ·
- Lazare, veni foras: Reprogramming Dormant Neurons to Backdoor AI Agents · arXiv (author preprint; peer-review status not inferred) ·
Common questions
- What is Publish Poisoned AI Artifacts: Models (AML.T0115.001)?
- Adversaries publish trojanized model checkpoints to public hubs via targeted weight editing (PoisonGPT), malicious pickle payloads, weaponized GGUF chat templates (AML.CS0064), or typosquatted/reclaimed organization namespaces (AML.CS0027, AML.CS0065). Victim deployments pulling models by unpinned name inherit silent misinformation, backdoors, or host code execution.
- How do you mitigate Publish Poisoned AI Artifacts: Models?
- MITRE ATLAS maps 6 mitigations to AML.T0115.001: Validate AI Model, Code Signing, Verify AI Artifacts, Vulnerability Scanning, AI Model Distribution Methods, and Threat Intelligence Program. Pin all model downloads to exact commit hashes and verified SHA-256 file digests published directly by the originating lab in a separate trusted channel.