mlsanityData to 7 Oct 2026

Beyond Static Tools: Evaluating Large Language Models for Cryptographic Misuse Detection

arXiv 2411.09772 ↗First posted 14 Nov 2024cs.CR cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

The use of Large Language Models (LLMs) in software development is rapidly growing, with developers increasingly relying on these models for coding assistance, including security-critical tasks. Our work presents a comprehensive comparison between traditional static analysis tools for cryptographic API misuse detection-CryptoGuard, CogniCrypt, and Snyk Code-and the LLMs-GPT and Gemini. Using benchmark datasets (OWASP, CryptoAPI, and MASC), we evaluate the effectiveness of each tool in identifying cryptographic misuses. Our findings show that GPT 4-o-mini surpasses current state-of-the-art static analysis tools on the CryptoAPI and MASC datasets, though it lags on the OWASP dataset. Additionally, we assess the quality of LLM responses to determine which models provide actionable and accurate advice, giving developers insights into their practical utility for secure coding. This study highlights the comparative strengths and limitations of static analysis versus LLM-driven approaches, offering valuable insights into the evolving role of AI in advancing software security practices.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 9 of its 34 references that are in the map. First posted on arXiv 14 Nov 2024.

Builds on

9 of 34 references.

References · 9

  1. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  2. 2023Large Language Models for Code Analysis: Do LLMs Really Do Their Job?cited by 44
  3. 2023Exploring ChatGPT's Capabilities on Vulnerability Managementcited by 19
  4. 2023ChatGPT, Can You Generate Solutions for my Coding Exercises? An Evaluation on its Effectiveness in an undergraduate Java Programming Coursecited by 12
  5. 2018CryptoGuard: High Precision Detection of Cryptographic Vulnerabilities in Massive-sized Java Projectscited by 8
  6. 2024Beyond Static Pattern Matching? Rethinking Automatic Cryptographic API Misuse Detection in the Era of LLMscited by 6
  7. 2024ChatGPT's Potential in Cryptography Misuse Detection: A Comparative Analysis with Static Analysis Toolscited by 4
  8. 2021FluentCrypto: Cryptography in Easy Modecited by 3
  9. 2021Mutation-based Evaluation of Cryptographic API Misuse Detectorscited by 2

Built on by

Not cited yet.