paper-with-me

홈 › Papers

LLM-based Vulnerability Discovery through the Lens of Code Metrics

2025-09-23 · Felix Weissberg, Lukas Pirch, Erik Imgrund, Jonas Möller, Thorsten Eisenhofer, Konrad Rieck arxiv

Large language models (LLMs) excel in many tasks of software engineering, yet progress in leveraging them for vulnerability discovery has stalled in recent years. To understand this phenomenon, we investigate LLMs through the lens of classic code metrics. Surprisingly, we find that a classifier trained solely on these metrics performs on par with state-of-the-art LLMs for vulnerability discovery. A root-cause analysis reveals a strong correlation and a causal effect between LLMs and code metrics: When the value of a metric is changed, LLM predictions tend to shift by a corresponding magnitude. This dependency suggests that LLMs operate at a similarly shallow level as code metrics, limiting their ability to grasp complex patterns and fully realize their potential in vulnerability discovery. Based on these findings, we derive recommendations on how research should more effectively address this challenge.

📄 PDF Abstract BibTeX arXiv:2509.19117

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Demystifying the Mythos or Disrupting Bugonomics? From Zero-Day Asymmetry to Defender Remediation Throughput

2026-05-23 · Alfredo Pesoli, Herman Errico, Lorenzo Cavallaro arxiv

Recent demonstrations of large language models producing candidate and confirmed vulnerabilities in production software have renewed the narrative that AI will reshape offensive and defensive security. Headlines emphasiz…

Seclens: Role-specific Evaluation of LLM's for security vulnerablity detection

2026-04-02 · Subho Halder, Siddharth Saxena, Kashinath Kadaba Shrish, Thiyagarajan M arxiv

Existing benchmarks for LLM-based vulnerability detection compress model performance into a single metric, which fails to reflect the distinct priorities of different stakeholders. For example, a CISO may emphasize high …

Vulnerability Detection

Scaling up Discovery of Latent Concepts in Deep NLP Models

2023-08-20 · Majd Hawasly, Fahim Dalvi, Nadir Durrani

Despite the revolution caused by deep NLP models, they remain black boxes, necessitating research to understand their decision-making processes. A recent work by Dalvi et al. (2022) carried out representation analysis th…

ClusteringDecision Making

CVEfixes: Automated Collection of Vulnerabilities and Their Fixes from Open-Source Software

2021-07-19 · Guru Prasad Bhandari, Amara Naseer, Leon Moonen

Data-driven research on the automated discovery and repair of security vulnerabilities in source code requires comprehensive datasets of real-life vulnerable code and their fixes. To assist in such research, we propose a…

severity prediction

OpenAnt: LLM-Powered Vulnerability Discovery Through Code Decomposition, Adversarial Verification, and Dynamic Testing

2026-06-17 · Nahum Korda, Gadi Evron arxiv

Automated vulnerability discovery in large codebases remains challenging: traditional static analysis produces high false-positive rates, while dynamic approaches such as fuzzing require substantial infrastructure and of…