posted on 2025-02-21, 11:55authored byJan KlemmerJan Klemmer, Stefan Albert Horstmann, Nikhil Patnaik, Cordelia Ludden, Cordell Burton Jr, Carson Powers, Fabio Massacci, Akond Rahman, Daniel Votipka, Heather Richter Lipford, Awais Rashid, Alena Naiakshina, Sascha FahlSascha Fahl
Following the recent release of AI assistants, such as OpenAI’s ChatGPT and GitHub Copilot, the software industry quickly utilized these tools for software development tasks, e.g., generating code or consulting AI for advice. While recent research has demonstrated that AI-generated code can contain security issues, how software professionals balance AI assistant usage and security remains unclear. This paper investigates how software professionals use AI assistants in secure software development, what security implications and considerations arise, and what impact they foresee on secure software development. We conducted 27 semi-structured interviews with software professionals, including software engineers, team leads, and security testers. We also reviewed 190 relevant Reddit posts and comments to gain insights into the current discourse surrounding AI assistants for software development. Our analysis of the interviews and Reddit posts finds that despite many security and quality concerns, participants widely use AI assistants for security-critical tasks, e.g., code generation, threat modeling, and vulnerability detection. Their overall mistrust leads to checking AI suggestions in similar ways to human code, although they expect improvements and, therefore, a heavier use for security tasks in the future. We conclude with recommendations for software professionals to critically check AI suggestions, AI creators to improve suggestion security and capabilities for ethical security tasks, and academic researchers to consider general-purpose AI in software development.
History
Editor
Luo B ; Liao X ; Xu J ; Kirda E ; Lie D
Primary Research Area
Empirical and Behavioral Security
Name of Conference
ACM Conference on Computer and Communications Security (CCS)
CISPA Affiliation
Yes
Journal
In 2024 ACM SIGSAC Conference on Computer and Communications Security (CCS ’24), October 14–18, 2024, Salt Lake City, UT, USA
Page Range
2726-2740
Publisher
ACM
Open Access Type
Unknown
BibTeX
@conference{Klemmer:Horstmann:Patnaik:Ludden:Jr:Powers:Massacci:Rahman:Votipka:Lipford:Rashid:Naiakshina:Fahl:2024,
title = "Using AI Assistants in Software Development: A Qualitative Study on Security Practices and Concerns",
author = "Klemmer, Jan H" AND "Horstmann, Stefan Albert" AND "Patnaik, Nikhil" AND "Ludden, Cordelia" AND "Jr, Cordell Burton" AND "Powers, Carson" AND "Massacci, Fabio" AND "Rahman, Akond" AND "Votipka, Daniel" AND "Lipford, Heather Richter" AND "Rashid, Awais" AND "Naiakshina, Alena" AND "Fahl, Sascha",
editor = "Luo, Bo" AND "Liao, Xiaojing" AND "Xu, Jun" AND "Kirda, Engin" AND "Lie, David",
year = 2024,
month = 10,
journal = "In 2024 ACM SIGSAC Conference on Computer and Communications Security (CCS ’24), October 14–18, 2024, Salt Lake City, UT, USA",
pages = "2726--2740",
publisher = "ACM",
doi = "10.1145/3658644.3690283"
}