mlsanityData to 14 Oct 2026

ChatGPT's Potential in Cryptography Misuse Detection: A Comparative Analysis with Static Analysis Tools

arXiv 2409.06561 ↗First posted 10 Sep 2024cs.CR cs.AIcited by 4

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

  1. 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 619
  2. 2023Is Stack Overflow Obsolete? An Empirical Study of the Characteristics of ChatGPT Answers to Stack Overflow Questionscited by 42
  3. 2024Prompting Techniques for Secure Code Generation: A Systematic Investigationcited by 34
  4. 2018CryptoGuard: High Precision Detection of Cryptographic Vulnerabilities in Massive-sized Java Projectscited by 8
  5. 2019The Impact of Developer Experience in Using Java Cryptographycited by 4
  6. 2020Java Cryptography Uses in the Wildcited by 3
  7. 2021FluentCrypto: Cryptography in Easy Modecited by 3
  8. 2024Time to Separate from StackOverflow and Match with ChatGPT for Encryptioncited by 3
  9. 2021Mutation-based Evaluation of Cryptographic API Misuse Detectorscited by 2
  10. 2021Cryptography Vulnerabilities on HackerOnecited by 2
  11. 2020CRYLOGGER: Detecting Crypto Misuses Dynamicallycited by 1
  12. 2021Hurdles for Developers in Cryptographycited by 1
2 more
  1. 2022CamBench -- Cryptographic API Misuse Detection Tool Benchmark Suitecited by 1
  2. 2024From Struggle to Simplicity with a Usable and Secure API for Encryption in Javacited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 2; 2026: 1.

4 papers.