A Source Code Security Vulnerability Detection Method Using ChatGPT
As the security issues of software and information systems become more and more prominent,as an important part,the security of source code is the bottom key point.How to quickly and accurately detect security vulnerabilities of source code is par-ticularly important.This paper proposes a source code security vulnerability detection method based on ChatGPT,which takes ad-vantage of ChatGPT in the field of natural language processing,converts source code into natural language form,and then uses ChatGPT to process it to identify potential security vulnerabilities.This method can detect various types of security vulnerabili-ties,such as insecure design,SQL injection and so on.We demonstrate the superiority and accuracy of our approach through ex-perimental analysis of security vulnerability detection on source codes of publicly available datasets.