Metraipolis › archive › dc_9d96f7e339c2
LongPIBench: A Long-Context Benchmark for Prompt Injection — arXiv:2608.28411
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.28411
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-17T10:48:18.555Z
- SHA-256 of the archived text
18e6bbd112eec96e89dee9022c7a1b56f6dbd3e4240fc2e796ddb737206f8ffd- Stable URL of this page
https://metraipolis.com/documento/dc_9d96f7e339c2
How to cite
LongPIBench: A Long-Context Benchmark for Prompt Injection — arXiv:2608.28411 — arXiv (en), https://arxiv.org/abs/2608.28411 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_9d96f7e339c2 (Metraipolis archive dc_9d96f7e339c2, sha256 18e6bbd112eec96e89dee9022c7a1b56f6dbd3e4240fc2e796ddb737206f8ffd)
BibTeX
@misc{dc9d96f7e339c2,
title = {LongPIBench: A Long-Context Benchmark for Prompt Injection — arXiv:2608.28411},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.28411},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_9d96f7e339c2; sha256 18e6bbd112eec96e89dee9022c7a1b56f6dbd3e4240fc2e796ddb737206f8ffd},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.28411. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Prompt injection attacks pose a serious security risk to large language models in real-world applications. However, existing prompt injection benchmarks primarily focus on short-context inputs, leaving the attacks and defenses in long-context settings largely unexplored. This gap leads to a substantial overestimation of the effectiveness of current defenses. In this paper, we bridge the gap by introducing LongPIBench, a long-context benchmark for prompt injection covering 4 realistic application scenarios: paper peer review, resume screening, code review, and email summary. For each scenario, we construct a synthetic dataset and a real-world dataset, with context lengths ranging from thousands to tens of thousands of tokens. The evaluation results on LongPIBench reveal significant vulnerabilities of prompt injection defenses under long-context settings: even simple heuristic prompt injection attacks achieve high success rates and frequently bypass state-of-the-art defenses. We hope LongPIBench can serve as a practical benchmark for systematically evaluating prompt injection defenses in realistic long-context scenarios. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-31 in cs.AI). Categorie arXiv: Cryptography and Security (cs.CR) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2608.28411 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-17T10:33:42.529Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-08-31?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).