Context ManipulationTier 4high
Context Manipulation: Task Hijacking
Attacks that corrupt the agent's understanding of context
Task hijacking redirects the agent from its assigned objective to an attacker-controlled task, exploiting the agent's willingness to follow updated instructions.
Attack Details
- Attack ID
- APWN-CM-004
- HMA Check
- INJ-003
- Delivery Methods
- json-ld, meta-tag, invisible-span
- CWE
- CWE-74
- OASB Control
- 6.4
- Severity
- high
Remediation
If your AI agent is vulnerable to this attack, scan and fix with:
npx hackmyagent secure --verbose
This page tests INJ-003. 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