Please use this identifier to cite or link to this item: http://hdl.handle.net/10071/37302
Author(s): Sathwik A.
Gasiba, T.
Lechner, U.
Pinto-Albuquerque, M.
Editor: Queirós, Ricardo
Pinto, Mário
Portela, Filipe
Simões, Alberto
Date: 2025
Title: Enabling secure coding: Exploring GenAI for developer training and education
Volume: 133
Book title/volume: 6th International Computer Programming Education Conference (ICPEC 2025)
Reference: Sathwik A., Gasiba, T., Lechner, U., & Pinto-Albuquerque, M. (2025). Enabling secure coding: Exploring GenAI for developer training and education. ?. In R. Queirós, M. Pinto, F. Portela, & A. Simões (Eds.), 6th International Computer Programming Education Conference (ICPEC 2025). Schloss Dagstuhl. https://doi.org/10.4230/OASIcs.ICPEC.2025.2
ISSN: 1868-8969
ISBN: 978-3-95977-393-5
DOI (Digital Object Identifier): 10.4230/OASIcs.ICPEC.2025.2
Keywords: Secure coding
Industry
Software development
Generative AI
Large language models
Teaching
Abstract: The rapid adoption of GenAI for code generation presents unprecedented opportunities and significant security challenges. Raising awareness about secure coding is critical for preventing software vulnerabilities. To investigate how Generative AI can best support secure coding, we built an AI Secure Coding platform, an interactive training environment that embeds a GPT-4 based chatbot directly into a structured challenge workflow. The platform comprises a landing page, a challenges page with three AI-generated tasks, and a challenge page where participants work with code snippets. In each challenge, developers (1) identify vulnerabilities by reviewing code and adding comments, (2) ask the AI for help via a chat based interface, (3) review and refine comments based on AI feedback, and (4) fix vulnerabilities by submitting secure patches. The study involved 18 industry developers tackling three challenges. Participants used the AI Secure Coding Platform to detect and remediate vulnerabilities and then completed a survey to capture their opinions and comfort level with AI assisted platform for secure coding. Results show that AI assistance can boost productivity, reduce errors, and uncover more defects when treated as a "second pair of eyes," but it can also foster over-reliance. This study introduces the AI Secure Coding platform, presents preliminary results from a initial study, and shows that embedding GenAI into a structured secure-coding workflow can both enable and challenge developers. This work also opens the door to a new research field: leveraging GenAI to enable secure software development.
Peerreviewed: yes
Access type: Open Access
Appears in Collections:ISTAR-CRI - Comunicações a conferências internacionais

Files in This Item:
File SizeFormat 
conferenceObject_116620.pdf2,66 MBAdobe PDFView/Open


FacebookTwitterDeliciousLinkedInDiggGoogle BookmarksMySpaceOrkut
Formato BibTex mendeley Endnote Logotipo do DeGóis Logotipo do Orcid 

Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.