# Assertain: Automated Security Assertion Generation Using Large Language Models

Source: [Assertain: Automated Security Assertion Generation Using Large Language Models](<https://www.sota2.com/research/paper/69cf49780636e5bf4afcd98b>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-04-04T05:00:04.515Z

Authors: Shams Tarek, Dipayan Saha, Khan Thamid Hasan, Sujan Kumar Saha, Mark Tehranipoor, Farimah Farahmandi

Published: 2026-04-02T03:51:35.000Z

## Abstract

The increasing complexity of modern system-on-chip designs amplifies hardware security risks and makes manual security property specification a major bottleneck in formal property verification. This paper presents Assertain, an automated framework that integrates RTL design analysis, Common Weakness Enumeration (CWE) mapping, and threat model intelligence to automatically generate security properties and executable SystemVerilog Assertions. Assertain leverages large language models with a self-reflection refinement mechanism to ensure both syntactic correctness and semantic consistency. Evaluated on 11 representative hardware designs, Assertain outperforms GPT-5 by 61.22%, 59.49%, and 67.92% in correct assertion generation, unique CWE coverage, and architectural flaw detection, respectively. These results demonstrate that Assertain significantly expands vulnerability coverage, improves assertion quality, and reduces manual effort in hardware security verification.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Hardware Security Assertion and Flaw Detection on Door Lock](<https://www.sota2.com/research/sota/hardware-security-assertion-and-flaw-detection-on-door-lock.md>): Hardware Security Assertion and Flaw Detection; Door Lock; Correct Assertions: 27.

- [Hardware Security Assertion and Flaw Detection on DMI\_JTAG](<https://www.sota2.com/research/sota/hardware-security-assertion-and-flaw-detection-on-dmi_jtag.md>): Hardware Security Assertion and Flaw Detection; DMI\_JTAG; Correct Assertions: 30.

- [Hardware Security Assertion and Flaw Detection on Password Verification](<https://www.sota2.com/research/sota/hardware-security-assertion-and-flaw-detection-on-password-verification.md>): Hardware Security Assertion and Flaw Detection; Password Verification; Correct Assertions: 21.

- [Hardware Security Assertion and Flaw Detection on CSR\_Module](<https://www.sota2.com/research/sota/hardware-security-assertion-and-flaw-detection-on-csr_module.md>): Hardware Security Assertion and Flaw Detection; CSR\_Module; Assertion Count: 46.

- [Hardware Security Assertion and Flaw Detection on AES Buggy](<https://www.sota2.com/research/sota/hardware-security-assertion-and-flaw-detection-on-aes-buggy.md>): Hardware Security Assertion and Flaw Detection; AES Buggy; Assertion Count: 31.

- [Hardware Security Assertion and Flaw Detection on MIPS](<https://www.sota2.com/research/sota/hardware-security-assertion-and-flaw-detection-on-mips.md>): Hardware Security Assertion and Flaw Detection; MIPS; Correct Assertions Count: 44.

- [Hardware Security Assertion and Flaw Detection on UART](<https://www.sota2.com/research/sota/hardware-security-assertion-and-flaw-detection-on-uart.md>): Hardware Security Assertion and Flaw Detection; uart; Correct Assertions Count: 33.

- [Hardware Security Assertion and Flaw Detection on Store\_Unit](<https://www.sota2.com/research/sota/hardware-security-assertion-and-flaw-detection-on-store_unit.md>): Hardware Security Assertion and Flaw Detection; Store\_Unit; Correct Assertions Count: 50.

- [Hardware Security Assertion and Flaw Detection on MMU](<https://www.sota2.com/research/sota/hardware-security-assertion-and-flaw-detection-on-mmu.md>): Hardware Security Assertion and Flaw Detection; MMU; Correct Assertions Count: 42.

- [Hardware Security Assertion and Flaw Detection on I2C](<https://www.sota2.com/research/sota/hardware-security-assertion-and-flaw-detection-on-i2c.md>): Hardware Security Assertion and Flaw Detection; I2C; Correct Assertions Count: 39.

- [Hardware Security Assertion and Flaw Detection on SoC\_Subsystem](<https://www.sota2.com/research/sota/hardware-security-assertion-and-flaw-detection-on-soc_subsystem.md>): Hardware Security Assertion and Flaw Detection; SoC\_Subsystem; Assertion Correctness Count: 32.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2604.01583>)

[PDF](<https://arxiv.org/pdf/2604.01583.pdf>)
