Faisal Haque Bappy and Tahrim Hossain, University of Maryland Baltimore County; Sidratul Muntaher Meheraj, Annoor Sharara Akhand, and Tasfia Tabassum, University of Dhaka; Tarannum Shaila Zaman, University of Maryland Baltimore County; Raiful Hasan, Kent State University; Tariqul Islam, University of Maryland Baltimore County
AI coding assistants are now central to professional software development, yet their impact on how developers think about and practice security remains poorly understood. While prior work has documented vulnerability rates in AI-generated code, a more fundamental question persists: how do these tools transform security awareness in authentic, ongoing development practice? We conducted semi-structured interviews with 15 professional software engineers and observed them completing security-relevant coding tasks with AI assistance, spanning 3 experience cohorts defined by their relationship to AI tools during professional formation. We find that AI coding assistants reorganize rather than eliminate security thinking, shifting it from the act of writing code to the act of reviewing it. This transition from preventive to reactive security is structurally encouraged by interaction models that frame code generation as a functional task, leaving security as an afterthought. Notably, none of our coding session participants specified security requirements in their initial prompts, even when they possessed the relevant knowledge, revealing a decoupling of security awareness from security behavior. We further document informal coping strategies developers had independently invented to manage AI security risk, none of which are supported by current tools or organizations, and find that the experience cohort did not reliably predict security performance. This paper contributes a practice-grounded account of how AI-assisted development reshapes the human side of secure coding, offering empirical foundations for the design of more security-aware tools, training programs, and organizational policies.
Open Access Media
USENIX is committed to Open Access to the research presented at our events. Papers and proceedings are freely available to everyone once the event begins. Any video, audio, and/or slides that are posted after the event are also free and open to everyone. Support USENIX and our commitment to Open Access.
author = {Faisal Haque Bappy and Tahrim Hossain and Sidratul Muntaher Meheraj and Annoor Sharara Akhand and Tasfia Tabassum and Tarannum Shaila Zaman and Raiful Hasan and Tariqul Islam},
title = {From Preventive to Reactive: How {AI} Coding Assistants Transform Developers{\textquoteright} Security Awareness},
booktitle = {Twenty-Second Symposium on Usable Privacy and Security (SOUPS 2026)},
year = {2026},
isbn = {978-1-939133-59-5},
pages = {257--274},
url = {https://www.usenix.org/conference/soups2026/presentation/bappy},
publisher = {USENIX Association},
month = aug
}