Prompt InjectionTier 4high
Prompt Injection: Delimiter Escape
Direct and indirect instruction override attacks
The delimiter escape technique exploits the way AI systems parse structured prompts. By inserting fake system-level delimiters, attackers can inject instructions that appear to come from a trusted source.
Attack Details
- Attack ID
- APWN-PI-004
- HMA Check
- PROMPT-004
- Delivery Methods
- json-ld, meta-tag, invisible-span
- CWE
- CWE-74
- OASB Control
- 3.3
- Severity
- high
Remediation
If your AI agent is vulnerable to this attack, scan and fix with:
npx hackmyagent secure --verbose
This page tests PROMPT-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