Skip to content

bench: seeded-vulnerability security bench and scorer - #1973

Merged
remigiusz-antczak merged 2 commits into
mainfrom
land/1968
Oct 24, 2026
Merged

remigiusz-antczak merged 2 commits into
mainfrom
land/1968

Conversation

@remigiusz-antczak

Copy link
Copy Markdown
Collaborator

Supersedes #1968. It carries the same change as one squashed commit on current main, plus the size-budget-raise: lines that the size ratchet required and that failed #1968. The full description and review history are on #1968.

Tests: privacy clean, size-ratchet pass, plus the PR's own suites (see the commit message).

🤖 Generated with Claude Code

https://claude.ai/code/session_014QNFFPWVcPUbeuvwM5fk2Z

Remigiusz Antczak and others added 2 commits October 24, 2026 09:56
12 synthetic diffs each seeding one known vulnerability plus 4 safe look-alike decoys, keys.json with expected CWE, file:line, marker token and CWE equivalents, and security_bench_score.py scoring any arms on precision, recall (bootstrap CI via rival_eval.boot) and decoy false positives. Normalizes CWE ids and paths, collapses duplicate findings, scores file+line when a tool gives no CWE, and fails closed (exit 2) on a missing arm dir or findings file, malformed findings, invalid keys or duplicate arm names. Offline; no model calls.

Tests: 16/16

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014QNFFPWVcPUbeuvwM5fk2Z
@remigiusz-antczak
remigiusz-antczak merged commit dece5fa into main Oct 24, 2026
1 check passed
@remigiusz-antczak
remigiusz-antczak deleted the land/1968 branch October 24, 2026 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant