← All papers  /  Nov 5, 2026
Evaluation · Agents

MetaPI: Constructing Prompt Injection Benchmarks from LLM Agent Benchmark

First page
MetaPI: Constructing Prompt Injection Benchmarks from LLM Agent Benchmark
The curator’s take

Peiran Wang and Chong Xiang (co-first authors, UCLA and NVIDIA) with colleagues at UC Berkeley introduce MetaPI, a toolkit that turns existing agent utility benchmarks into end-to-end indirect prompt injection benchmarks.

Ask this paper

Key points
01

Problem. Prompt injection benchmarks cover few tasks and environments and use static attacks, while utility benchmarks keep growing.

02

Toolkit. MetaPI finds plausible injection points, generates realistic attack goals, optimizes adaptive payloads and validates attacks in the real environment, with modular interfaces for agents, defenses and attacks.

03

Results. Applied to AppWorld, VitaBench and Terminal-Bench, no evaluated defense achieved both strong utility and strong security. The most robust victim models still had attack success above 20%.

04

Defenses. DataSentinel kept utility with smaller attack reductions, while the system-level CaMeL defense cut attacks with a large utility loss.

Abstract

Large language model (LLM) agents increasingly perform complex tasks using high-privilege tools, making indirect prompt injection (IPI) a critical security risk. However, IPI benchmarks lag behind their rapidly evolving utility counterparts, only offering limited task and environment coverage and relying on narrow, static attack scenarios. In this paper, we propose meta-benchmarking for IPI: transforming existing utility benchmarks into end-to-end IPI evaluation suites that reuse their realistic tasks, environments, and infrastructure. We present MetaPI, an extensible toolkit that automatically identifies plausible injection points, generates realistic attack objectives, optimizes adaptive payloads, and validates attacks in the real environment. Its modular interfaces support heterogeneous environments, agents, defenses, and attack algorithms, allowing new components to be integrated without redesigning the evaluation pipeline. We apply MetaPI to AppWorld, VitaBench, and Terminal-Bench and evaluate representative agents and defenses across multiple backbone LLMs. Our results show that no evaluated defense simultaneously achieves strong utility and strong security in realistic, adaptive agentic IPI settings. MetaPI thus enables scalable and consistent security evaluation across diverse and evolving agent ecosystems

Every Monday
Get next week’s papers.
Subscribe on Substack