# M21 results: open prompt-injection detectors on synthetic shipping emails

Threshold 0.5 on the injection probability. Whole: the email cut at 512 tokens. Chunked: 512-token windows, 64 overlapping, highest score kept. Paragraphs: each blank-line paragraph scored alone, highest kept. Generated by `python -I run.py report`.

## protectai_v2 (protectai/deberta-v3-base-prompt-injection-v2; apache-2.0, English)

495.7 ms per email whole, 1078.1 ms chunked, 1386.8 ms by paragraph, cpu, 4 threads; labels {'0': 'SAFE', '1': 'INJECTION'}, injection label 1.

| Slice | Whole | Chunked | Paragraphs |
|---|---|---|---|
| en benign flagged (false alarms) | 0/60 (0%) | 0/60 (0%) | 30/60 (50%) |
| en hard benign flagged (false alarms) | 17/30 (57%) | 17/30 (57%) | 25/30 (83%) |
| en injected caught, all | 11/60 (18%) | 11/60 (18%) | 50/60 (83%) |
| en injected caught, direct override | 9/20 (45%) | 9/20 (45%) | 20/20 (100%) |
| en injected caught, subtle, no trigger words | 0/20 (0%) | 0/20 (0%) | 14/20 (70%) |
| en injected caught, exfiltration link | 2/20 (10%) | 2/20 (10%) | 16/20 (80%) |
| en injected caught, early in the email | 11/30 (37%) | 11/30 (37%) | 20/30 (67%) |
| en injected caught, late in the email | 0/30 (0%) | 0/30 (0%) | 30/30 (100%) |
| el benign flagged (false alarms) | 6/60 (10%) | 18/60 (30%) | 41/60 (68%) |
| el hard benign flagged (false alarms) | 10/30 (33%) | 15/30 (50%) | 30/30 (100%) |
| el injected caught, all | 16/60 (27%) | 44/60 (73%) | 60/60 (100%) |
| el injected caught, direct override | 7/20 (35%) | 17/20 (85%) | 20/20 (100%) |
| el injected caught, subtle, no trigger words | 2/20 (10%) | 10/20 (50%) | 20/20 (100%) |
| el injected caught, exfiltration link | 7/20 (35%) | 17/20 (85%) | 20/20 (100%) |
| el injected caught, early in the email | 16/30 (53%) | 16/30 (53%) | 30/30 (100%) |
| el injected caught, late in the email | 0/30 (0%) | 28/30 (93%) | 30/30 (100%) |
| English injection inside a Greek email, caught | 2/8 (25%) | 6/8 (75%) | 8/8 (100%) |

Late injections starting beyond the first 512 tokens for this tokenizer: 34 of 64.

## promptguard2_86m (gravitee-io/Llama-Prompt-Guard-2-86M-onnx; llama4; Meta's Llama Prompt Guard 2 86M as re-published ungated by gravitee-io (safetensors weights))

573.9 ms per email whole, 1013.0 ms chunked, 1052.7 ms by paragraph, cpu, 4 threads; labels {'0': 'BENIGN', '1': 'MALICIOUS'}, injection label 1.

| Slice | Whole | Chunked | Paragraphs |
|---|---|---|---|
| en benign flagged (false alarms) | 0/60 (0%) | 0/60 (0%) | 0/60 (0%) |
| en hard benign flagged (false alarms) | 0/30 (0%) | 0/30 (0%) | 5/30 (17%) |
| en injected caught, all | 4/60 (7%) | 10/60 (17%) | 12/60 (20%) |
| en injected caught, direct override | 4/20 (20%) | 10/20 (50%) | 12/20 (60%) |
| en injected caught, subtle, no trigger words | 0/20 (0%) | 0/20 (0%) | 0/20 (0%) |
| en injected caught, exfiltration link | 0/20 (0%) | 0/20 (0%) | 0/20 (0%) |
| en injected caught, early in the email | 4/30 (13%) | 4/30 (13%) | 6/30 (20%) |
| en injected caught, late in the email | 0/30 (0%) | 6/30 (20%) | 6/30 (20%) |
| el benign flagged (false alarms) | 0/60 (0%) | 0/60 (0%) | 0/60 (0%) |
| el hard benign flagged (false alarms) | 2/30 (7%) | 2/30 (7%) | 5/30 (17%) |
| el injected caught, all | 5/60 (8%) | 11/60 (18%) | 8/60 (13%) |
| el injected caught, direct override | 5/20 (25%) | 11/20 (55%) | 8/20 (40%) |
| el injected caught, subtle, no trigger words | 0/20 (0%) | 0/20 (0%) | 0/20 (0%) |
| el injected caught, exfiltration link | 0/20 (0%) | 0/20 (0%) | 0/20 (0%) |
| el injected caught, early in the email | 5/30 (17%) | 5/30 (17%) | 4/30 (13%) |
| el injected caught, late in the email | 0/30 (0%) | 6/30 (20%) | 4/30 (13%) |
| English injection inside a Greek email, caught | 2/8 (25%) | 4/8 (50%) | 2/8 (25%) |

Late injections starting beyond the first 512 tokens for this tokenizer: 64 of 64.

## proventra_mdeberta (proventra/mdeberta-v3-base-prompt-injection; mit, mDeBERTa-v3-base)

533.4 ms per email whole, 940.5 ms chunked, 991.4 ms by paragraph, cpu, 4 threads; labels {'0': 'SAFE', '1': 'INJECTION'}, injection label 1.

| Slice | Whole | Chunked | Paragraphs |
|---|---|---|---|
| en benign flagged (false alarms) | 0/60 (0%) | 0/60 (0%) | 0/60 (0%) |
| en hard benign flagged (false alarms) | 20/30 (67%) | 20/30 (67%) | 20/30 (67%) |
| en injected caught, all | 18/60 (30%) | 36/60 (60%) | 32/60 (53%) |
| en injected caught, direct override | 10/20 (50%) | 20/20 (100%) | 20/20 (100%) |
| en injected caught, subtle, no trigger words | 3/20 (15%) | 5/20 (25%) | 4/20 (20%) |
| en injected caught, exfiltration link | 5/20 (25%) | 11/20 (55%) | 8/20 (40%) |
| en injected caught, early in the email | 18/30 (60%) | 18/30 (60%) | 16/30 (53%) |
| en injected caught, late in the email | 0/30 (0%) | 18/30 (60%) | 16/30 (53%) |
| el benign flagged (false alarms) | 0/60 (0%) | 0/60 (0%) | 3/60 (5%) |
| el hard benign flagged (false alarms) | 16/30 (53%) | 16/30 (53%) | 15/30 (50%) |
| el injected caught, all | 17/60 (28%) | 33/60 (55%) | 34/60 (57%) |
| el injected caught, direct override | 10/20 (50%) | 20/20 (100%) | 20/20 (100%) |
| el injected caught, subtle, no trigger words | 2/20 (10%) | 4/20 (20%) | 5/20 (25%) |
| el injected caught, exfiltration link | 5/20 (25%) | 9/20 (45%) | 9/20 (45%) |
| el injected caught, early in the email | 17/30 (57%) | 17/30 (57%) | 17/30 (57%) |
| el injected caught, late in the email | 0/30 (0%) | 16/30 (53%) | 17/30 (57%) |
| English injection inside a Greek email, caught | 2/8 (25%) | 4/8 (50%) | 5/8 (62%) |

Late injections starting beyond the first 512 tokens for this tokenizer: 64 of 64.

## neuraltrust_small (NeuralTrust/prompt-guard-oss-small; mit, mmBERT-small)

179.2 ms per email whole, 327.3 ms chunked, 391.7 ms by paragraph, cpu, 4 threads; labels {'0': 'benign', '1': 'jailbreak'}, injection label 1.

| Slice | Whole | Chunked | Paragraphs |
|---|---|---|---|
| en benign flagged (false alarms) | 0/60 (0%) | 0/60 (0%) | 0/60 (0%) |
| en hard benign flagged (false alarms) | 0/30 (0%) | 0/30 (0%) | 6/30 (20%) |
| en injected caught, all | 15/60 (25%) | 16/60 (27%) | 32/60 (53%) |
| en injected caught, direct override | 13/20 (65%) | 13/20 (65%) | 20/20 (100%) |
| en injected caught, subtle, no trigger words | 0/20 (0%) | 0/20 (0%) | 0/20 (0%) |
| en injected caught, exfiltration link | 2/20 (10%) | 3/20 (15%) | 12/20 (60%) |
| en injected caught, early in the email | 6/30 (20%) | 6/30 (20%) | 16/30 (53%) |
| en injected caught, late in the email | 9/30 (30%) | 10/30 (33%) | 16/30 (53%) |
| el benign flagged (false alarms) | 0/60 (0%) | 0/60 (0%) | 0/60 (0%) |
| el hard benign flagged (false alarms) | 5/30 (17%) | 5/30 (17%) | 5/30 (17%) |
| el injected caught, all | 6/60 (10%) | 19/60 (32%) | 44/60 (73%) |
| el injected caught, direct override | 6/20 (30%) | 14/20 (70%) | 20/20 (100%) |
| el injected caught, subtle, no trigger words | 0/20 (0%) | 0/20 (0%) | 4/20 (20%) |
| el injected caught, exfiltration link | 0/20 (0%) | 5/20 (25%) | 20/20 (100%) |
| el injected caught, early in the email | 6/30 (20%) | 6/30 (20%) | 22/30 (73%) |
| el injected caught, late in the email | 0/30 (0%) | 13/30 (43%) | 22/30 (73%) |
| English injection inside a Greek email, caught | 2/8 (25%) | 4/8 (50%) | 4/8 (50%) |

Late injections starting beyond the first 512 tokens for this tokenizer: 34 of 64.

