InjecGuard: A Benchmark and Mitigation for Over-Defense in Prompt Injection Guardrail ModelsInjecGuard: Benchmarking and Mitigating Over-defense in Prompt Injection Guardrail Models
The researchers propose the NotInject evaluation set and the InjecGuard prompt injection guardrail model to address the over-defense problem in which prompt guardrail models misclassify benign inputs as malicious due to trigger-word bias. NotInject contains 339 benign samples augmented with common prompt injection trigger words, and state-of-the-art guardrail models' accuracy on this evaluation set drops to near random-guessing level (60%). InjecGuard adopts the MOF (Mitigating Over-defense for Free) training strategy, significantly reducing bias toward trigger words, and outperforms the previous best model by 30.8% on multiple benchmarks including NotInject. Code and datasets are open-sourced at https://github.com/leolee99/InjecGuard。
Related events and news
1 events · 1 news mentions
News that mentions this paper
Adversa AI:编码智能体安全需自建与采购分层
- Adversa AIcites the paper's id or linkAdversa AI 作者建议:编码智能体安全自建组织特有管道,采购跨厂商统一视图
On benign prompts that contain trigger words, PromptGuard scored 0.88% accuracy.