Two numbers, then the part most write-ups leave out.
gamai-tripwire watches an agent session (tool calls and their arguments) and flags the shape of an attack:
a credential file read, a switch from reading to writing, an amount that does not match the approval.
At the 95 % recall operating point (level ≥ medium), on a seeded corpus plus a held-out seed:
- 80 / 80 attacks caught
- 0 / 360 benign sessions flagged
- 0 / 360 benign on the held-out seed
- p50 0.31 ms, p95 1.52 ms per session
Zero false positives at that recall is the kind of number that makes people suspicious, so here is the part
that keeps it honest: at the low level the same detector flags 51 / 360 benign sessions (14 %), almost all
from one rule (tool_switch). A previous version of our own docs said "0/360 at any level" — that was wrong,
the measure tool caught it, and the docs now say medium-or-higher 0/360 and low 51/360.
The other artefact in the same family, gamai-guard, is deliberately not flattering either: on the v5
holdout it blocks 31 / 75 = 41.3 % (clustered CI 21.3–62.7 %), pooled 69.6 % at 4 / 120 false positives. A
guard that claims 96 % on its own training split is measuring the split.
If you run agents that touch money, invoices or credentials, the useful question is not "does it catch
attacks" but "what does it cost in false alarms, and at which threshold". Both repos ship the corpus and the
measurement tool so you can answer that on your own traffic.
Repo: https://github.com/gamai-io/gamai-tripwire · https://github.com/gamai-io/gamai-guard
Bench: tools/detbench.py, docs/BENCHMARK.md, docs/FALSE_POSITIVES.md