Prompt Injection:T1T2T3T4T5T6T7T8T9T10
Prompt InjectionTier 3critical

Prompt Injection: Role Reassignment

Direct and indirect instruction override attacks

Defending against prompt injection requires a layered approach: input sanitization, instruction anchoring, output filtering, and behavioral monitoring. No single defense is sufficient against determined adversaries.

Attack Details

Attack ID
APWN-PI-003
HMA Check
PROMPT-003
Delivery Methods
html-comment, invisible-span, meta-tag
CWE
CWE-74
OASB Control
3.2
Severity
critical

Remediation

If your AI agent is vulnerable to this attack, scan and fix with:

npx hackmyagent secure --check PROMPT-003