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

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Vallez, Cyril, Sternfeld, Alexander, Kucharavy, Andrei, Dolamic, Ljiljana
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866914141156933632
author Vallez, Cyril
Sternfeld, Alexander
Kucharavy, Andrei
Dolamic, Ljiljana
author_facet Vallez, Cyril
Sternfeld, Alexander
Kucharavy, Andrei
Dolamic, Ljiljana
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2511_04538
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle From Model to Breach: Towards Actionable LLM-Generated Vulnerabilities Reporting
Vallez, Cyril
Sternfeld, Alexander
Kucharavy, Andrei
Dolamic, Ljiljana
Computation and Language
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.
title From Model to Breach: Towards Actionable LLM-Generated Vulnerabilities Reporting
topic Computation and Language
url https://arxiv.org/abs/2511.04538