SecRTL-Bench: Benchmarking LLMs on IP-Level RTL Vulnerability Detection, Localization, and Repair
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 https://github.com/QianPeng369/SecRTL-Bench.
Create a lesson
Metadata
- Categories
- cs.CR, cs.AI, cs.AR
- Comments
- Peer review
Related papers
Privacy Disclosure Control Benchmark (PDC-Bench): How Faithfully Do LLMs Keep Privacy Constraints on In-Context Disclosure Granularity?
Shared title terminologycs.CRKosuke Fujita, Daiki Nishiyama, Jun Sakuma
POMA: Beyond Final Flags -- Process-Level Evaluation of Base LLMs in Vulnerability Exploitation
Shared title terminologycs.CRGufeng Zhang, Yiru Zhao, Shengyu Liu et al.
ChainVul: A Root-Cause-Chain-Based Vulnerability Benchmark for Precise LLM and Agent Assessment
Shared title terminologycs.CRTiantian Sun, Yuyang Xie, Jinlong He et al.
Benchmarking Open-Ended Vulnerability Discovery in Windows Kernel Binaries
Shared title terminologycs.CRJongseong Kim, Hwiwon Lee, Dongjun Kim et al.
RegionAlign: Manipulating Parameter Layouts for Localized Fault Injection on LLMs and VLMs
Shared title terminologycs.CRXiaomeng Wang, Peter Horvath, Zhengyu Zhao et al.
Not Just Any Example: Security Requirements and Fix Patterns for Guiding LLM Vulnerability Repair
Shared title terminologycs.CRZichen Liu, Liangyi Huang, Stanley Nguyen et al.