arXiv · 2409.06561
ChatGPT's Potential in Cryptography Misuse Detection: A Comparative Analysis with Static Analysis Tools
Abstract
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.
Explore related subjects
Keep this discovery
Ehsan Firouzi, Mohammad Ghafari, Mike Ebrahimi. 2024-09-10. ChatGPT's Potential in Cryptography Misuse Detection: A Comparative Analysis with Static Analysis Tools. https://doi.org/10.1145/3674805.3695408
Cite the original work for its findings. Save a collection to share your selection of sources.