Skip to main content
在 Manus 中运行任何 Skill
一键导入

detect-mcp-shadow-tool-injection

星标3
分支0
更新时间2026年7月9日 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.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
7 个文件
SKILL.md
readonly