Prompt Injection:T1T2T3T4T5T6T7T8T9T10
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 --verbose

This page tests PROMPT-001. 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