$ screen --status
Injection screen
Incoming prompts pass this screen before the agent acts on them, so its cost is paid on every turn; content fetched from the web or tools gets only the pattern check. Measured latency, against the ceiling it has to stay under.
injection screen
The prompt-injection screen runs inline, as a hook, so it has a hard budget of 200 ms. At p95 the model behind it answers in 23.
The margin matters for a specific reason: a check that times out is skipped, and a skipped check looks exactly like a clean one. At this p95 the model is actually consulted, not bypassed.
challengers
Three open detectors were run against the screen's own model on the same 465 attacks and 339 trigger-word benign prompts, on CPU, each held to the false-positive rate the screen has on a hard-benign calibration set. The comparison and its bar were registered before any of them ran.
| detector | attack recall | benign look-alikes passed | CPU ms / item | verdict |
|---|---|---|---|---|
| screen (saci-injection-v3) | 72.9% | 80.8% | 56.42 | stays |
| PIGuard | 97.2% | 66.7% | 112.17 | rejected: over-defense |
| Horizon prompt-injection-guard-base | 98.9% | 39.8% | 82.31 | rejected: over-defense |
| Llama Prompt Guard 2 86M | 58.3% | 81.7% | 103.09 | rejected: lower recall |
The two detectors with higher recall pass far fewer benign look-alikes, so they fail the over-defense gate: they catch more by blocking ordinary text. Llama Prompt Guard 2 is the only one that holds that gate, but it misses more attacks than the screen — the screen's lead is 9.0 to 20.2 points of recall at 95% confidence. The screen stays. Two limits: the Portuguese test set came later (see retraining below), and none of this measures adaptive attacks.
retraining
Five retrained versions of the screen were scored once against the current one, under a gate registered before any of them ran: the same 465 attacks, 196 attacks in Portuguese, and 1266 benign prompts from this pipeline's own traffic, each version held to a 5.0% false-positive target on a separate calibration half.
| version | own-traffic false positives | attack recall | obfuscated recall | Portuguese recall | verdict |
|---|---|---|---|---|---|
| current screen | 18.3% | 72.9% | 72.6% | 17.3% | baseline |
| previous recipe + Portuguese data | 5.0% | 32.0% | 28.4% | 40.8% | fails recall |
| + own-domain rows | 4.6% | 68.4% | 66.4% | 74.0% | fails recall |
| + penalty on benign energy | 4.7% | 37.9% | 33.8% | 49.5% | fails recall |
| + whitespace normalization | 6.2% | 31.4% | 27.7% | 30.1% | fails recall |
| all of the above | 5.9% | 63.9% | 61.5% | 69.9% | fails recall |
Every version cuts false positives on our own traffic to about a third or less of the current screen's, and the best one catches Portuguese attacks four times as often. None ships: each loses attack recall beyond the registered margin and falls under the obfuscated-recall floor of 72.6%. The result is also recorded as underpowered, for a separate reason: the benign labels were checked by a second, independent model rater, and its agreement came out at kappa 0.44 (0.33 to 0.54 at 95% confidence), below the 0.6 the gate required. A gate that cannot trust its labels does not promote, even when the numbers would have allowed it; here they did not.