Beyond Static Pattern Matching? Rethinking Automated Cryptographic API Misuse Detection in the LLM EraBeyond Static Pattern Matching? Rethinking Automatic Cryptographic API Misuse Detection in the Era of LLMs
AI summary
Researchers systematically evaluated the application of LLMs to cryptographic API misuse detection and found that, when applied directly, more than half of the initial reports were false positives. After aligning the detection scope with real-world scenarios and introducing new code and analysis verification techniques, detection recall approached 90%, surpassing traditional methods, and previously unknown vulnerabilities were found in existing benchmarks. The LLM detection system deployed on this basis found 63 new vulnerabilities in open-source Java and Python repositories, of which 47 have been confirmed and 7 have been fixed, involving projects such as Apache.