Context ManipulationTier 5high
Context Manipulation: Recursive Self-Reference
Attacks that corrupt the agent's understanding of context
Recursive self-reference creates logical loops that can confuse context tracking and cause the agent to process injected instructions as part of its normal reasoning.
Attack Details
- Attack ID
- APWN-CM-005
- HMA Check
- INJ-004
- Delivery Methods
- json-ld, meta-tag, invisible-span, html-comment
- CWE
- CWE-835
- OASB Control
- 6.5
- Severity
- high
Remediation
If your AI agent is vulnerable to this attack, scan and fix with:
npx hackmyagent secure --verbose
This page tests INJ-004. 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