Can Open Large Language Models Catch Vulnerabilities?

强化学习 钢筋 计算机科学 认知科学 人工智能 心理学 社会心理学
作者
DeepSeek-AI,Daya Guo,Dejian Yang,Haowei Zhang,Junxiao Song,Ruoyu Zhang,Runxin Xu,Qihao Zhu,Shirong Ma,Peiyi Wang,Xiao Bi,Xiaokang Zhang,Xingkai Yu,Yu Wu,Zhenhua Wu,Zhibin Gou,Zhihong Shao,Zhuoshu Li,Ziyi Gao,Aixin Liu
标识
DOI:10.4230/oasics.icpec.2025.4
摘要

As Large Language Models (LLMs) become increasingly integrated into secure software development workflows, a critical question remains unanswered: can these models not only detect insecure code but also reliably classify vulnerabilities according to standardized taxonomies? In this work, we conduct a systematic evaluation of three state-of-the-art LLMs - Llama3, Codestral, and Deepseek R1 - using a carefully filtered subset of the Big-Vul dataset annotated with eight representative Common Weakness Enumeration categories. Adopting a closed-world classification setup, we assess each model’s performance in both identifying the presence of vulnerabilities and mapping them to the correct CWE label. Our findings reveal a sharp contrast between high detection rates and markedly poor classification accuracy, with frequent overgeneralization and misclassification. Moreover, we analyze model-specific biases and common failure modes, shedding light on the limitations of current LLMs in performing fine-grained security reasoning.These insights are especially relevant in educational contexts, where LLMs are being adopted as learning aids despite their limitations. A nuanced understanding of their behaviour is essential to prevent the propagation of misconceptions among students. Our results expose key challenges that must be addressed before LLMs can be reliably deployed in security-sensitive environments.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
聪明花生发布了新的文献求助10
刚刚
852的应助被zz采纳,获得10
1秒前
1秒前
自然的湘完成签到,获得积分10
1秒前
踏实煎蛋完成签到 ,获得积分10
2秒前
2秒前
蒸制发布了新的文献求助10
2秒前
睡觉补充能量完成签到,获得积分10
2秒前
平凡完成签到,获得积分10
3秒前
3秒前
zz完成签到,获得积分10
3秒前
3秒前
3秒前
汉堡包的应助被lance采纳,获得30
3秒前
Kayson完成签到,获得积分20
3秒前
汉堡包的应助被张紫茹采纳,获得10
4秒前
4秒前
4秒前
希望天下0贩的0的应助被_升_采纳,获得10
4秒前
5秒前
顾矜的应助被无聊的小霸王采纳,获得10
5秒前
小张同学发布了新的文献求助10
5秒前
6秒前
7秒前
王文胜完成签到,获得积分10
7秒前
舒服的依云完成签到 ,获得积分10
7秒前
LL发布了新的文献求助10
7秒前
7秒前
67发布了新的文献求助10
7秒前
小住的应助被无奈的博超采纳,获得10
7秒前
小贝雪发布了新的文献求助10
7秒前
酷炫的春天完成签到,获得积分10
8秒前
Z_Z发布了新的文献求助10
8秒前
8秒前
超超发布了新的文献求助10
8秒前
May.发布了新的文献求助10
8秒前
mmain完成签到 ,获得积分10
8秒前
8秒前
灵巧元枫发布了新的文献求助10
8秒前
Aurelio发布了新的文献求助10
9秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Nanocomposite Removal of Pesticides from Wastewater 2000
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 1000
Электротехническая система магнитожидкостной герметизации валов регулируемых электродвигателей 800
日本語と中国語及びチベット・ビルマ語の語源関連性に関する分析 800
Practical Manual of Forensic Psychophysiology: Methodology, Execution, and Fields of Application 800
Holistic Discourse Analysis, Second Edition by Robert E. Longacre 666
热门求助领域 (近24小时)
化学 材料科学 医学 生物 计算机科学 工程类 纳米技术 有机化学 物理 生物化学 化学工程 内科学 复合材料 催化作用 心理学 人工智能 细胞生物学 光电子学 无机化学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 7943542
求助须知:如何正确求助?哪些是违规求助? 9426280
关于积分的说明 20977785
捐赠科研通 7529997
什么是DOI,文献DOI怎么找? 3367917
关于科研通互助平台的介绍 2504484
邀请新用户注册赠送积分活动 2399634