mlsanityData to 7 Oct 2026

From Model to Breach: Towards Actionable LLM-Generated Vulnerabilities Reporting

arXiv 2511.04538 ↗First posted 6 Nov 2025cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

As the role of Large Language Models (LLM)-based coding assistants in software development becomes more critical, so does the role of the bugs they generate in the overall cybersecurity landscape. While a number of LLM code security benchmarks have been proposed alongside approaches to improve the security of generated code, it remains unclear to what extent they have impacted widely used coding LLMs. Here, we show that even the latest open-weight models are vulnerable in the earliest reported vulnerability scenarios in a realistic use setting, suggesting that the safety-functionality trade-off has until now prevented effective patching of vulnerabilities. To help address this issue, we introduce a new severity metric that reflects the risk posed by an LLM-generated vulnerability, accounting for vulnerability severity, generation chance, and the formulation of the prompt that induces vulnerable code generation - Prompt Exposure (PE). To encourage the mitigation of the most serious and prevalent vulnerabilities, we use PE to define the Model Exposure (ME) score, which indicates the severity and prevalence of vulnerabilities a model generates.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 18 of its 38 references that are in the map. First posted on arXiv 6 Nov 2025.

Builds on

18 of 38 references.

References · 18

  1. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2021Program Synthesis with Large Language Modelscited by 3,509
  4. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
  5. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
  6. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  7. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
  8. 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 417
  9. 2024CodeGemma: Open Code Models Based on Gemmacited by 145
  10. 2023Purple Llama CyberSecEval: A Secure Coding Benchmark for Language Modelscited by 130
  11. 2023Can ChatGPT replace StackOverflow? A Study on Robustness and Reliability of Large Language Model Code Generationcited by 72
  12. 2024Evaluating Language Models for Efficient Code Generationcited by 69
6 more
  1. 2020Deep Learning for Source Code Modeling and Generation: Models, Applications and Challengescited by 55
  2. 2025CWEval: Outcome-driven Evaluation on Functionality and Security of LLM Code Generationcited by 55
  3. 2023CodeLMSec Benchmark: Systematically Evaluating and Finding Security Vulnerabilities in Black-Box Code Language Modelscited by 52
  4. 2024Mercury: A Code Efficiency Benchmark for Code Large Language Modelscited by 34
  5. 2023The FormAI Dataset: Generative AI in Software Security Through the Lens of Formal Verificationcited by 32
  6. 2025Copilot Arena: A Platform for Code LLM Evaluation in the Wildcited by 25

Built on by

Not cited yet.