MITRE ATLAS 2026.10 · AML.T0110.001 · Critical severity
AI Agent Tool Poisoning: Implementation
Adversaries backdoor the executable source code inside an MCP server, plugin package, or agent skill while keeping its declared tool schema and apparent behavior intact (as in the 2025 postmark-mcp npm supply-chain compromise). Every time the agent invokes the tool legitimately, the underlying process silently copies secrets, alters outputs, or exfiltrates payloads.
Technique dossier overview
- Category
- Training and model integrity
- Severity
- Critical
- Attack surface
- Tool-Using Agents & MCP · Model Weights & Supply Chain
- Framework maturity
- Realized
- Platforms
- Agentic AI
- Tactics
- Persistence
- Catalog entry modified
How the mechanism works
- An attacker publishes or compromises the implementation code of a third-party tool package installed by developers or agent orchestrators.
- While returning clean, accurate results to the LLM (such as actually delivering an email or querying an API), the handler secretly adds a hardcoded BCC recipient, reads environment secrets, or writes backdoors.
- Because neither the tool description nor the LLM response shows signs of tampering, model-layer prompt guards and conversation logs fail to detect the compromise.
Detection & telemetry signals
- MCP server child processes initiating outbound DNS/TLS connections to undeclared third-party collector domains (such as rogue relay servers).
- Runtime syscall or eBPF telemetry showing a tool server reading files or environment variables unrelated to its declared tool arguments.
- Discrepancies between upstream GitHub repository source code and published npm/PyPI package tarballs.
- Unexpected hardcoded external addresses, webhook URLs, or obfuscated blocks discovered during static SAST/SCA inspection of installed tool dependencies.
Architectural defensive countermeasures
- Sandbox every MCP server and tool handler with strict per-tool network egress allowlists (allowing only the verified API domain, e.g., `api.postmarkapp.com`) and zero access to unrelated env secrets.
- Require signed build provenance (npm provenance / Sigstore) and inspect exact diffs on every minor/patch dependency upgrade before updating agent lockfiles.
- Eliminate ambient process credentials by passing scoped, domain-bound tokens via an external egress proxy rather than mounting raw secrets into the tool process.
- Apply standard SAST, dependency pinning, and runtime syscall monitoring to all AI tool servers just like production microservices.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Malicious backend code inside tool servers is a direct Supply Chain breach (LLM03) exploiting tool trust (LLM06) to achieve Sensitive Information Disclosure (LLM02).
- NIST AI RMF functions
- NIST AI RMF guidance
- Mandate signed tool provenance and AI BOM tracking under GOVERN and MAP, and enforce per-tool network/secret sandboxing under MANAGE.
Mapped defensive controls
- 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 an AI Bill of Materials AML.M0023
Maintain a machine-readable AI-BOM (CycloneDX ML-BOM / SPDX) tracking base weights, fine-tuning datasets, tokenizers, MCP servers, dependencies, and licenses across environments.
- 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.
- AI Agent External Resource Lifecycle Management AML.M0043
Govern the complete lifecycle—vetting, version pinning, token rotation, retention limits, and revocation—of every external MCP server, SaaS integration, and agent sandbox resource.
Related technique records
Documented incidents & exercises (4)
- Poisoned Postmark MCP Server Email Exfiltration AML.CS0053 · Incident · Sep 17, 2025 · High
ATLAS incident: a poisoned Postmark MCP server exfiltrated email through agent integrations trusting the tool.
- Compositional Exploits & CompGuard OS Kernel Enforcement in Coding Agents OBS.EX0063 · Exercise · Nov 15, 2026 · Gemini 3.5/3.7/3.8 Flash Coding Agents · 560-Task Suite & 5 Single-Tool Scanners
Shah and Kathrotia (2026) evaluated compositional exploits where autonomous coding agents chain individually benign third-party tools across turns via workspace files, environment variables, and memory to execute unauthorized attacks across 360 hazard tasks and 200 benign…
- DDIPE Supply-Chain Poisoning Benchmark of 1,070 Coding Agent Skills OBS.EX0134 · Exercise · Apr 3, 2026 · 4 Agent Frameworks & 5 Models · 1,070 Adversarial Skills Across 15 ATT&CK Categories
Qu et al. (2026) evaluated Document-Driven Implicit Payload Execution (DDIPE) by embedding malicious logic inside code examples and configuration templates within third-party coding agent skill documentation across 1,070 synthesized skills covering 15 MITRE ATT&CK categories.…
- Cloak and Detonate: Scanner Evasion & Taint Detection Across 1,613 Skills OBS.EX0205 · Exercise · Jul 2, 2026 · 8 Skill Scanners & 1,613 In-the-Wild Malicious Skills · SkillCloak & SkillDetonate
Ji et al. (2026) tested eight static and hybrid LLM skill scanners against 1,613 real-world malicious agent skills using SkillCloak structural obfuscation and Self-Extracting Skill (SFS) packing that materializes payloads only at runtime. SFS packing bypassed every tested…
Source citation records
- MITRE ATLAS: Implementation · MITRE ·
- First Malicious MCP in the Wild: The Postmark Backdoor That's Stealing Your Emails · Cited by MITRE ATLAS; publisher not independently verified
Common questions
- What is AI Agent Tool Poisoning: Implementation (AML.T0110.001)?
- Adversaries backdoor the executable source code inside an MCP server, plugin package, or agent skill while keeping its declared tool schema and apparent behavior intact (as in the 2025 postmark-mcp npm supply-chain compromise). Every time the agent invokes the tool legitimately, the underlying process silently copies secrets, alters outputs, or exfiltrates payloads.
- How do you mitigate AI Agent Tool Poisoning: Implementation?
- MITRE ATLAS maps 5 mitigations to AML.T0110.001: Code Signing, Verify AI Artifacts, Maintain an AI Bill of Materials, Segmentation of AI Agent Components, and AI Agent External Resource Lifecycle Management. Sandbox every MCP server and tool handler with strict per-tool network egress allowlists (allowing only the verified API domain, e.g., `api.postmarkapp.com`) and zero access to unrelated env secrets.