Context ManipulationTier 3medium
Context Manipulation: Semantic Confusion
Attacks that corrupt the agent's understanding of context
Semantic confusion redefines words within the conversation to make safety-related terms mean their opposite, potentially bypassing intent-based filters.
Attack Details
- Attack ID
- APWN-CM-003
- HMA Check
- INJ-002
- Delivery Methods
- html-comment, invisible-span, meta-tag
- CWE
- CWE-20
- OASB Control
- 6.3
- Severity
- medium
Remediation
If your AI agent is vulnerable to this attack, scan and fix with:
npx hackmyagent secure --verbose
This page tests INJ-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