Evaluating the Impact of ChatGPT on Exercises of a Software Security Course
Jingyue Li, Per H{\aa}kon Meland, Jakob Svennevik Notland, Andr\'e, Storhaug, and Jostein Hjortland Tysse

TL;DR
This study evaluates ChatGPT's ability to identify and fix web application vulnerabilities in a software security course, revealing its strengths and limitations in educational and practical security tasks.
Contribution
It provides an empirical analysis of ChatGPT's effectiveness in vulnerability detection and fixing, highlighting its potential as a supportive tool in security education.
Findings
ChatGPT identified 20 of 28 inserted vulnerabilities
Reported three false positives and found four additional vulnerabilities
Made nine satisfactory recommendations for fixing vulnerabilities
Abstract
Along with the development of large language models (LLMs), e.g., ChatGPT, many existing approaches and tools for software security are changing. It is, therefore, essential to understand how security-aware these models are and how these models impact software security practices and education. In exercises of a software security course at our university, we ask students to identify and fix vulnerabilities we insert in a web application using state-of-the-art tools. After ChatGPT, especially the GPT-4 version of the model, we want to know how the students can possibly use ChatGPT to complete the exercise tasks. We input the vulnerable code to ChatGPT and measure its accuracy in vulnerability identification and fixing. In addition, we investigated whether ChatGPT can provide a proper source of information to support its outputs. Results show that ChatGPT can identify 20 of the 28…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Reliability and Analysis Research · Web Application Security Vulnerabilities
