potentialpaper

MetaPI: Constructing Prompt Injection Benchmarks from Any Agent Benchmarks

Peiran Wang, Chong Xiang, Wenjie Qu, Ying Li, Jiaheng Zhang, G. Edward Suh, Yuan Tian

NeurIPS 2026

Edit this page

Or clone it with git

The page gets its repository with its first edit, so start in the web editor.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Agents powered by large language models (LLMs) are vulnerable to indirect prompt injection (IPI), in which malicious instructions embedded in external content can influence agent behavior at execution time. Progress in defending against IPI has largely been assessed using existing benchmarks. However, current IPI benchmarks are often limited by (1) oversimplified tasks and environments, (2) static attack objectives and strategies, and (3) non-adaptive attack payloads. To address these limitations, we present MetaPI, an extensible toolkit that turns any existing non-security agent benchmark into an agentic IPI benchmark, with built-in support for dynamic attack objective selection and adaptive attack payload optimization. We apply MetaPI to diverse agentic settings and evaluate a broad range of defenses across multiple backbone LLMs. Our results suggest that widely used benchmarks such as AgentDojo can substantially overstate both robustness and utility, especially when defenses are deployed in more realistic, complex environments. This further underscores the significance of MetaPI, the first toolkit of its kind to provide scalable, realistic, dynamic, and adaptive benchmarks for evaluating IPI defenses.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…