MITRE ATLAS 2026.10 · AML.T0112 · Critical severity
Machine Compromise
Adversaries exploit AI-native execution paths, either via local AI agent tools or malicious serialized model artifacts, to gain arbitrary code execution and persistent control over developer workstations or inference servers. Disclosed vulnerabilities such as CVE-2026-26030 in agent search plugins and pickle-based RCEs turn AI adoption directly into traditional endpoint compromise.
Technique dossier overview
- Category
- Infrastructure and access
- Severity
- Critical
- Attack surface
- Tool-Using Agents & MCP · Model Weights & Supply Chain · Inference API & Hosting
- Framework maturity
- Demonstrated
- Platforms
- Predictive AI, Generative AI, Agentic AI
- Tactics
- Impact
- Catalog entry modified
How the mechanism works
- An attacker targets either a locally running AI assistant/IDE agent with OS access or an ML environment loading external weights, tokenizers, or containers.
- Via indirect prompt injection, plugin/framework RCE bugs, or unsafe deserialization hooks, the attacker runs arbitrary OS commands on the underlying host.
- Once executing outside model boundaries, the attacker harvests local credentials, plants persistence, and pivots into connected corporate networks.
Detection & telemetry signals
- IDE, Python ML worker, or local AI agent processes spawning unexpected interactive shells, reverse connections, or living-off-the-land binaries.
- EDR alerts detecting memory-corruption, unauthorized library loads, or child-process spawns during `torch.load` or agent plugin execution.
- Sudden outbound connections from developer laptops or GPU inference nodes to unknown external C2 IPs immediately after fetching a repo or model.
- Unauthorized writes to startup directories, shell profiles (.bashrc, .zshrc), or SSH authorized_keys from AI runtime UIDs.
Architectural defensive countermeasures
- Run AI agents, untrusted repositories, and model evaluation loaders inside isolated OS sandboxes or devcontainers rather than directly on primary credentialed workstations.
- Enforce safe serialization formats (SafeTensors instead of pickle) and validate cryptographic signatures on all downloaded artifacts and plugins.
- Apply EDR behavioral blocking and strict outbound firewall egress controls on hosts running local AI assistants and inference servers.
- Keep AI orchestration SDKs (Semantic Kernel, LangChain, local agent runtimes) patched continuously against disclosed plugin RCE CVEs.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Host compromise through AI stacks combines Supply Chain artifacts (LLM03), Improper Output Handling (LLM05), and uncontained agent permissions (LLM06).
- NIST AI RMF functions
- NIST AI RMF guidance
- Map host privileges exposed to AI runtimes and artifact loaders under MAP, and enforce OS/container sandboxing, safe formats, and patch management under MANAGE.
Mapped defensive controls
- Control Access to AI Models and Data at Rest AML.M0005
Lock down stored model weights, LoRA adapters, training corpora, vector indexes, and backups with strict least-privilege IAM, private networking, and zero public bucket ACLs.
- 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.
- 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.
- Enforce Access Controls for AI Agent Tools AML.M0028
Separate read-only tools from state-changing or destructive APIs and validate tool names, JSON arguments, path prefixes, and resource ownership outside the LLM.
- Segmentation of AI Agent Components AML.M0032
Isolate agent planners, tool executors, code sandboxes, vector databases, and untrusted web browsers in separate trust zones with minimal shared credentials and zero lateral egress.
Related technique records
Documented incidents & exercises (2)
- RCE Vulnerability in Semantic Kernel Search Plugin AML.CS0062 · Exercise · May 7, 2026 · Moderate
ATLAS case study: a Semantic Kernel search plugin RCE allowed arbitrary code execution in AI applications.
- SANDBOXESCAPEBENCH Container Breakout Evaluation in Inspect AI OBS.EX0077 · Exercise · Mar 1, 2026 · Frontier Shell-Enabled LLM Agents · Nested Docker/OCI Container Escape CTF Suite
Marchand et al. (2026) released SANDBOXESCAPEBENCH inside the UK AISI Inspect AI framework, using nested sandboxes to safely quantify whether shell-equipped autonomous LLM agents can exploit container misconfigurations, privilege leaks, kernel flaws, or orchestration bugs to…
Source citation records
- MITRE ATLAS: Machine Compromise · MITRE ·
Common questions
- What is Machine Compromise (AML.T0112)?
- Adversaries exploit AI-native execution paths, either via local AI agent tools or malicious serialized model artifacts, to gain arbitrary code execution and persistent control over developer workstations or inference servers. Disclosed vulnerabilities such as CVE-2026-26030 in agent search plugins and pickle-based RCEs turn AI adoption directly into traditional endpoint compromise.
- How do you mitigate Machine Compromise?
- MITRE ATLAS maps 5 mitigations to AML.T0112: Control Access to AI Models and Data at Rest, Restrict Library Loading, Vulnerability Scanning, Enforce Access Controls for AI Agent Tools, and Segmentation of AI Agent Components. Run AI agents, untrusted repositories, and model evaluation loaders inside isolated OS sandboxes or devcontainers rather than directly on primary credentialed workstations.