| Bug found (vulnerable file) | 3 of 3 runs |
|---|---|
| Patched file clean of the bug | 3 of 3 runs |
| False or unrelated findings removed by Opus | 8 rejected; 0 unrelated kept (unverified) |
| Local scan time, 6 runs | 45 minutes on one Mac Studio |
| Opus cost, 6 runs | USD 2.30 (both passes) |
The bug
CVE-2025-9820 in GnuTLS, one of the vulnerabilities AISLE Research discovered and disclosed. gnutls_pkcs11_token_init() copies the token label into a fixed 32-byte stack buffer with the length of the label, not the length of the buffer.
- Class: Stack buffer overflow (CWE-121)
- File:
lib/pkcs11_write.c, 1,434 lines - Vulnerable:
42a9dc307209; fix:1d56f96f6ab5
What happened
This is the case the pipeline is built for. The buffer is declared a few lines above a memcpy that uses strlen() of the caller's string, and nothing in between checks the length. The local model reported it in every run, and the local triage kept it every time.
Opus confirmed it in all three runs with the same reasoning: a 32-byte stack buffer, a copy of strlen(label) bytes, and no bounds check, in a public API function. It named both lines.
Around it, the local model also kept eight other findings across the vulnerable and patched files, mostly "NULL pointer" claims on required API parameters. Opus rejected all of them, explaining that passing NULL to a required parameter of a C library is a caller bug, not an attack path. The patched file came out clean in all three runs.
Run by run
"Raised" are findings the local scan sent to triage, "kept" are the ones local triage believed. Opus then checked every kept finding.
| Run | Vulnerable file | Patched file |
|---|---|---|
| 1 | Found. 5 raised, 3 kept; Opus: 1 confirmed, 0 uncertain, 2 rejected | 4 raised, 3 kept; Opus: 0 confirmed, 0 uncertain, 3 rejected |
| 2 | Found. 4 raised, 2 kept; Opus: 1 confirmed, 0 uncertain, 1 rejected | 4 raised, 1 kept; Opus: 0 confirmed, 0 uncertain, 1 rejected |
| 3 | Found. 1 raised, 1 kept; Opus: 1 confirmed, 0 uncertain, 0 rejected | 4 raised, 1 kept; Opus: 0 confirmed, 0 uncertain, 1 rejected |
Kept by local triage: 6 on the vulnerable file and 5 on the patched file over three runs. In a second pass Opus also checked every finding the local triage rejected; it recovered none of the missed bugs.
Takeaway
Overflows with an explicit length mismatch in one function are where a local model plus an Opus check is reliable.
How we ran it
Same setup as our first benchmark: nano-analyzer with Qwen 3.6 35B A3B running locally on our Mac Studio, 5 triage rounds, three runs per file, then Claude Opus 4.6 as an optional paid second opinion on public code only. The model is never told which bug to expect. Results for all nine applications: the overview.
Questions or raw run data: [email protected].