CryptoBench: A benchmark of cryptographic API misuse for evaluating LLM code reviewers
54 Python snippets covering nine cryptographic misuse classes (36 vulnerable, 18 matched secure controls), a self-contained harness that queries local Ollama models with a fixed verdict-only prompt, and 1,890 recorded trials across seven open code models (qwen2.5-coder 0.5B to 14B, deepseek-coder 6.7B, codellama 7B). Includes an analysis script that reproduces per-model and per-class detection rates with Wilson 95% confidence intervals. v1.0.1 corrects the documentation: the harness sets no decoding options, so models ran at Ollama default sampling (v1.0.0 README wrongly said temperature 0). Data and results are unchanged.
- Link
- https://doi.org/10.5281/zenodo.23121152
- Found by
- DataCite
- Authors
- Sunny Chokshi
- Organizations
- University of the Cumberlands
- Categories
- benchmark, evaluation
- Published
- 2026-10-03
- Last seen by the radar
- 2026-10-05
- Citations
- 1
- Downloads
- 0
- Views
- 0
- Radar score
- 38.38 / 100 (how it is scored)
- Why it scored so
- Matched: benchmark, evaluat; Primary record: DataCite
- Related links
- https://zenodo.org/doi/10.5281/zenodo.23121152