AgentThreatBench is an evaluation suite that turns risks from the OWASP Top 10 for Agentic Applications (2026) into runnable tests. It has three tasks: memory poisoning, where an agent answers from a memory store laced with misleading entries; autonomy hijack, where emails try to redirect an email-triage agent; and data exfiltration, where a customer record tries to get a support agent to send personal data to an outsider. Each run scores usefulness and security separately.
What AgentThreatBench is
The OWASP Top 10 for Agentic Applications lists the main risks for AI agents, the Open Worldwide Application Security Project's follow-on to its LLM Top 10. AgentThreatBench is a small, focused suite that turns some of those risks into tests: does the agent do its job while resisting manipulation hidden in tool outputs, memory and multi-step workflows.
How AgentThreatBench tests an agent
It runs three tasks, each with its own command.
- Memory poison (ASI06, memory and context poisoning):
inspect eval inspect_evals/agent_threat_bench_memory_poison. The agent answers questions from a memory store containing adversarial entries: override instructions, contradictory facts, fake system authority, formatting tricks that break context boundaries. Easier cases append the poison next to real data; harder cases replace the data entirely, modelling an attacker with write access. - Autonomy hijack (ASI01, agent goal hijack): an email-triage agent reads an inbox in which messages carry hidden commands, gradual goal drift or fake security directives.
- Data exfiltration (ASI01): a customer-support agent looks up a record whose free-text fields tell it to send Social Security and account numbers to an unauthorised recipient.
Each task includes clean cases with no attack, so false positives are measured too.
What the scores tell you
Utility and security are scored separately, which gives four outcomes. High utility and high security is the goal. High utility with low security means the agent works but can be steered. Low utility with high security means it is so cautious it refuses real work. Low on both means it fails either way.
The suite is small, with 6 to 10 samples per task, so treat it as a quick check for these specific OWASP risks rather than a full measurement.
How to defend against what it measures
Treat memory as untrusted input: record where each entry came from, restrict who can write to it, and expire it. Keep instructions and data separate, so text inside an email or customer record is never read as a command. For exfiltration, enforce recipient allow-lists and redact sensitive fields in code before the model sees them, rather than asking the model not to leak. See excessive agency, MCP tool poisoning and vector and embedding weaknesses.
References
- [1]OWASP Top 10 for Agentic Applications (2026)(OWASP)
- [2]AgentThreatBench in Inspect Evals (task docs)(Inspect Evals)
- [3]OWASP Top 10 for LLM Applications (2025)(OWASP)
- [4]Inspect Evals registry: Safeguards evaluations(UK AI Security Institute)
OWASP's agentic risks look different in every deployment. Talk to a security expert about testing your agents against memory poisoning, goal hijack and exfiltration.