cs.CROct 11, 2026

Security in LLM-Assisted Coding: A Systematic Literature Review

Authors: Liang Yuan, Maryam Khanian Najafabadi, Mashud Rana, Varvara Vetrova

Organizations: Australian Catholic University, North Sydney, New South Wales, Australia

Abstract

Large Language Models accelerate software development but introduce severe security vulnerabilities. This systematic review investigates security risks in automated coding, benchmark limitations, and the role of human developers. Findings indicate that models frequently generate insecure code and faulty patches due to training data biases. Additionally, the models themselves are susceptible to direct attacks. Current evaluation methods suffer from data contamination and lack robust security metrics. Consequently, human oversight remains essential. Safer integration of automation will require more security-aware model architectures, stronger security-specific benchmarks, and more effective human-AI collaboration frameworks to mitigate these systemic risks.

Figures & tables

Explore similar work

CardsList
  1. Poster: Rethinking Security in LLM Code Generation through Real-World Risk Scenarios

    Jul 25, 2026Lixun Ma, Ruolong Ma, Bei Wang +4LLM Safety BenchmarksLLM Security

  2. Security of LLM-generated Code: A Comparative Analysis

    May 21, 2026Srivathsan G Morkonda, Mahmoud Selim, Hala AssalSoftware SecurityLLM Security

  3. Minimal Prompt Perturbations Lead to Code Vulnerabilities: Prompt Fragility and Hidden-State Signals in Coding LLMs

    May 28, 2026Alexander Sternfeld, Andrei Kucharavy, Ljiljana DolamicPrompt SensitivityAdversarial Attacks on LLMs