Skip to main content
Run any Skill in Manus
with one click

detect-mcp-shadow-tool-injection

Stars3
Forks0
UpdatedJuly 9, 2026 at 16:16

Detect MCP tools whose description or inputSchema has been mutated mid-session relative to an out-of-band server-registered baseline — the shadow-tool / tool-poisoning variant where the MCP server's startup snapshot is the trust anchor, not the first in-session sighting. Reads OCSF 1.8 Application Activity (class 6002) records produced by ingest-mcp-proxy-ocsf and compares the live tool's description/inputSchema sha256 hashes against the baseline file at MCP_TOOL_BASELINE_PATH ({tool_name: {description_sha256, schema_sha256, registered_at}}). Fires one Detection Finding per (session, tool) when either hash diverges from the baseline. Maps to OWASP MCP Top 10 Tool Poisoning. Use when the user mentions MCP shadow tools, tool poisoning with a server registration baseline, or MITRE T1195.001. Do NOT use on raw MCP proxy logs — feed them through ingest-mcp-proxy-ocsf first. Do NOT use for first-sight-in-session detection without a baseline — that is what detect-mcp-tool-drift covers.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
7 files
SKILL.md
readonly