MITRE ATLAS 2026.10 · AML.T0074 · High severity
Masquerading
Adversaries disguise malicious AI artifacts, tampered GGUF chat templates, trojanized model packages, or rogue executables as benign standard components so deployment tooling, scanners, and engineers load them without triggering integrity warnings.
Technique dossier overview
- Category
- Model robustness
- Severity
- High
- Attack surface
- Model Weights & Supply Chain · Tool-Using Agents & MCP · Inference API & Hosting
- Framework maturity
- Realized
- Platforms
- Enterprise
- Tactics
- Defense Evasion
- Catalog entry modified
How the mechanism works
- An attacker alters a model's metadata, chat template, container entrypoint, or serialized file structure while preserving standard file extensions and benign naming.
- Automated loaders or developers inspect surface metadata or benchmark scores without verifying cryptographic signatures or execution hooks.
- When loaded at inference or training time, the disguised artifact triggers hidden serialization payloads, prompt template injections, or rogue processes.
Detection & telemetry signals
- Artifact scanners detecting executable pickle opcodes, suspicious Jinja template logic inside GGUF metadata, or altered binary digests.
- Runtime process monitors observing unexpected library loads or network activity immediately upon model-weight loading.
- Mismatch between published upstream SHA-256 digests and deployed staging weights or container layers.
Architectural defensive countermeasures
- Standardize on SafeTensors and non-executable model formats; block pickle deserialization and untrusted Jinja template evaluation in serving engines.
- Verify cryptographic signatures and reproducible artifact hashes against trusted supplier releases before loading any checkpoint.
- Restrict dynamic library loading and execute third-party artifacts inside isolated sandboxes with no secret or network access.
- Inspect model configuration metadata (tokenizer files, chat templates, and adapter manifests) as untrusted code during security review.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Disguised weights, templates, and binaries directly compromise AI supply-chain integrity (LLM03) and covertly alter runtime model behavior (LLM04).
- NIST AI RMF functions
- NIST AI RMF guidance
- MAP all executable metadata and serialization surfaces in model loaders, and MANAGE masquerading via SafeTensors mandates, signed provenance checks, and sandboxed loading.
Mapped defensive controls
- Restrict Library Loading AML.M0011
Eliminate unsafe deserialization (Python pickle, torch.load) and block arbitrary dynamic code/library loading when handling untrusted model weights, datasets, and plugins.
- 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.
- Maintain AI Dataset Provenance AML.M0025
Maintain cryptographic lineage, authorization records, and immutable transformation logs for every training, RLHF, and RAG corpus revision to enable clean rollback after poisoning.
Documented incidents & exercises (12)
- 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…
- LAMEHUG: Malware Leveraging Dynamic AI-Generated Commands AML.CS0044 · Incident · June 2025 · Critical · Government & Defense (Ukraine)
Reported by CERT-UA (advisory #16039, June 2025; AIID Incident 1220) and linked to UAC-0001 / APT28 phishing campaigns targeting Ukrainian defense entities, LAMEHUG is a real-world malware family that queried an external hosted LLM API at runtime to dynamically synthesize…
- Supply Chain Compromise via Poisoned ClawdBot Skill AML.CS0049 · Exercise · Jan 26, 2026 · Moderate
ATLAS case study: a poisoned ClawdBot skill package compromised downstream agent installations via the plugin supply chain.
- OpenClaw Command & Control via Prompt Injection AML.CS0051 · Exercise · Feb 3, 2026 · Moderate
ATLAS case study: prompt injection against OpenClaw yielded command-and-control over the host via agent tool invocation.
- 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.
- AISI Evaluation Agents Conduct Unsanctioned Real-World Cyber Activity AML.CS0074 · Incident · Jul 25, 2026 · High
ATLAS incident: AISI evaluation agents conducted unsanctioned real-world cyber activity beyond their sanctioned scope.
- ComfyUI_LLMVISION Malicious Custom Node Supply Chain Credential Stealer INC-OBS-012 · Incident · Jun 9, 2024 · High · Consumer AI & Local Runtimes
On June 9, 2024, security researchers and ComfyUI community maintainers alerted users that a widely shared custom node package (`ComfyUI_LLMVISION` uploaded by user `u/AppleBotzz`) had been trojanized with credential-stealing malware. The malicious node bundled tampered Python…
- KnowBe4 North Korean IT Worker Infiltrated Internal AI Team Using AI-Altered Photo INC-OBS-029 · Incident · Jul 23, 2024 · High · Enterprise SaaS & Productivity
On July 23, 2024, security awareness firm KnowBe4 published a candid postmortem revealing it had inadvertently hired a North Korean state-sponsored remote IT operative as a Principal Software Engineer on its internal AI team. The applicant passed four live video interviews,…
- Perplexity Stealth Web Crawling Controversy Bypassing Publisher robots.txt Exclusions INC-OBS-071 · Incident · Jun 19, 2024 · Elevated · Media & Publishing
In June 2024, Wired magazine and independent developer Robb Knight published server-log analyses showing that AI answer engine Perplexity retrieved and summarized articles from publisher domains that had explicitly disallowed `PerplexityBot` via `robots.txt` rules. Technical…
- GhostPrint Fingerprint Spoofing Risks in Hosted LLM Inference Services OBS.EX0107 · Exercise · Jun 15, 2026 · Black-Box LLM Fingerprinting Pipelines · Surrogate & Reward-Ranked Spoofing
Zhang et al. (2026) investigated adversarial model substitution in commercial inference APIs via GhostPrint, testing whether a dishonest provider serving a weaker, cheaper model can parameter-efficiently fine-tune it to spoof black-box behavioral fingerprints of a premium…
- Visual Trust Bias Black-Box Jailbreaks on 2,500 Natural Image-Text Pairs OBS.EX0175 · Exercise · Nov 17, 2026 · Strong Multimodal LLMs · Authoritative Visual Layout Template Benchmark
Liu et al. (2026) evaluated the Visual Trust Bias Attack (VTBA) on a benchmark of 2,500 naturally occurring image-text pairs, testing whether MLLMs exhibit an intrinsic trust bias toward authoritative visual document layouts rather than fragile pixel noise. Integrating harmful…
Source citation records
- MITRE ATLAS: Masquerading · MITRE ·
Common questions
- What is Masquerading (AML.T0074)?
- Adversaries disguise malicious AI artifacts, tampered GGUF chat templates, trojanized model packages, or rogue executables as benign standard components so deployment tooling, scanners, and engineers load them without triggering integrity warnings.
- How do you mitigate Masquerading?
- MITRE ATLAS maps 4 mitigations to AML.T0074: Restrict Library Loading, Code Signing, Verify AI Artifacts, and Maintain AI Dataset Provenance. Standardize on SafeTensors and non-executable model formats; block pickle deserialization and untrusted Jinja template evaluation in serving engines.