HackMyAgent Attack Mode
Attack payloads
164 adversarial test payloads across 16 categories, every payload in HackMyAgent 0.33.2. Each payload tests a specific OASB-1 control and includes severity, remediation guidance and, where one applies, a CWE mapping.
Prompt Injection (PI)
Attempts to manipulate agent behavior via malicious input
Data Exfiltration (DE)
Attempts to extract sensitive information from the agent
MCP Exploitation (MCP)
Attempts to exploit MCP tool call parameters (path traversal, command injection, SSRF)
A2A Attack (A2A)
Attempts to exploit agent-to-agent messaging (identity spoofing, delegation abuse)
Memory Weaponization (MEM)
Attempts to poison, persist, or extract data through agent memory systems
Context Window (CTX)
Attempts to manipulate context window attention to displace safety instructions
Supply Chain (SUP)
Attempts to compromise agent dependencies through supply chain attacks
Tool Shadow (SHADOW)
Attempts to shadow, replace, or proxy legitimate tools to intercept data or modify behavior
Parser Differential (PARSE)
Exploits differences in how parsers (JSON, YAML, markdown) interpret the same input to bypass security controls
Persistent Agent Security (PERSIST)
Attacks that persist across agent sessions via memory poisoning, state tampering, or cached context injection
Fake Tool Detection (FAKETOOL)
MCP tool impersonation, shadow tool injection, and tool name squatting attacks
Context Lifecycle (LIFECYCLE)
Attacks targeting the system prompt assembly pipeline: cross-component injections, displacement, priority hijacking
Policy Enforcement Integrity (PEI)
Attacks that bypass policy enforcement via threshold fallbacks, config file injection, or parser error paths that fail open