Please use this identifier to cite or link to this item: http://hdl.handle.net/10071/37287
Author(s): Galeano, M. C.
Gasiba, T.
Amburi, S.
Pinto-Albuquerque, M.
Editor: Queirós, Ricardo
Pinto, Mário
Portela, Filipe
Simões, Alberto
Date: 2025
Title: Are we there yet?: On security vulnerabilities produced by open source generative AI models and Its Implications for security education
Volume: 133
Book title/volume: 6th International Computer Programming Education Conference (ICPEC 2025)
Event title: 6th International Computer Programming Education Conference-ICPEC
Reference: Galeano, M. C., Gasiba, T., Amburi, S., & Pinto-Albuquerque, M. (2025). Are we there yet?: On security vulnerabilities produced by open source generative AI models and Its Implications for security education. In R. Queirós, M., F. Portela, & A. Simões (Eds.), 6th International Computer Programming Education Conference (ICPEC 2025). Schloss Dagstuhl. https://doi.org/10.4230/OASIcs.ICPEC.2025.9
ISSN: 2190-6807
ISBN: 978-3-95977-393-5
Keywords: Generative AI
Code security
Programming education
Prompt engineering
Secure coding
Statistc analysis
Abstract: With the increasing integration of large language models (LLMs) into software development and programming education, concerns have emerged about the security of AI-generated code. This study investigates the security of three open source code generation models. Codestral, DeepSeek R1, and LLaMA 3.3 70B using structured prompts in Python, C, and Java. Some prompts were designed to explicitly trigger known vulnerability patterns, such as unsanitized input handling or unsafe memory operations, in order to assess how each model responds to security-sensitive tasks. The findings reveal recurring issues, including command execution vulnerabilities, insecure memory handling, and insufficient input validation. In response, we propose a set of recommendations for integrating secure prompt design and code auditing practices into developer training. These guidelines aim to help future developers generate safer code and better identify flaws in GenAIgenerated output. This work offers an initial analysis of the limitations of GenAI-assisted code generation and provides actionable strategies to support the more secure and responsible use of these tools in professional and educational contexts.
Peerreviewed: yes
Access type: Open Access
Appears in Collections:ISTAR-CRI - Comunicações a conferências internacionais

Files in This Item:
File SizeFormat 
conferenceObject_116622.pdf555,83 kBAdobe 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.