Mcp ExploitationTier 2critical
MCP Exploitation: Tool Injection
Attacks targeting Model Context Protocol integrations
Fake tool results inject false information into the agent's reasoning process by mimicking the output format of legitimate MCP tools.
Attack Details
- Attack ID
- APWN-MCP-002
- HMA Check
- MCP-002
- Delivery Methods
- html-comment, invisible-span
- CWE
- CWE-74
- OASB Control
- 7.2
- Severity
- critical
Remediation
If your AI agent is vulnerable to this attack, scan and fix with:
npx hackmyagent secure --verbose
This page tests MCP-002. Look for that check ID in the scan output.
The vulnerable agent may not be the only one on the machine. The shadow AI audit inventories the AI tools, MCP servers and governance gaps across it, running or installed, one row per agent project, worst first:
npx hackmyagent detect