Research question
Reliability starts with recurrence
If the same agent sees the same vulnerable code twice, does it report the same security issues twice?
JS 1.0 measures repeated behavior under controlled conditions. Ten inspectable JavaScript projects were reviewed by six configurations, five times each, using unchanged code, prompts, and harness settings.
Snyk Code supplies the deterministic reference set. The resulting Snyk-reference metrics describe agreement with that set; they do not claim exhaustive vulnerability-detection accuracy.
Benchmark design and configurations
Six configurations, repeated under the same conditions
Five Claude configurations ran through the same agentic harness. Snyk Code supplied deterministic reference reproduction. Each configuration ran every one of the ten projects five times.
| Configuration | |||||||
|---|---|---|---|---|---|---|---|
| Snyk Code SASTDeterministic reference reproduction | 100.0% | 0.0 pp | 100.0% | 100.0% | 14.8 s | 0 | N/A |
| Claude Opus 4.6 HighModel via agentic harness | 75.2% | 0.3 pp | 68.2% | 89.8% | 53.8 s | 66,929 | $0.125 |
| Claude Opus 4.6 MediumModel via agentic harness | 75.4% | 0.2 pp | 68.0% | 91.5% | 27.3 s | 51,574 | $0.063 |
| Claude Opus 4.7 MaxModel via agentic harness | 68.8% | 2.2 pp | 71.4% | 69.6% | 37.4 s | 95,969 | $0.356 |
| Claude Sonnet 4.6 HighModel via agentic harness | 64.9% | 3.5 pp | 81.3% | 58.6% | 94.8 s | 74,240 | $0.132 |
| Claude Sonnet 4.6 MediumModel via agentic harness | 67.4% | 0.9 pp | 80.9% | 62.6% | 59.3 s | 56,992 | $0.086 |
Macro average across 10 fixtures and 5 repetitions · Dataset 1.0.0 · Snyk VulnBench JS 1.0
Interpretation boundary: Snyk Code’s 100% row is deterministic reproduction of the reference set it defines. It is not a universal accuracy result.
Central result
Matched findings were stable. Extra reports varied.
The recurrence distribution shows a clear contrast between findings that aligned with the Snyk Code reference set and reports outside it.
Unmatched findings can include false-positive-shaped reports, adjacent comments, or valid product-gap candidates. They require inspection.
- 134 of 158Reference-matched findings seen in all five runsInspect
- 22 of 161Unmatched findings seen in all five runsInspect
- 80 of 161Unmatched findings seen in only one runInspect
134 of 158 · Reference-matched findings seen in all five runs
View exact recurrence values
| Finding group | Count | Share |
|---|---|---|
| Reference-matched findings seen in all five runs | 134 of 158 | 84.8% |
| Unmatched findings seen in all five runs | 22 of 161 | 13.7% |
| Unmatched findings seen in only one run | 80 of 161 | 49.7% |
Agreement and repeated-run variance
Higher agreement did not require higher variance
The stronger model configurations sit toward the upper-left: higher Snyk-reference F1 with less repeated-run spread.
Snyk Code SASTF1 standard deviation: 0.0 ppSnyk-reference F1: 100.0%
| Configuration | F1 standard deviation | Snyk-reference F1 |
|---|---|---|
| Snyk Code SAST | 0.0 pp | 100.0% |
| Claude Opus 4.6 Medium | 0.2 pp | 75.4% |
| Claude Opus 4.6 High | 0.3 pp | 75.2% |
| Claude Sonnet 4.6 Medium | 0.9 pp | 67.4% |
| Claude Opus 4.7 Max | 2.2 pp | 68.8% |
| Claude Sonnet 4.6 High | 3.5 pp | 64.9% |
Upper-left means higher Snyk-reference agreement and lower repeated-run variance.
Caveat: Reference agreement measures alignment with the Snyk Code reference set, not universal vulnerability-detection accuracy.
Snyk VulnBench JS 1.0 · Dataset 1.0.0 · Macro average across 10 fixtures and 5 repetitions · Source /data/js-1.0/published-evidence.json
Complementarity
Different systems exposed different strengths
Agentic LLM review consistently recognized familiar, high-signal exploit shapes and surfaced one likely Snyk Code product gap. Deterministic SAST was stronger at systematically enumerating repeated data-flow sinks.
The practical implication is not replacement. The evidence supports combining reasoning-oriented review with deterministic coverage, then triaging where their reports diverge.
Vulnerability-class behavior
High-signal exploit shapes were easier to recover consistently
The published class-level view separates familiar exploit patterns from systematic classes where agentic review agreed less often with the Snyk Code reference set.
| Configuration | Resource limits | Code injection | Command injection | CSRF | Hardcoded creds | Bad sanitization | Type validation | Info exposure | Insecure transport | Open redirect | Origin validation | Path traversal | Prototype pollution | ReDoS | SQL injection | SSRF | XSS |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Snyk Code SASTDeterministic reference reproduction | 100% | 100% | 100% | 100% | 100% | 100% | 100% | 100% | 100% | 100% | 100% | 100% | 100% | 100% | 100% | 100% | 100% |
| Claude Opus 4.6 Medium | 8% | 100% | 100% | 0% | 100% | 0% | 0% | 60% | 0% | 100% | 100% | 50% | 100% | 100% | 100% | 100% | 100% |
| Claude Opus 4.6 High | 8% | 100% | 100% | 0% | 100% | 0% | 0% | 62% | 0% | 100% | 100% | 50% | 100% | 100% | 100% | 100% | 100% |
| Claude Opus 4.7 Max | 30% | 100% | 100% | 100% | 100% | 0% | 80% | 72% | 0% | 100% | 100% | 53% | 100% | 100% | 100% | 100% | 70% |
| Claude Sonnet 4.6 Medium | 48% | 100% | 100% | 100% | 100% | 0% | 20% | 88% | 80% | 100% | 100% | 50% | 100% | 90% | 100% | 100% | 100% |
| Claude Sonnet 4.6 High | 45% | 100% | 100% | 100% | 100% | 20% | 0% | 82% | 80% | 100% | 100% | 50% | 100% | 100% | 100% | 100% | 100% |
Interpretation: Model rows show strong agreement on familiar high-signal classes including command injection, code injection, hardcoded credentials, SQL injection, SSRF, and open redirect. Agreement is weaker for resource limits, sanitization and type validation, insecure transport, and repeated path traversal.
Caveat: Snyk Code appears at 100% because it defines and deterministically reproduces this release’s reference set—not because this table establishes universal vulnerability coverage.
Snyk VulnBench JS 1.0 · Dataset 1.0.0 · Mean reference recall across 5 repetitions · 10 projects · Source /data/js-1.0/published-evidence.json
Project-level behavior
The larger app-like fixture exposed stable incompleteness
Nightowl adds routes, uploads, attachment handling, database state, and frontend JavaScript. It is one project-level stress point, not a substitute for the full benchmark.
| Configuration | Snyk-reference F1 | F1 spread | Repetitions |
|---|---|---|---|
| Snyk Code SAST | 100.0% | 0.0 pp | 5 |
| Claude Opus 4.6 Medium | 38.5% | 2.0 pp | 5 |
| Claude Opus 4.6 High | 40.0% | 0.0 pp | 5 |
| Claude Opus 4.7 Max | 30.7% | 7.9 pp | 5 |
| Claude Sonnet 4.6 Medium | 33.9% | 8.2 pp | 5 |
| Claude Sonnet 4.6 High | 29.4% | 4.3 pp | 5 |
Observed result: Claude Opus 4.6 High was the strongest model on JS Todo App (SQLite 4) at 40.0% Snyk-reference F1 and 0.0 percentage-point spread across five runs.
Boundary: This is one larger app-like project result, not the complete benchmark. Snyk Code’s 100% row is deterministic reference reproduction.
Snyk VulnBench JS 1.0 · Dataset 1.0.0 · Mean across 5 repetitions · Source /data/js-1.0/published-evidence.json
Efficiency
More expensive sessions did not automatically agree more
The model-only cost-quality comparison did not produce a simple spend-more, score-higher pattern. Cost, token usage, duration, agreement, and recurrence therefore remain separate measures.
Published cost estimates reflect small fixtures and the model-session assumptions documented for this release.
Inspect efficiency evidenceClaude Opus 4.6 HighEstimated model-session cost: $0.125Snyk-reference F1: 75.2%
| Configuration | Estimated model-session cost | Snyk-reference F1 |
|---|---|---|
| Claude Opus 4.6 High | $0.125 | 75.2% |
| Claude Sonnet 4.6 High | $0.132 | 64.9% |
| Claude Opus 4.6 Medium | $0.063 | 75.4% |
| Claude Sonnet 4.6 Medium | $0.086 | 67.4% |
| Claude Opus 4.7 Max | $0.356 | 68.8% |
Upper-left means higher Snyk-reference agreement at lower estimated model-session cost.
Caveat: Cost values reflect the tested small fixtures and the publication’s model-session pricing assumptions.
Snyk VulnBench JS 1.0 · Dataset 1.0.0 · Macro average across 10 fixtures and 5 repetitions · Source /data/js-1.0/published-evidence.json
Operational meaning
Practical implications for security teams
Combine reasoning with deterministic coverage
Use agentic review to surface contextual and unfamiliar patterns, while deterministic SAST systematically enumerates known data-flow sinks.
Measure recurrence before trusting queue shape
Repeated-run stability helps separate durable reports from one-run observations without treating recurrence as proof of validity.
Inspect unmatched findings instead of bulk-dismissal
Unmatched findings can be false-positive-shaped, adjacent to the reference scope, or evidence of a deterministic product gap.
Representative cases
Two SQL-shaped reports, opposite conclusions
Case inspection is necessary because the same unmatched label can describe non-executable vulnerability-shaped code or a likely reference-set gap.
Tigerteam: SQL-shaped code without an executable sink
25 of 25 model runs reported the SQL-shaped decoy.The helper logs a string and returns an empty array; it never sends the constructed query to a database.
function dbQuery(sql) {
console.log("Query:", sql);
return [];
}This is the kind of vulnerability-shaped pattern an LLM can describe plausibly even when the required execution sink is absent.
Nightowl: unmatched SQL injection with a real database sink
25 of 25 model runs reported the likely SQL injection gap.Unlike Tigerteam, this helper concatenates an identifier into an executable SQLite statement.
deleteTodo: (id) =>
db.prepare("DELETE FROM todos WHERE id = " + id).all()It remained unmatched because it was outside the Snyk Code reference set. That status should trigger investigation, not automatic dismissal.
Nightowl: stable output can still be incomplete
Claude Opus 4.6 High held a stable 40.0% Snyk-reference F1 while missing15 of 15 path-traversal opportunitiesand 10 of 15 resource-limit opportunities.
The model recognized representative high-signal issues but did not enumerate repeated vulnerable sinks as systematically as deterministic SAST.
What this does not prove
Keep the protocol boundary visible
- Snyk Code defines the reference set; its 100% score is deterministic reproduction of that set, not universal accuracy.
- The scorer matches by vulnerability type and does not require the same file, line, severity, or source-to-sink identity.
- The fixtures are small JavaScript and Express projects and do not represent every production architecture.
- Unmatched reports may include false positives, adjacent comments, or valid product-gap candidates.
- Normalization choices affect recurrence percentages.
- Cost values reflect small fixtures and the publication's model-session assumptions.
Continue the research trail