Metraipolis › archive › dc_cb851ca41c09
Unsaid, Unsafe? Implicit Security Obligations in LLM-Based RTL Code Generation — arXiv:2608.26588
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.26588
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-17T15:54:42.657Z
- SHA-256 of the archived text
b6b036cee071e22fc515a5f2e2fc15653c4dd06743ae78549e65a1d7f1198918- Stable URL of this page
https://metraipolis.com/documento/dc_cb851ca41c09
How to cite
Unsaid, Unsafe? Implicit Security Obligations in LLM-Based RTL Code Generation — arXiv:2608.26588 — arXiv (en), https://arxiv.org/abs/2608.26588 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_cb851ca41c09 (Metraipolis archive dc_cb851ca41c09, sha256 b6b036cee071e22fc515a5f2e2fc15653c4dd06743ae78549e65a1d7f1198918)
BibTeX
@misc{dccb851ca41c09,
title = {Unsaid, Unsafe? Implicit Security Obligations in LLM-Based RTL Code Generation — arXiv:2608.26588},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.26588},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_cb851ca41c09; sha256 b6b036cee071e22fc515a5f2e2fc15653c4dd06743ae78549e65a1d7f1198918},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.26588. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Large Language Models (LLMs) generate register-transfer-level (RTL) code with rapidly improving functional correctness. Security of LLM-generated code, however, has been studied mainly for software, where flaws can still be patched after deployment. Insecure RTL offers no such remedy once taped out into silicon. We construct SECRTL-GEN, a multi-language resource-access security benchmark grounded in real SoC IP: 392 tasks over five CWE families and four HDLs (Verilog, SystemVerilog, VHDL, and Python), each with black-box functional and security testbenches. Functional specifications intentionally omit security obligations, matching how obligations are often kept out of functional docs in practice. An empirical study of five frontier LLMs shows a sharp gap: under vanilla prompts they pass functional tests in about 73-79% of cases but security tests in only 14-35%, and stronger functional models are not safer. Adding CWE knowledge raises security, while unaided self-thinking helps less and both security-oriented prompts cut functional pass rates, showing that the bottleneck is missing weakness awareness in the specification, not an inability to write defensive RTL. We present RTL-Obliger, a neuro-symbolic framework that infers these implicit obligations. An LLM extracts a functional-semantic graph from the specification; a symbolic engine then matches it against a CWE pattern ontology to surface mitigation-evidence gaps and signal-level obligations; the LLM finally revises RTL under those obligations in a functionality-preserving two-stage generation. Across five models and four languages, RTL-Obliger raises mean all-pass from 49.6-51.4% (SecV/RESCUE) to 61.6%, with higher security and functional rates than these secure-generation baselines. Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-08-28 in cs.CR). Categorie arXiv: Cryptography and Security (cs.CR) ; Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2608.26588 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-17T15:31:38.257Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-08-28?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).