Researchers evaluated fifteen prompt-injection detectors and two LLM judges on tool outputs from two agent , AgentDojo and tau-bench, and the BIPIA benchmark. They used a differential replay method to obtain benign and injected tool outputs with ground truth, avoiding the contamination issues of standard benchmarks.
Detection rankings transferred poorly between benchmarks: the best detector on BIPIA caught only 2% of AgentDojo injections at a 1% false-positive rate. False-positive rates on tool outputs were stable across agent benchmarks but varied widely. Training data audits showed that detectors work on inputs whose format resembles their training data, not on general detection ability.
These findings matter because teams currently choose detectors based on benchmark scores that do not reflect real agent deployment. Evaluations should use the agent's own tool outputs, report at low false-positive rates, and audit what the detector was trained on.