AgentDojo

Dynamic environment for evaluating prompt-injection attacks and defenses on tool-using agents.

Records citing AgentDojo

May 6, 2025
Meta releases LlamaFirewall guardrails with PromptGuard 2 and AlignmentCheck for agents
DefenseTool releaseMeta

Meta open-sources LlamaFirewall, combining PromptGuard 2 (a jailbreak and injection detector), AlignmentCheck (a chain-of-thought auditor for goal hijacking) and CodeShield (static analysis of generated code). On AgentDojo, Meta reports that the combination cut attack success from 17.63% to 1.75% while utility fell from 47.73% to 42.68%.

Mar 24, 2025
Google DeepMind's CaMeL defeats prompt injections by design with capability-based control and data flow
DefensePaperGoogle DeepMind, Google, ETH Zurich

Debenedetti and colleagues (Google, Google DeepMind, ETH Zurich) propose CaMeL, which extracts control flow from the trusted user query so untrusted data cannot change which actions run, and attaches capabilities to data to block unauthorized flows. On AgentDojo the first version reported 67% of tasks solved with provable security; the June 2025 revision, with newer models, reports 77% versus 84% for an undefended system.

Mar 24, 2025
NIST AI 100-2 E2025 taxonomy adds a dedicated section on security of AI agents
PolicyStandardNIST, UK AI Security Institute, US Center for AI Standards and Innovation

NIST released the 2025 edition of its adversarial machine learning taxonomy, co-authored with the UK AI Security Institute and US AI Safety Institute staff. Unlike the 2023 edition, it includes a section on the security of agents, noting that tool-using agents are exposed to direct and indirect prompt injection and that hijacking can lead to arbitrary code execution or data exfiltration.

Jan 17, 2025
US AISI (later CAISI) shows red-team attacks and repeated attempts raise agent hijacking rates on AgentDojo
DefenseEvaluation reportNIST, US Center for AI Standards and Innovation, UK AI Security Institute

NIST's AI safety institute technical staff (renamed the Center for AI Standards and Innovation in June 2025) extended AgentDojo and red-teamed agents built on the upgraded Claude 3.5 Sonnet. On held-out Workspace tasks, attack success rose from 11% for the strongest baseline attack to 81% for the strongest newly developed attack, and across five injection tasks from 57% to 80% when each attack was tried 25 times. The team released an Inspect-based AgentDojo port and ran the red teaming with the UK AI Security Institute.

Jun 19, 2024
AgentDojo: an extensible environment for prompt injection attacks and defenses on LLM agents
DefenseBenchmarkETH Zurich, Invariant Labs

Debenedetti and colleagues (ETH Zurich, Invariant Labs) release AgentDojo, a dynamic environment with 97 realistic user tasks across workspace, banking, travel and Slack suites and 629 security test cases. It measures both utility and targeted attack success, and reports that existing attacks break some security properties but not all. It became the standard testbed used by CaMeL, US AISI/CAISI, LlamaFirewall and adaptive-attack studies.