arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.15375cs.ARcs.AIcs.CR
收藏

VeriCWEty: 基于嵌入的RTL代码中行级CWE检测

VeriCWEty: Embedding enabled Line-Level CWE Detection in Verilog

NYU Tandon School of Engineering(纽约大学Tandon工程学院);NYU Abu Dhabi Center for Cyber Security(纽约大学阿布扎赫德分校网络安全中心)

Prithwish Basu Roy, Zeng Wang, Anatolii Chuvashlov, Weihua Xiao, Johann Knechtel, Ozgur Sinanoglu, Ramesh Karri

AI总结:

本文提出一种基于嵌入的RTL代码中行级CWE检测框架,通过高精度识别常见CWE并定位行级漏洞,达到89%的CWE识别精度和96%的行级漏洞检测准确率。

摘要:

大型语言模型(LLMs)在RTL代码生成方面显示出显著改进。尽管有进展,生成的代码往往包含常见漏洞和弱点(CWEs),这些漏洞可能被未训练的眼睛忽略。攻击者可以利用这些弱点实现其恶意目的。现有的RTL漏洞检测技术依赖于规则检查、形式属性或粗粒度结构分析,这些方法要么无法捕捉语义漏洞,要么缺乏精确定位。在我们的工作中,我们通过提出基于嵌入的漏洞检测框架,填补了这一空白,能够在模块和行级粒度上检测和分类漏洞。我们的方法在识别常见CWEs如CWE-1244和CWE-1245时达到约89%的精度,并在检测行级漏洞时达到96%的准确率。

英文摘要:

Large Language Models (LLMs) have shown significant improvement in RTL code generation. Despite the advances, the generated code is often riddled with common vulnerabilities and weaknesses (CWEs) that can slip by untrained eyes. Attackers can often exploit these weaknesses to fulfill their nefarious motives. Existing RTL bug-detection techniques rely on rule-based checks, formal properties, or coarse-grained structural analysis, which either fail to capture semantic vulnerabilities or lack precise localization. In our work, we bridge this gap by proposing an embedding-based bug-detection framework that detects and classifies bugs at both module and line-level granularity. Our method achieves about 89% precision in identifying common CWEs such as CWE-1244 and CWE-1245, and 96% accuracy in detecting line-level bugs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑