Where the attacks came from
An injection benchmark is usually written from scratch: a few dozen tasks in a simplified environment and a fixed set of attacks. The MetaPI authors came from the other side. They took existing benchmarks that measure how useful agents are and automatically turned their tasks into attacks.
- Where to hide it. The system itself finds fields the agent reads during the task: an email, a review, terminal command output.
- What to aim for. The attack goal is matched to the environment, the injection text is refined for up to 12 iterations and checked in a live environment.
What happened without a defence
From 150 selected tasks came 183 working attacks. A deepseek-v4-flash agent without a defence follows someone else’s instruction in 50.0% of cases on AppWorld, 45.9% on VitaBench and 44.4% on Terminal-Bench. Closed models and kimi-k3 hold up better, but they are still above 20%. One detail amused me: GPT turned out to be a weak attacker, with 29% success. It refuses to write injections.
The price of protection
Authors’ data, deepseek-v4-flash agent. Share of clean tasks solved, in the same order: 82.5 / 80.4 / 70.5 / 33.7%.
CaMeL is the only defence with zero breaches. The agent pays for it: on AppWorld it solves 33.7% of tasks against 82.5% without a defence, none at all on Terminal-Bench, and it uses about 2.3 times more tokens. DRIFT and MELON cost 12 and 17 points of usefulness and still let through 23 to 35% of attacks.
What to pick at
The work is not perfect, and the authors say so themselves.
- Text only. Images, PDFs and other multimodal surfaces were not tested.
- An LLM in the loop. Injection points and attack goals are chosen by a model; its choices cannot be fully verified.
- Unequal conditions. Meta-SecAlign runs on a different model, and CaMeL did not run on VitaBench. Comparisons with them are approximate.
What it means in practice
If you are choosing a defence for an agent with access to email, a terminal or a CRM, the AgentDojo number will tell you little. You need to measure on your own tasks and with adaptive attacks, and track two numbers at once: how many attacks got through and how much work the agent still does afterwards. That pair is exactly why LLMRed and LLMGuard exist: a filter that cuts half of the useful actions will be switched off by the client within a week. Do you know how many tasks your agent loses with protection turned on?