CryptoGuard: High Precision Detection of Cryptographic Vulnerabilities in Massive-sized Java Projects
Not on the map. Why?
Abstract (arXiv)
Cryptographic API misuses, such as exposed secrets, predictable random numbers, and vulnerable certificate verification, seriously threaten software security. The vision of automatically screening cryptographic API calls in massive-sized (e.g., millions of LoC) Java programs is not new. However, hindered by the practical difficulty of reducing false positives without compromising analysis quality, this goal has not been accomplished. State-of-the-art crypto API screening solutions are not designed to operate on a large scale. Our technical innovation is a set of fast and highly accurate slicing algorithms. Our algorithms refine program slices by identifying language-specific irrelevant elements. The refinements reduce false alerts by 76% to 80% in our experiments. Running our tool, CrytoGuard, on 46 high-impact large-scale Apache projects and 6,181 Android apps generate many security insights. Our findings helped multiple popular Apache projects to harden their code, including Spark, Ranger, and Ofbiz. We also have made substantial progress towards the science of analysis in this space, including: i) manually analyzing 1,295 Apache alerts and confirming 1,277 true positives (98.61% precision), ii) creating a benchmark with 38-unit basic cases and 74-unit advanced cases, iii) performing an in-depth comparison with leading solutions including CrySL, SpotBugs, and Coverity. We are in the process of integrating CryptoGuard with the Software Assurance Marketplace (SWAMP).
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). First posted on arXiv 18 Jun 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 0; 2023: 1; 2024: 3; 2025: 1; 2026: 2.
8 papers.
- 2024An Investigation into Misuse of Java Security APIs by Large Language Modelscited by 11
- 2023Towards Trustworthy AI Software Development Assistancecited by 4
- 2024ChatGPT's Potential in Cryptography Misuse Detection: A Comparative Analysis with Static Analysis Toolscited by 4
- 2025CryptoScope: Utilizing Large Language Models for Automated Cryptographic Logic Vulnerability Detectioncited by 3
- 2021Embedding Code Contexts for Cryptographic API Suggestion:New Methodologies and Comparisonscited by 0
- 2024Beyond Static Tools: Evaluating Large Language Models for Cryptographic Misuse Detectioncited by 0
- 2026Detecting and Understanding Vulnerabilities in Fully Homomorphic Encryption Frameworkscited by 0
- 2026Understanding the Impact of AI Code Assistants on Security API Usage: An Empirical Studycited by 0
- 2026Understanding the Impact of AI Code Assistants on Security API Usage: An Empirical Study13 Jul 2026
- 2026Detecting and Understanding Vulnerabilities in Fully Homomorphic Encryption Frameworks21 Jun 2026
- 2025CryptoScope: Utilizing Large Language Models for Automated Cryptographic Logic Vulnerability Detection15 Aug 2025
- 2024Beyond Static Tools: Evaluating Large Language Models for Cryptographic Misuse Detection14 Nov 2024
- 2024ChatGPT's Potential in Cryptography Misuse Detection: A Comparative Analysis with Static Analysis Tools10 Sep 2024
- 2024An Investigation into Misuse of Java Security APIs by Large Language Models4 Apr 2024
- 2023Towards Trustworthy AI Software Development Assistance14 Dec 2023
- 2021Embedding Code Contexts for Cryptographic API Suggestion:New Methodologies and Comparisons15 Mar 2021