Tool Poisoning Scanner
MCP tool poisoning scanner: finds hidden instructions in tool descriptions and schemas, and tools whose handler does more than their description promises

@guardbee/mcp-tool-poisoning-scanner catches what Server Auditor cannot: malicious instructions hidden in a tool description (tool poisoning) and confused-deputy tools whose read-only name hides a dangerous handler.
What does it do?
Seven description-injection patterns plus four confused-deputy sink categories (process, code-exec, fs-write, credentials). Network fetches are deliberately excluded from confused-deputy.
Who is it for?
- Teams reviewing third-party MCP server source before install
- MCP marketplace / registry security reviews
- Developers who want this check inside Claude or Cursor
What it is not
- Handler sink scanning (use Server Auditor)
- Live tools/list drift (use Rug Pull Detector)
- Treating every network call as dangerous
Features
| Feature | Description |
|---|---|
| Description injection | 7 phrase / authority patterns |
| Confused deputy | read-only naming + dangerous sink |
| Next-tool-aware | Sinks are not misattributed across tools |
| SARIF 2.1.0 | CI gates |
| guardbee.yml | fail-on, exclude |
MCP tools
| Tool | Description |
|---|---|
scan_text | Scan a source snippet |
scan_file | Scan a single file |
scan_directory | Scan an MCP server source tree |
list_patterns | List the pattern catalog |
Install with npm
Global install (handy for Claude Desktop / Cursor):
<code class="language-bash">npm install -g @guardbee/mcp-tool-poisoning-scanner</code>or via npx (recommended with -y in config):
<code class="language-bash">npx -y @guardbee/mcp-tool-poisoning-scanner</code>npm: @guardbee/mcp-tool-poisoning-scanner
<code class="language-bash">npx @guardbee/mcp-tool-poisoning-scanner scan ./mcp-server --fail-on=high --format=sarif > results.sarif</code>Claude Desktop configuration
Config file paths:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Merge this block, then restart Claude Desktop:
<code class="language-json">{
"mcpServers": {
"guardbee-tool-poisoning-scanner": {
"command": "npx",
"args": [
"-y",
"@guardbee/mcp-tool-poisoning-scanner"
]
}
}
}</code>Cursor and other MCP clients
In Cursor, add the same command / args / env under Settings → MCP. stdio MCP servers use the same contract as Claude Desktop.
Example prompts in Claude
- “Is there tool poisoning in this MCP server source?”
- “Do any get_ tools hide a shell or eval sink?”
- “Which description-injection patterns do you support?”
Frequently asked questions
Vs Server Auditor?+
Server Auditor looks at handler sinks; Tool Poisoning Scanner looks at description payloads and confused-deputy mismatches.
API key?+
No — local source scanning.
False positives?+
get_weather + HTTP is deliberately excluded from confused-deputy.
More in this category
@guardbee/mcp-a2a-auditor
A2A Auditor
MCP server that scans Agent2Agent (A2A) protocol implementation code for anti-patterns found in the reference SDKs and sample agents: unauthenticated push-notification webhook fetches (SSRF), Agent Cards with no authentication requirement, and credentials embedded in publicly-served Agent Card metadata
Learn more@guardbee/mcp-agent-graph-auditor
Agent Graph Auditor
MCP server that builds a reachability graph across multi-agent orchestration configs (LangGraph, CrewAI, AutoGen/ag2) to find transitive excessive agency — an agent with no dangerous tool of its own that can still reach one through delegation or group membership
Learn more@guardbee/mcp-audit-gap-auditor
Audit Gap Auditor
MCP server that audits MCP server source for OWASP MCP08:2025 (Lack of Audit and Telemetry) — missing tool-call logging, raw args/results in logs, disabled audit sinks, and tool errors swallowed without a record
Learn more@guardbee/mcp-context-oversharing-auditor
Context Oversharing Auditor
MCP server that audits agent/MCP source for OWASP MCP10:2025 context oversharing — unrestricted session/memory dumps, cross-user shared context, system-prompt leakage via tools, and unscoped vector recalls
Learn more@guardbee/mcp-elicitation-auditor
Elicitation Auditor
MCP server that scans MCP server code for elicitation anti-patterns in the 2026-07-28 spec: form mode asking for secrets, URL mode pointed straight at a third-party authorize endpoint, and credentials or PII embedded in the elicitation URL
Learn more@guardbee/mcp-config-auditor
MCP Config Auditor
MCP config auditor for Cursor, Claude Desktop, Windsurf and VS Code: unpinned packages, secrets, auto-approve wildcards, typosquats, shadow MCP servers and agent skills
Learn more
See your security posture in minutes
Add your domain, run a read-only scan and get a prioritised list of fixes. No installation required.