PISmith: Reinforcement Learning-based Red Teaming for Prompt Injection Defenses
Prompt injection poses serious security risks to real-world LLM applications, particularly autonomous agents. Although many defenses have been proposed, their robustness against adaptive attacks remains insufficiently evaluated, potentially creating a false sense of security. In this work, we propose PISmith, a reinforcement learning (RL)-based red-teaming framework that systematically assesses existing prompt-injection defenses by training an attack LLM to optimize injected prompts in a practical black-box setting, where the attacker can only query the defended LLM and observe its outputs. We find that directly applying standard GRPO to attack strong defenses leads to sub-optimal perform...
| Authors | Chenlong Yin, Runpeng Geng, Yanting Wang et al. |
|---|---|
| Primary category | cs.LG |
| Published | 13 March 2026 |
| Last updated at source | 23 July 2026 |
Connected in the knowledge graph
- ttttonyhe/Qwen3-4B-Instruct-RETAModel · cited by
- Sizhe-Chen/Qwen3.6-27B-Instruct-SecPOModel · cited by
Models and datasets referencing this paper
Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.