SOK: Exploring Hallucinations and Security Risks in AI-Assisted Software Development with Insights for LLM Deployment
Ariful Haque, Sunzida Siddique, Md. Mahfuzur Rahman, Ahmed Rafi Hasan,, Laxmi Rani Das, Marufa Kamal, Tasnim Masura, Kishor Datta Gupta

TL;DR
This paper analyzes the benefits, risks, and security concerns of AI-assisted coding tools like LLMs, highlighting issues such as hallucinations, vulnerabilities, and ethical challenges to guide safer deployment.
Contribution
It provides a comprehensive evaluation of AI-powered coding tools, identifying security risks, hallucination phenomena, and ethical considerations, offering insights for safer LLM deployment in software development.
Findings
AI tools can replicate insecure coding practices
Hallucinations can lead to incorrect code generation
Security vulnerabilities and data leaks are significant risks
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsArtificial Intelligence in Healthcare and Education · Advanced Malware Detection Techniques · Ethics and Social Impacts of AI
