arrow
Return

(Security) Assertions by Large Language Models

delete2024-01-01
delete10
delete
OA
AI
R
Rahul Kande *
H
Hammond Pearce
B
Benjamin Tan
B
Brendan Dolan-Gavitt
S
Shailja Thakur
R
Ramesh Karri
J
Jeyavijayan Rajendran
DOI:10.1109/TIFS.2024.3372809delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
The security of computer systems typically relies on a hardware root of trust. As vulnerabilities in hardware can have severe implications on a system, there is a need for techniques to support security verification activities. Assertion-based verification is a popular verification technique that involves capturing design intent in a set of assertions that can be used in formal verification or testing-based checking. However, writing security-centric assertions is a challenging task. In this work, we investigate the use of emerging large language models (LLMs) for code generation in hardware assertion generation for security, where primarily natural language prompts, such as those one would see as code comments in assertion files, are used to produce SystemVerilog assertions. We focus our attention on a popular LLM and characterize its ability to write assertions out of the box, given varying levels of detail in the prompt. We design an evaluation framework that generates a variety of prompts, and we create a benchmark suite comprising real-world hardware designs and corresponding golden reference assertions that we want to generate with the LLM.
Keywords:
LLM
AI
hardware
assertion generation
hardware security
vulnerability detection
ChatGPT
Codex

Journal

IEEE Transactions on Information Forensics and Security cover
IEEE Transactions on Information Forensics and Security
IF:
8
Papers:
5.2K
Citations:
2.3W

Organization

U
University of Calgary
Scholars:
3.8W
Papers: 3.3W
Citations: 52
T
Texas A&M University System
Scholars:
4.4W
Papers: 4.0W
Citations: 4.0K