Exploring AI for Vulnerability Detection and Repair
As modern applications become more complex, enhancing tools and techniques for detecting and addressing vulnerabilities is crucial. AI and ML are increasingly valuable in this domain. Large Language Models like ChatGPT, Gemini, and Phind are emerging as promising solutions for code analysis and repair. This study evaluates these models’ effectiveness in identifying and fixing vulnerabilities in small C-language code samples, focusing on various CWE categories. The evaluation reveals that while ChatGPT performs with the highest accuracy in detecting vulnerabilities, all models effectively repair known flaws, though with varying proficiency. The findings aim to provide insights for improving automated vulnerability detection and remediation tools in cybersecurity.
Authors
- Eric T. Roberts (ORCID: https://orcid.org/0000-0002-7439-0799)
- Eduard Pinconschi (ORCID: https://orcid.org/0000-0002-0729-4684)
- Onyeka Ezenwoye
Institutions
- Universidade do Porto (PT)
- Augusta University (US)
Publication Details
- Published
- 2024-10-28
- DOI
- https://doi.org/10.1109/cars61786.2024.10778769
- Primary Topic
- Anomaly Detection Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00