First of all, clone this repository to your local machine and access the main dir via the following command:
git clone https://github.com/awsm-research/ChatGPT4Vul.git
cd ChatGPT4Vul
Then run the following command to dowload and unzip the experimental datasets:
sh download_data.sh
We provide the sample scripts in this folder, which we used to prompt ChatGPT for vulnerability detection, classification, severity estimation, and repair tasks.
TO APPEAR in 30th Asia-Pacific Software Engineering Conference (APSEC 2023)
@article{fu2023chatgpt,
title={ChatGPT for Vulnerability Detection, Classification, and Repair: How Far Are We?},
author={Fu, Michael and Tantithamthavorn, Chakkrit and Nguyen, Van and Le, Trung},
journal={arXiv preprint arXiv:2310.09810},
year={2023}
}