NeurIPS 2026QuestionsPapersAreasAboutMarkdown

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 page · OpenReview · Open on the map

Category: AI Safety, Security & Alignment › Multi-Agent Security Evaluation · Type: system or tooling · Keywords: prompt injection, benchmark construction, LLM agent security, dynamic attack objectives, adaptive payload optimization, IPI defense evaluation

Areas: AI Agents › Agent Robustness › LLM Agent Attacks; Safety & Security › Language Model Security › LLM Agent Security; Evaluation & Benchmarks › Language Model and Agent Safety › Agent Security Benchmarks; Benchmarks for LLMs & Agents › Agent Trustworthiness Benchmarks › Agent Security Benchmarks

Summary

MetaPI is an extensible toolkit that converts any existing non-security agent benchmark into a dynamic, adaptive prompt injection benchmark for evaluating IPI defenses.

Explained to a 5-year-old

Agents are computer programs that can talk to us using words. They are made by big language models that try to be helpful. Sometimes, someone can hide a bad instruction inside a picture or text, and the agent might follow it without knowing. This is called prompt injection. Right now, the games we play to test if agents are safe are too easy and don't change.

Explained to a 5-year-old, longer

Agents are computer programs that can talk to us using words. They are made by big language models that try to be helpful. Sometimes, someone can hide a bad instruction inside a picture or text, and the agent might follow it without knowing. This is called prompt injection. Right now, the games we play to test if agents are safe are too easy and don't change. The paper creates a new tool that can turn any existing game into a harder test for prompt injection. This tool makes the test adapt and get smarter, like a game that learns new tricks. It works with many different kinds of agents and many different helpers. By using this new tool, we can see that some popular games might be giving agents too much credit for being safe. This helps us build safer agents for real life.

For a technical reader

The paper describes a toolkit that turns any existing agent benchmark into a prompt injection benchmark. It adds dynamic selection of attack goals and adaptive payload generation, making tests more realistic. Evaluations show that popular benchmarks can overstate robustness, highlighting the need for better testing. The toolkit supports multiple LLM backbones and defense methods, offering a flexible solution for security researchers.

Problem

Existing prompt injection benchmarks are limited by oversimplified tasks, static attack objectives, and non-adaptive payloads, which can lead to overestimation of defense robustness.

Method

The approach provides a toolkit that takes any existing non-security agent benchmark and augments it with dynamic attack objective selection and adaptive payload optimization to create an IPI benchmark. It supports evaluation across multiple LLM backbones and defense strategies.

Results

The results indicate that existing benchmarks like AgentDojo can overstate robustness and utility when evaluated in more realistic, complex environments.

Contributions

The paper introduces a scalable toolkit for constructing dynamic, adaptive prompt injection benchmarks from any existing agent benchmark, enabling more realistic evaluation of IPI defenses across multiple LLM backbones.

Practical relevance

It enables researchers and practitioners to evaluate IPI defenses more realistically, improving the security of LLM-based agents.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction