SOK: Exploring Hallucinations and Security Risks in AI-Assisted Software Development with Insights for LLM Deployment

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Haque, Ariful, Siddique, Sunzida, Rahman, Md. Mahfuzur, Hasan, Ahmed Rafi, Das, Laxmi Rani, Kamal, Marufa, Masura, Tasnim, Gupta, Kishor Datta
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866912246941089792
author Haque, Ariful
Siddique, Sunzida
Rahman, Md. Mahfuzur
Hasan, Ahmed Rafi
Das, Laxmi Rani
Kamal, Marufa
Masura, Tasnim
Gupta, Kishor Datta
author_facet Haque, Ariful
Siddique, Sunzida
Rahman, Md. Mahfuzur
Hasan, Ahmed Rafi
Das, Laxmi Rani
Kamal, Marufa
Masura, Tasnim
Gupta, Kishor Datta
contents The integration of Large Language Models (LLMs) such as GitHub Copilot, ChatGPT, Cursor AI, and Codeium AI into software development has revolutionized the coding landscape, offering significant productivity gains, automation, and enhanced debugging capabilities. These tools have proven invaluable for generating code snippets, refactoring existing code, and providing real-time support to developers. However, their widespread adoption also presents notable challenges, particularly in terms of security vulnerabilities, code quality, and ethical concerns. This paper provides a comprehensive analysis of the benefits and risks associated with AI-powered coding tools, drawing on user feedback, security analyses, and practical use cases. We explore the potential for these tools to replicate insecure coding practices, introduce biases, and generate incorrect or non-sensical code (hallucinations). In addition, we discuss the risks of data leaks, intellectual property violations and the need for robust security measures to mitigate these threats. By comparing the features and performance of these tools, we aim to guide developers in making informed decisions about their use, ensuring that the benefits of AI-assisted coding are maximized while minimizing associated risks.
format Preprint
id arxiv_https___arxiv_org_abs_2502_18468
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle SOK: Exploring Hallucinations and Security Risks in AI-Assisted Software Development with Insights for LLM Deployment
Haque, Ariful
Siddique, Sunzida
Rahman, Md. Mahfuzur
Hasan, Ahmed Rafi
Das, Laxmi Rani
Kamal, Marufa
Masura, Tasnim
Gupta, Kishor Datta
Software Engineering
Artificial Intelligence
Cryptography and Security
The integration of Large Language Models (LLMs) such as GitHub Copilot, ChatGPT, Cursor AI, and Codeium AI into software development has revolutionized the coding landscape, offering significant productivity gains, automation, and enhanced debugging capabilities. These tools have proven invaluable for generating code snippets, refactoring existing code, and providing real-time support to developers. However, their widespread adoption also presents notable challenges, particularly in terms of security vulnerabilities, code quality, and ethical concerns. This paper provides a comprehensive analysis of the benefits and risks associated with AI-powered coding tools, drawing on user feedback, security analyses, and practical use cases. We explore the potential for these tools to replicate insecure coding practices, introduce biases, and generate incorrect or non-sensical code (hallucinations). In addition, we discuss the risks of data leaks, intellectual property violations and the need for robust security measures to mitigate these threats. By comparing the features and performance of these tools, we aim to guide developers in making informed decisions about their use, ensuring that the benefits of AI-assisted coding are maximized while minimizing associated risks.
title SOK: Exploring Hallucinations and Security Risks in AI-Assisted Software Development with Insights for LLM Deployment
topic Software Engineering
Artificial Intelligence
Cryptography and Security
url https://arxiv.org/abs/2502.18468