Skip to content
Refractal·Indexed by this site · Originally published· Evaluation →

How reliable are prompt injection detectors?

How reliable are prompt-injection detectors?

AI summary

Refractal evaluated seven detection models on five prompt injection and jailbreak benchmarks totaling 4,256 samples. Jev 1.13 achieved the highest average F1 at 71.36%. Among the six local text classifiers evaluated, deepset DeBERTa Base had the highest average F2 (82.56%), and FMOps DistilBERT had the lowest average prediction latency (5.1 ms). Variation across individual benchmarks was large: Protect AI Base v2's F1 reached 90.60% on English 3K but only 8.70% on PromptShield; Jev had the highest F1 on PromptShield (56.49%) yet falsely flagged 58.98% of benign inputs. On English 3K, deepset, FMOps and Jev detected all 187 attacks but falsely flagged 120, 124 and 90 of the 127 benign samples, while a baseline that labeled everything as an attack still had an F1 of 74.65%.

Read originalrefractal-ai.com