From Preventive to Reactive: How AI Coding Assistants Transform Developers’ Security Awareness

Faisal Haque Bappy, Tahrim Hossain, Sidratul Muntaher Meheraj, Annoor Sharara Akhand, Tasfia Tabassum, Tarannum Shaila Zaman, Raiful Hasan, Tariqul Islam, [0.5em] University of Maryland Baltimore County, University of Dhaka, Kent State University · 2026

Read From Preventive to Reactive: How AI Coding Assistants Transform Developers’ Security Awareness by Faisal Haque Bappy, Tahrim Hossain, Sidratul Muntaher Meheraj, Annoor Sharara Akhand, Tasfia Tabassum, Tarannum Shaila Zaman, Raiful Hasan, Tariqul Islam, [0.5em] University of Maryland Baltimore County, University of Dhaka, Kent State University (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2605-23130.txt.

Introduction

Bappy and seven coauthors study how AI coding assistants reshape coder security mindset in real practice. Talks with 15 coders plus watched security tasks show they shift rather than erase security thinking. Thinking shifts from writing code to review. This early to reactive shift is pushed by tools that frame making as a plain task, leaving security as an extra. Notably, no person listed security needs in initial prompts, even when they knew them.

Catalog record

CREATORFaisal Haque Bappy, Tahrim Hossain, Sidratul Muntaher Meheraj, Annoor Sharara Akhand, Tasfia Tabassum, Tarannum Shaila Zaman, Raiful Hasan, Tariqul Islam, [0.5em] University of Maryland Baltimore County, University of Dhaka, Kent State University
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE74054
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2605.23130

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

From Preventive to Reactive: How AI Coding Assistants Transform Developers’ Security Awareness Faisal Haque Bappy, Tahrim Hossain, Sidratul Muntaher Meheraj, Annoor Sharara Akhand, Tasfia Tabassum, Tarannum Shaila Zaman, Raiful Hasan, Tariqul Islam, [0.5em] University of Maryland Baltimore County, University of Dhaka, Kent State University Abstract 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. 1 Introduction Software development is changing faster than our understanding of its consequences. AI coding assistants, including GitHub Copilot [ 17 ] , ChatGPT [ 31 ] , and Claude [ 3 ] , have become part of the daily infrastructure of professional engineering work within just a few years [ 21 , 39 , 13 ] . Developers now routinely delegate code generation to these tools, accepting suggestions, iterating on prompts, and shipping the results at a pace that was previously impossible [ 6 , 45 ] . The productivity case for this shift is well established [ 39 ] . The security case is considerably less so. What we already know is concerning. Pearce et al. [ 38 ] found that roughly 40% of code generated by GitHub Copilot across high-risk vulnerability scenarios was exploitable, spanning weakness categories well documented in the OWASP Top Ten [ 33 ] . Perry et al. [ 40 ] found that developers with access to an AI assistant produced less secure code than those without, and were simultaneously more likely to believe their code was secure. This combination of increased vulnerability and increased confidence points to something more troubling than simple tool failure: AI coding assistants may be quietly reshaping how developers perceive and engage with security, not just in the code they produce, but in the habits of mind they bring to reviewing it. Yet the existing literature stops short of explaining how or why this happens in practice. Technical evaluations measure code outputs in controlled settings [ 38 , 40 ] , but say little about the cognitive and behavioral processes that produce those outputs in authentic, ongoing development work. The AI-assisted programming literature has documented interaction patterns [ 6 ] , usability expectations [ 45 ] , and productivity outcomes [ 39 , 51 ] , but has largely treated security as peripheral. The developer security literature, meanwhile, has shown that security is difficult to sustain even without AI in the picture: developers avoid static analysis tools because the warnings lack actionable context [ 20 ] , the information sources they consult shape the vulnerabilities they introduce [ 1 ] , and the shift away from manual information foraging [ 8 ] toward automated suggestion carries risks the field has not yet fully worked through. The automation trust literature adds another layer of concern, showing that people exhibit systematic biases toward trusting automated outputs [ 35 , 25 ] , biases that tend to grow stronger as tools perform well on average, making occasional failures harder to notice and more consequential when they slip through [ 22 , 5 ] . None of these bodies of work, individually or together, provides a qualitative account of how AI coding assistants transform security awareness as a lived practice. The central question this paper addresses is: How do AI coding assistants influence the ways professional software engineers approach security, and how do these effects differ based on developers’ levels of exposure to AI tools during their professional formation? To answer this, we conducted a mixed-methods qualitative study with 15 professional software engineers, combining semi-structured interviews with observed coding sessions in which participants completed security-relevant implementation tasks using AI assistants. Participants were drawn from 3 experience cohorts: Pre-AI developers who built their foundational practices before AI tools were widely available, AI-era developers who adopted AI mid-career, and AI-native developers who have used AI throughout their professional lives. Our analysis follows established thematic analysis procedures [ 9 , 11 ] , combining iterative coding of interview transcripts with systematic behavioral observation of the coding sessions. Our findings highlight several interconnected patterns that together point to a meaningful shift in how security awareness operates when AI enters the development workflow: • Security thinking moves from authorship to review. Security considerations, traditionally exercised during the act of writing code [ 29 ] , now appear to be displaced downstream into the review phase. As a result, they are introduced later in the development cycle, where they must compete with time pressure and are applied less consistently. Notably, none of the participants in our coding sessions included security requirements in their initial prompts, even those who had just articulated the relevant vulnerability concerns in the interview, suggesting that security knowledge and security prompting behavior can come apart even among aware engineers. • Security outcomes depend heavily on what engineers bring to the interaction. AI coding assistants do not apply security constraints by default and produce functionally plausible but security-incomplete code unless explicitly directed otherwise. This places the burden of security squarely on the individual engineer’s knowledge and prompting habits, creating uneven outcomes that are difficult to address through tool adoption alone. • Trust is poorly calibrated to security sensitivity. Consistent with the broader automation literature [ 35 , 25 ] , participants applied similar levels of trust to both boilerplate (i.e., standardized template or scaffolding code reused across projects) and security-critical code, even though the tool provided no indication that the risks associated with these categories were different. Importantly, experience cohort did not reliably predict security performance during the coding sessions, suggesting that years of experience is a limited proxy for security-aware AI use. • Developers have built their own coping strategies that tools and organizations have not yet caught up with. Participants described independently developing practices such as restricting agent permissions, constructing security-oriented prompt templates, and explicitly asking AI whether any security concerns remained after completing a functional implementation. These strategies were effective when applied, but

Read the complete text