CWEEP issues correct security warnings for about 60.8% of RTL bugs
CWEEP can detect RTL security weaknesses with a correct warning rate of 60.8%
Security & privacy arXiv 31 Jul 2026 Method Prototype evidence
Published as “CWEEP: A Lexical Static Analysis Framework for CWE Early Prevention”
Why it matters
CWEEP can be used early in RTL development to surface many security bugs with location information and auto-fix hints, potentially reducing manual review effort.
Summary
CWEEP detects hardware security weaknesses in RTL with a correct-warning rate of up to 60.8%, far higher than the 17.5% achieved by the prior CWEAT tool. The authors report overall precisions of 60.8% and 51.5% on two real SoC benchmarks and show that algorithmic optimizations raise precision for some checks from 0.167 to 0.778. Evidence is based on manual analysis of two HACK@EVENT designs and a synthetic LLM-generated dataset of 3,874 modules; no broader evaluation is presented.
What they found 3
- Correct-warning rate up to 60.8%
“We find that CWEEP issues a correct warning up to 60.8% of the time.”
- Fewer total warnings than prior tool
“CWEEP gives fewer total warnings, with a total of 43 warnings across both designs compared to the total of 119 in [12].”
- Precision improvement after optimization
“After optimization, CWE-1245 sees an increase in overall precision from 0.167 to 0.778.”
Caveats 5
- Overall precision remains modest (0.608 on HACK@DAC21, 0.515 on HACK@DAC18), meaning many warnings are false positives.
- Runtime is much higher than the prior tool (average 135.1 s vs 0.338 s).
- Currently, static analysis suffers from high false positive rates and still requires manual effort to review and implement fixes.
- Our approach is unable to handle gate-level netlists and is not rigorous enough to replace other techniques.
- We rely on manual analysis to measure the improvements of our algorithmic optimizations, the efficacy of our autofix suggestions, and our relative performance compared to CWEAT. ... there are bound to be errors and variations between different reviewers, creating some level of uncertainty in the analyzed results.
What’s new here 4
- Expands the set of CWE pattern checkers beyond prior work.
- Optimizes specific checkers (e.g., CWE-1245, CWE-1271) to improve precision.
- Adds bug localization by reporting exact source locations.
- Provides automatic code-repair suggestions for detected issues.