AP67 · Unverified tool supply chain
Family: Security and permissions
Strong evidence
Original names: tool poisoning, rug pull, malicious MCP server
MCP servers, extensions and skills installed with no vetting or pinning, and the agent’s full trust.
Definition
MCP servers, extensions or skills are installed with no vetting, no pinned version and no isolation. The model reads their descriptions, and their code runs with the agent’s rights.
Observable symptoms
- MCP servers launched with `npx package@latest`.
- No fingerprint of tool descriptions: a description can change after approval without raising an alert.
- Long tool descriptions, or descriptions containing `<IMPORTANT>` tags.
- A skill whose “prerequisites” section asks to download and then run a program.
Why it hurts
A tool description is text that the model reads: it can carry instructions the user never sees. It can also change after approval, and one server can influence how another is used. Finally, the code itself can be malicious, with the agent’s rights.
A defensible choice when…
- A local trial, in a sandbox with no secrets and no network access, before deciding whether to adopt the tool.
Figures
- The postmark-mcp package had 1,643 downloads (according to The Hacker News).
- Unit 42 (June 2026): installing a malicious skill gives complete control over the agent’s identity; one of them evaded scanners with 22 MB of padding.
Public incidents
- 2025-09-17 — postmark-mcp (paquet npm non officiel) The postmark-mcp npm package, an unofficial copy published under the same name as a Postmark library, added a line in version 1.0.16 that sent the attacker a hidden copy of every email. Koi Security calls it the first malicious MCP server seen in the wild (as reported by The Hacker News).
- 2026-02 — ClawHub (registre de skills) Of 2,857 skills on the ClawHub registry audited by Koi Security, 341 were malicious; 335 of them installed the Atomic Stealer infostealer through fake prerequisites (as reported by The Hacker News).
- 2025-07 — Amazon (Amazon Q pour VS Code) According to the AWS bulletin, an inappropriately scoped GitHub token in the CodeBuild configuration made it possible to inject a destructive prompt into version 1.84.0 of the published extension. The prompt did not work, because of a syntax error.
Remedies from the catalogue
- D4 · Skills (progressive disclosure) — Vet every skill before publishing it to an internal registry (static analysis, review, signature), and reject those that download and then run code.
- A2 · Tools and agent-computer interface (ACI) — Short tool descriptions, reviewed and pinned by fingerprint: any change raises an alert and requires fresh approval.
- D5 · Context-isolation subagent — One server per context: an isolated sub-agent uses the third-party server without seeing the other tools.
- G7 · Environment containment — Local servers run in a sandbox with filtered network egress: a hidden copy to the attacker finds no route out.
Measures outside the catalogue
- Pin every server by version and checksum, never `@latest`.
Misused patterns
Related anti-patterns
Sources
- MCP Security Notification: Tool Poisoning Attacks — Invariant Labs, 2025-04-01
- First Malicious MCP Server Found Stealing Emails in Rogue Postmark-MCP Package — The Hacker News, 2025-09-29
- Researchers Find 341 Malicious ClawHub Skills Stealing Data from OpenClaw Users — The Hacker News, 2026-02-02
- Security Update for Amazon Q Developer Extension for Visual Studio Code (Version #1.84) — AWS, bulletin AWS-2025-015, 2025-07-23
- OpenClaw’s Skill Marketplace and the Emerging AI Supply Chain Threat — Palo Alto Networks, Unit 42, 2026-06-23
Content reviewed on 2026-10-05