← All articles

AI security   ·   November 10, 2026  ·  7 min read

Prompt injection defences fail on real tasks

A team from UCLA, NVIDIA, Berkeley and NUS took three ordinary agent benchmarks and embedded attacks in them. Defences with almost zero breaches on AgentDojo let through 9 to 44% of attacks here — or break the agent itself.

Paper review

MetaPI: Constructing Prompt Injection Benchmarks from LLM Agent Benchmark

Peiran Wang, Chong Xiang, Wenjie Qu, Ying Li, Jiaheng Zhang, G. Edward Suh, Yuan Tian  ·  UCLA, NVIDIA, UC Berkeley, NUS · November 5, 2026

Original on arXiv  ↗

Key figure

0 of 8

defences deliver an agent that is both protected and still working. MetaPI, three benchmarks

In short

01Without a defence 44–50% of attacks succeed — on AppWorld, VitaBench and Terminal-Bench
02CaMeL stops everything, but the agent solves 33.7% of tasks instead of 82.5%
03Cheap defences cut the attack success rate by half at most

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

AppWorld: attack success rate
No defence50.0%
Spotlighting25.0%
DRIFT22.9%
CaMeL0.0%

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?

Read also

Research and agentic systems

All articles

Accredited IT company · Russian Ministry of Digital Development registry No. 20142