SecRTL-Bench:评测大语言模型在 IP 级 RTL 漏洞检测、定位与修复上的表现
SecRTL-Bench: Benchmarking LLMs on IP-Level RTL Vulnerability Detection, Localization, and Repair
AI 导读
SecRTL-Bench 是一个统一的 RTL 安全基准,基于真实开源 IP 级设计、通过多智能体框架构建,包含 413 个漏洞实例,覆盖 31 类硬件 CWE 弱点。
正文 · 原文
Abstract:Large language models are increasingly applied to RTL security analysis, yet existing benchmarks often lack realistic design complexity, reproducible evidence of security violations, and unified evaluation across vulnerability detection, localization, and repair. To address these limitations, we present SecRTL-Bench, a unified RTL security benchmark constructed from real-world open-source IP-level designs through a multi-agent framework. The framework identifies security assets and protection mechanisms, generates source-grounded security contracts to guide vulnerability injection, and employs automatically calibrated verification environments and EDA simulation to validate actual security violations. Through execution feedback and independent repair, it produces reproducible vulnerability instances with functional and security verification packages, ground-truth annotations, and security violation evidence. SecRTL-Bench comprises 413 vulnerability instances spanning 31 hardware CWE weaknesses. We evaluate nine advanced LLMs using a composite scoring mechanism that jointly considers CWE identification accuracy, line-level localization accuracy, and the functional correctness and security of repair patches. The best-performing model achieves an overall score of only 59.83/100. Further analysis reveals that security verification pass rates consistently lag behind functional pass rates, highlighting the difficulty of generating reliable patches that satisfy both functional and security requirements. Our data and code are available at this https URL.
| Comments: | Peer review |
| Subjects: | Cryptography and Security (cs.CR); Artificial Intelligence (cs.AI); Hardware Architecture (cs.AR) |
| Cite as: | arXiv:2611.35437 [cs.CR] |
| (or arXiv:2611.35437v1 [cs.CR] for this version) | |
| https://doi.org/10.48550/arXiv.2611.35437 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Qian Peng [view email]
[v1]
Thu, 26 Nov 2026 02:44:09 UTC (2,860 KB)
来源:arXiv cs.AI · arxiv.org