计算机与现代化Issue(4):88-91,120,5.DOI:10.3969/j.issn.1006-2475.2024.04.015
一种使用ChatGPT的源代码安全漏洞检测方法
A Source Code Security Vulnerability Detection Method Using ChatGPT
摘要
Abstract
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.关键词
源代码安全/ChatGPT/漏洞检测/SQL注入Key words
source code security/ChatGPT/vulnerability detection/SQL injection分类
信息技术与安全科学引用本文复制引用
余里辉,胡少文,黄浪鑫,罗澍寰..一种使用ChatGPT的源代码安全漏洞检测方法[J].计算机与现代化,2024,(4):88-91,120,5.基金项目
江西省03专项及5G项目(20224ABC03W02) (20224ABC03W02)