Skip to content

awsm-research/ChatGPT4Vul

Repository files navigation

ChatGPT for Vulnerability Dectection, Classification, and Repair:
How Far Are We?

ChatGPT

Table of contents

  1. Datasets
  2. Reproduce Experiments
  3. License
  4. Citation

Datasets

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

Reproduce Experiments

We provide the sample scripts in this folder, which we used to prompt ChatGPT for vulnerability detection, classification, severity estimation, and repair tasks.

License

MIT License

Citation

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}
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published