ChatGPT's Potential in Cryptography Misuse Detection: A Comparative Analysis with Static Analysis Tools
Not on the map. Why?
Abstract (arXiv)
The correct adoption of cryptography APIs is challenging for mainstream developers, often resulting in widespread API misuse. Meanwhile, cryptography misuse detectors have demonstrated inconsistent performance and remain largely inaccessible to most developers. We investigated the extent to which ChatGPT can detect cryptography misuses and compared its performance with that of the state-of-the-art static analysis tools. Our investigation, mainly based on the CryptoAPI-Bench benchmark, demonstrated that ChatGPT is effective in identifying cryptography API misuses, and with the use of prompt engineering, it can even outperform leading static cryptography misuse detectors.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 14 of its 29 references that are in the map. First posted on arXiv 10 Sep 2024.
Builds on
14 of 29 references.
References · 14
- 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 619
- 2023Is Stack Overflow Obsolete? An Empirical Study of the Characteristics of ChatGPT Answers to Stack Overflow Questionscited by 42
- 2024Prompting Techniques for Secure Code Generation: A Systematic Investigationcited by 34
- 2018CryptoGuard: High Precision Detection of Cryptographic Vulnerabilities in Massive-sized Java Projectscited by 8
- 2019The Impact of Developer Experience in Using Java Cryptographycited by 4
- 2020Java Cryptography Uses in the Wildcited by 3
- 2021FluentCrypto: Cryptography in Easy Modecited by 3
- 2024Time to Separate from StackOverflow and Match with ChatGPT for Encryptioncited by 3
- 2021Mutation-based Evaluation of Cryptographic API Misuse Detectorscited by 2
- 2021Cryptography Vulnerabilities on HackerOnecited by 2
- 2020CRYLOGGER: Detecting Crypto Misuses Dynamicallycited by 1
- 2021Hurdles for Developers in Cryptographycited by 1
Built on by
Citing papers per year: 2024: 1; 2025: 2; 2026: 1.
4 papers.
- 2025Benchmarking Prompt Engineering Techniques for Secure Code Generation with GPT Modelscited by 12
- 2026CIPHER: Cryptographic Insecurity Profiling via Hybrid Evaluation of Responsescited by 1
- 2024Beyond Static Tools: Evaluating Large Language Models for Cryptographic Misuse Detectioncited by 0
- 2025Poisoned Source Code Detection in Code Modelscited by 0
- 2026CIPHER: Cryptographic Insecurity Profiling via Hybrid Evaluation of Responses1 Feb 2026
- 2025Poisoned Source Code Detection in Code Models19 Feb 2025
- 2025Benchmarking Prompt Engineering Techniques for Secure Code Generation with GPT Models9 Feb 2025
- 2024Beyond Static Tools: Evaluating Large Language Models for Cryptographic Misuse Detection14 Nov 2024