Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

PIArena: A Platform for Prompt Injection Evaluation

About

Prompt injection attacks pose serious security risks across a wide range of real-world applications. While receiving increasing attention, the community faces a critical gap: the lack of a unified platform for prompt injection evaluation. This makes it challenging to reliably compare defenses, understand their true robustness under diverse attacks, or assess how well they generalize across tasks and benchmarks. For instance, many defenses initially reported as effective were later found to exhibit limited robustness on diverse datasets and attacks. To bridge this gap, we introduce PIArena, a unified and extensible platform for prompt injection evaluation that enables users to easily integrate state-of-the-art attacks and defenses and evaluate them across a variety of existing and new benchmarks. We also design a dynamic strategy-based attack that adaptively optimizes injected prompts based on defense feedback. Through comprehensive evaluation using PIArena, we uncover critical limitations of state-of-the-art defenses: limited generalizability across tasks, vulnerability to adaptive attacks, and fundamental challenges when an injected task aligns with the target task. The code and datasets are available at https://github.com/sleeepeer/PIArena.

Runpeng Geng, Chenlong Yin, Yanting Wang, Ying Chen, Jinyuan Jia• 2026

Related benchmarks

TaskDatasetResultRank
Question AnsweringSQuAD v2--
36
Question AnsweringDolly Closed QA--
36
Prompt Injection AttackSQuAD v2
ASR0.00e+0
27
Prompt Injection DefenseWASP--
16
Prompt Injection DefenseAgentDojo--
13
Prompt Injection DefenseOPI (Open-Prompt-Injection)--
9
Prompt Injection DefenseSEP--
9
Prompt Injection DefenseInjecAgent--
9
Prompt Injection DefenseAgentDyn--
9
Summary StatisticsAverage--
7
Showing 10 of 10 rows

Other info

Follow for update