Prompt InjectionTier 1critical
Prompt Injection: Direct Override
Direct and indirect instruction override attacks
Understanding prompt injection attacks is essential for building secure AI systems. This guide covers the fundamentals of how untrusted input can influence AI agent behavior, from basic instruction override to sophisticated multi-step attacks.
Attack Details
- Attack ID
- APWN-PI-001
- HMA Check
- PROMPT-001
- Delivery Methods
- html-comment
- CWE
- CWE-74
- OASB Control
- 3.1
- Severity
- critical
Remediation
If your AI agent is vulnerable to this attack, scan and fix with:
npx hackmyagent secure --check PROMPT-001