Capability AbuseTier 3critical
Capability Abuse: Privilege Escalation via Tool Chain
Confused deputy attacks that misuse agent tools
Tool chain exploitation links multiple legitimate capabilities into an attack path that none of the individual tools would allow on their own.
Attack Details
- Attack ID
- APWN-CA-003
- HMA Check
- TOOL-002
- Delivery Methods
- html-comment, invisible-span, meta-tag
- CWE
- CWE-269
- OASB Control
- 4.3
- Severity
- critical
Remediation
If your AI agent is vulnerable to this attack, scan and fix with:
npx hackmyagent secure --verbose
This page tests TOOL-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