SecRTL-Bench: Benchmarking LLMs on IP-Level RTL Vulnerability Detection, Localization, and Repair

Qian Peng, Zhenwei Guo, Sibo Ma, Li Kuang
11/26/2026
cs.CRcs.AIcs.AR
benchmark-dataset

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{peng2026secrtlbench,
  title  = {SecRTL-Bench: Benchmarking LLMs on IP-Level RTL Vulnerability Detection, Localization, and Repair},
  author = {Qian Peng and Zhenwei Guo and Sibo Ma and Li Kuang},
  year   = {2026},
  eprint = {2611.35437},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.35437v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.35437.svg)](https://codeofpaper.com/paper/2611.35437)

Discussion