Skip to content
Docs›Trust›Detection benchmark
Trust · Measured 2026-07-02

Detection benchmark

We ran the free plugin flow against a named, public vulnerable app and published the real numbers: hits, misses, and false positives. The miss list is part of the report on purpose.

/ 01section

The target

VAmPI (erev0s/VAmPI) — “The Vulnerable API,” a Flask REST app with nine deliberately planted OWASP API vulnerabilities. Pinned commit f16052d. 14 routes scanned.

/ 02section

The numbers

Recall: 6 of 9 planted vulnerabilities detected (67%). Every detected finding cites an exact file:line and passed the deterministic verify gate: 8 findings proposed, 8 byte-verified, 0 hallucinated.

  • Detected: SQL injection (username) · BOLA — change another user’s password · excessive data exposure (_debug) · mass assignment (register as admin) · brute-force / missing rate limit on login.
  • Missed: BFLA — delete another user (the model saw an existing admin check and judged the route already gated) · missing authentication on _debug (it flagged the data leak, not the absent token) · missing content-type check on login (it added a rate limit, not a content-type rule).

These are honest gaps, not rounding.

/ 03section

False positives

On a safe baseline API (6 routes), the scan reported zero findings. It declined to invent problems. On VAmPI it raised two findings beyond the answer key: one real bug the benchmark scopes out (a ReDoS-prone email regex, correctly mitigated), and one over-eager authorization rule on a book route that would have blocked legitimate reads. We count the second as wrong.

/ 04section

Methodology

  • Standard free-plugin flow: route inventory (xsecurity routes --seed), handlers read by the model, one deterministic verify-finding byte-match per finding, compile --write, audit.
  • The detection run never saw the answer key — findings were frozen before ground truth was read, then scored by route + vulnerability class.
  • Single run, single model, one small teaching app. Treat it as a floor-check, not a guarantee.
Read this
Recall depends on the model you bring; this run used Claude. A different model, or a real production codebase, will score differently. The verify gate guarantees every emitted rule cites your code; it does not guarantee we found every bug. See known limitations.