Evaluation of Static Vulnerability Detection Tools with Java Cryptographic API Benchmarks
Sharmin AfroseYXYa XiaoSRSazzadur Rahaman
Barton P. MillerDanfeng Sharmin Afrose
YXYa Xiao
SRSazzadur Rahaman

Barton P. Miller
Danfeng
+5
We introduce two benchmarks, CryptoAPI-Bench (181 unit tests) and ApacheCryptoAPI-Bench (121 cases from 10 Apache projects), for evaluating static tools that detect Java cryptographic API misuses. The benchmarks cover basic, interprocedural, field-sensitive, path-sensitive, and multi-class patterns, including correct cases to measure false-positive rates. We evaluated SpotBugs, CryptoGuard, CrySL, and Coverity on both benchmarks and report their comparative accuracy, security guarantees, and scalability. These benchmarks are designed to advance misuse detection research.

arXiv ·
· December 7, 2021