Ciência_Iscte
Publicações
Descrição Detalhada da Publicação
Are we there yet?: On security vulnerabilities produced by open source generative AI models and Its Implications for security education
6th International Computer Programming Education Conference (ICPEC 2025)
Ano (publicação definitiva)
2025
Língua
Inglês
País
Alemanha
Mais Informação
--
Web of Science®
Scopus
Esta publicação não está indexada na Scopus
Google Scholar
Esta publicação não está indexada no Overton
Abstract/Resumo
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.
Agradecimentos/Acknowledgements
--
Palavras-chave
Generative AI,Code security,Programming education,Prompt engineering,Secure coding,Statistc analysis
Classificação Fields of Science and Technology
- Matemáticas - Ciências Naturais
- Geografia Económica e Social - Ciências Sociais
Registos de financiamentos
| Referência de financiamento | Entidade Financiadora |
|---|---|
| UIDP/04466/2020 | Fundação para a Ciência e a Tecnologia |
Projetos Relacionados
Esta publicação é um output do(s) seguinte(s) projeto(s):
English