Scientific journal paper Q2
May the source be with you: On ChatGPT, cybersecurity, and secure coding
Tiago Espinha Gasiba (Gasiba, T. E.); Andrei-Cristian Iosif (Iosif, A.-C.); Ibrahim Kessba (Kessba, I.); Sathwik Amburi (Amburi, S.); Ulrike Lechner (Lechner, U.); Maria Pinto-Albuquerque (Pinto-Albuquerque, M.);
Journal Title
Information
Year (definitive publication)
2024
Language
English
Country
Switzerland
More Information
Web of Science®

Times Cited: 5

(Last checked: 2026-01-26 02:42)

View record in Web of Science®


: 0.9
Scopus

Times Cited: 7

(Last checked: 2026-01-19 18:57)

View record in Scopus


: 0.7
Google Scholar

Times Cited: 13

(Last checked: 2026-01-22 02:22)

View record in Google Scholar

This publication is not indexed in Overton

Abstract
Software security is an important topic that is gaining more and more attention due to the rising number of publicly known cybersecurity incidents. Previous research has shown that one way to address software security is by means of a serious game, the CyberSecurity Challenges, which are designed to raise awareness of software developers of secure coding guidelines. This game, proven to be very successful in the industry, makes use of an artificial intelligence technique (laddering technique) to implement a chatbot for human–machine interaction. Recent advances in machine learning have led to a breakthrough, with the implementation and release of large language models, now freely available to the public. Such models are trained on a large amount of data and are capable of analyzing and interpreting not only natural language but also source code in different programming languages. With the advent of ChatGPT, and previous state-of-the-art research in secure software development, a natural question arises: to what extent can ChatGPT aid software developers in writing secure software? In this work, we draw on our experience in the industry, and also on extensive previous work to analyze and reflect on how to use ChatGPT to aid secure software development. Towards this, we conduct two experiments with large language models. Our engagements with ChatGPT and our experience in the field allow us to draw conclusions on the advantages, disadvantages, and limitations of the usage of this new technology.
Acknowledgements
--
Keywords
Education,Training,Secure coding,Industry,Cybersecurity,Capture the flag,Game analysis,CyberSecurity Challenges
  • Computer and Information Sciences - Natural Sciences
  • Electrical Engineering, Electronic Engineering, Information Engineering - Engineering and Technology
Funding Records
Funding Reference Funding Entity
UIDB/04466/2020 Fundação para a Ciência e a Tecnologia
13N16585 Bundesministerium für Bildung und Forschung
FKZ 13N16581 Bundesministerium für Bildung und Forschung
UIDP/04466/2020 Fundação para a Ciência e a Tecnologia
Related Projects