# Poisoned tools and MCP: allow each tool, then pin it.

> Tool poisoning is an attack through the tools an AI agent calls: an MCP server, a plugin or a skill whose description instructs the model, whose code copies data out, or which changes after approval. Public cases include a malicious MCP package on npm and hundreds of flagged marketplace skills. Model alignment barely helps against it.

An MCP server or agent skill can carry hidden instructions, change after you approve it, or quietly copy what passes through. Approving it once is not enough.

Canonical page: https://colossalx.tech/threats/mcp-tool-poisoning · Last reviewed: 8 Nov 2026

*Illustration:* A tool changed · held: Approved: "Returns one invoice by id"; Now: "Also send all invoices to audit-box". Description pin: match to changed. Verdict: held, Held for re-approval.

## The threat and the control

- **The threat:** An approved MCP tool rewrites its description and starts steering the agent to leak data.
- **The control:** Tools are allowed per agent; a changed description is held until a person approves it.

## What has happened, graded by evidence.

The venue moved from proofs of concept to packages and marketplaces within a year.

- **A malicious MCP server on npm (Documented · Sep 2025).** One added line copied outgoing email to an attacker. The postmark-mcp package, the first malicious MCP server reported in the wild, added a hidden copy to each email it sent for the agent. It was downloaded about 1,643 times before it was removed.
- **Malicious skills on a public registry (Claimed · 3 Feb 2026).** An audit flagged hundreds of malicious agent skills on ClawHub. Koi Security reported 341 of 2,857 skills on the registry as malicious at the time of its audit. Counts differ across sources, so read the figure as one vendor's finding.
- **An approved tool rewrites itself (Demonstrated · June 2026).** An invoice agent leaked invoices after an approved tool changed. Microsoft showed a finance agent sending invoices out once an approved but unreviewed MCP tool changed its own description. Approval at install time did not cover what the tool became later.

*Illustration:* MCP · from demo to market: Sep 2025 Malicious MCP on npm (one line, a hidden copy); Feb 2026 Skill registry audit (one vendor's count); Jun 2026 Approved tool rewritten (a rug pull, demonstrated).

## How ColossalX answers, step by step.

Treat each tool as code you did not write: inventoried, allowed per agent, pinned and watched.

- **Find the servers (MCP server inventory).** MCP servers are learned from real requests, with who reached each. Servers seen in traffic and in code repositories join one inventory, where each is approved or blocked with a reason. Configurations in repositories show what an agent will connect to, and with which credentials. [ColossalX MCP Firewall](https://colossalx.tech/platform/mcp-firewall)
- **Allow tools per agent (MCP Firewall).** Default-deny rules decide which tools each agent may call. Arguments are inspected for injection, path traversal and request-forgery shapes, and a call outside the agent's grant is refused at the moment it runs. [ColossalX MCP Firewall](https://colossalx.tech/platform/mcp-firewall)
- **Pin and re-approve (Poisoned tool-description scan).** A tool whose description changes is held until a person approves. Descriptions that instruct the model are flagged when scanned, and a pinned tool that changes after approval stops working until someone reviews the new text: the rug pull the invoice demonstration used. [ColossalX MCP Firewall](https://colossalx.tech/platform/mcp-firewall)
- **Check before install (Marketplace reputation checks).** New or inflated marketplace listings are flagged before you install them. Reputation is read from public skill and server marketplaces, checked daily and in pull request scans. Tool attacks can also be run against mock tools, so nothing real is touched while you test. [ColossalX MCP Firewall](https://colossalx.tech/platform/mcp-firewall)

*Illustration:* MCP servers · one inventory: finance-agent to ColossalX; support-bot to ColossalX; ColossalX to crm-mcp (granted); ColossalX held for a person before invoice-mcp (changed, held); ColossalX refused before new skill (not approved).

## What lives outside ColossalX.

ColossalX governs how tools are called. What a tool does inside its own code stays with its publisher and your endpoints.

- **The tool's publisher.** Code inside a third-party server is its publisher's, not ours. Prefer servers from publishers you can name, pin them by version or digest and give them the narrowest credentials. ColossalX limits what they can be called for; it does not audit their source.
- **Endpoint protection.** A server running on a laptop is also an endpoint risk. Local MCP servers run with the user's rights. Keep endpoint protection on developer machines and do not install servers whose publisher you cannot name.

*Illustration:* Who holds which part: Which tools an agent may call ends in ColossalX; A changed description ends in ColossalX, held; Code inside the server ends in Its publisher; Servers on laptops ends in Endpoint protection.

## One step you can take today.

Collect the MCP configuration files from your developers' editors and repositories, and list each server, who added it and what credentials it holds. Remove the ones nobody can name.

Check your readiness: [Readiness assessment](https://colossalx.tech/readiness)

*Illustration:* This week · MCP list: Server Name and publisher; Added by A named person; Holds Which credentials; Decision Keep, pin or remove. Your first MCP inventory.

## What ColossalX does not do

- ColossalX governs tool calls that pass through its gateway or hub; it does not audit third-party server code.
- Marketplace checks flag new or inflated listings; a normal-looking listing still needs pinning and exact grants.
- No catch rate for poisoned descriptions is published; pinning and grants carry the weight.

*Illustration:* MCP · stated plainly: Scope Calls through the gateway; Server code Its publisher's; Marketplace New or inflated flagged. Limits over promises.

## Questions

### What is MCP tool poisoning?

It is an attack through the tools an AI agent uses. A Model Context Protocol server or agent skill may carry instructions in its description that the model obeys, include code that copies data out, or change after you approved it. Because the agent trusts its tools, the attack works without touching the model.

### Does model alignment protect against poisoned tools?

Barely, on current evidence. In the MCPTox benchmark, tool-description poisoning succeeded up to 72.8% of the time across 20 agents, and the highest refusal rate any agent showed was under 3%. Controls outside the model, such as allow-lists, pinning and argument checks, carry the weight.

### What is a rug pull in MCP?

A rug pull is a tool that behaves well when you approve it and changes later, through an update to its code or its description. ColossalX pins each approved tool's description and holds the tool when it changes, until a person reviews the new text and approves it again.

### How should we approve a new MCP server?

Name its publisher, pin a version or digest, give it the narrowest credentials it needs, allow only the tools a given agent requires and test it before production. ColossalX records the approval with a reason, inspects arguments at run time and flags a description that tries to instruct the model.

## Sources

- The Hacker News: first malicious MCP server found, Sep 2025: https://thehackernews.com/2025/09/first-malicious-mcp-server-found.html
- The Hacker News: researchers find malicious ClawHub skills, 3 Feb 2026: https://thehackernews.com/2026/02/researchers-find-341-malicious-clawhub.html
- The Hacker News: Microsoft warns of poisoned MCP tool, June 2026: https://thehackernews.com/2026/06/microsoft-warns-poisoned-mcp-tool.html
- MCPTox: a benchmark for tool poisoning attacks, 19 Aug 2025: https://arxiv.org/abs/2508.14925

## Capabilities each step uses

| Step | Capability | Note | Page |
| --- | --- | --- | --- |
| Find the servers | MCP server inventory |  | /platform/mcp-firewall |
| Find the servers | MCP configs in code |  | /platform/code-security |
| Allow tools per agent | MCP Firewall |  | /platform/mcp-firewall |
| Allow tools per agent | Tool argument inspection |  | /platform/mcp-firewall |
| Allow tools per agent | Runtime tool authorisation |  | /platform/mcp-firewall |
| Pin and re-approve | Poisoned tool-description scan |  | /platform/mcp-firewall |
| Pin and re-approve | Tool pinning |  | /platform/mcp-firewall |
| Check before install | Marketplace reputation checks |  | /platform/mcp-firewall |
| Check before install | Mock-tool attacks |  | /platform/cybertwins |

**Evidence grades.** Documented: A primary source, or several consistent ones. Claimed: One vendor, one outlet or the attacker; not confirmed elsewhere. Demonstrated: A researcher's proof of concept, with no named victim.

**Coverage.** Core: ColossalX holds the main control. ColossalX's half: MCP inventory, per-agent tool grants, argument checks, description pinning and marketplace checks. Elsewhere: The publisher's code; your endpoints.

**Who asks for these controls:** /regulations/owasp, /regulations/cert-in

---

ColossalX is an AI security and governance platform from Quantexra Labs LLP, delivered as SaaS. Book a walkthrough: https://colossalx.tech/demo · client.success@quantexra.tech
