arrow
返回

On Hardware Security Bug Code Fixes by Prompting Large Language Models

delete2024-01-01
delete17
delete
OA
AI
B
Baleegh Ahmad *
S
Shailja Thakur
B
Benjamin Tan
R
Ramesh Karri
H
Hammond Pearce
DOI:10.1109/TIFS.2024.3374558delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Novel AI-based code-writing Large Language Models (LLMs) such as OpenAI's Codex have demonstrated capabilities in many coding-adjacent domains. In this work, we consider how LLMs may be leveraged to automatically repair identified security-relevant bugs present in hardware designs by generating replacement code. We focus on bug repair in code written in Verilog. For this study, we curate a corpus of domain-representative hardware security bugs. We then design and implement a framework to quantitatively evaluate the performance of any LLM tasked with fixing the specified bugs. The framework supports design space exploration of prompts (i.e., prompt engineering) and identifying the best parameters for the LLM. We show that an ensemble of LLMs can repair all fifteen of our benchmarks. This ensemble outperforms a state-of-the-art automated hardware bug repair tool on its own suite of bugs. These results show that LLMs have the ability to repair hardware security bugs and the framework is an important step towards the ultimate goal of an automated end-to-end bug repair tool.
Keyword:
Maintenance engineering
Computer bugs
Codes
Hardware
Security
Software
Registers
Hardware security
large language models
bug repair

期刊

IEEE Transactions on Information Forensics and Security 封面图
IEEE Transactions on Information Forensics and Security
IF:
8
论文数:
5.3K
被引数:
2.3W

机构

U
University of Calgary
学者数:
3.8W
论文数: 3.3W
被引数: 52
N
New York University
学者数:
4.4W
论文数: 3.9W
被引数: 5.8W
N
New York University Tandon School of Engineering
学者数:
1.1K
论文数: 854
被引数: 0
学者 查看更多机构
引用论文

引用论文

Genomic Diversity amongStreptococcus agalactiaeIsolates Detected by a Degenerate Oligonucleotide‐Primed Amplification Assay
err1998-05-01
err0
errOAAI
errAdriana S. Limansky; Emma G. Sutich; María C. Guardati; Inés E. Toresani; Alejandro M. Viale
err分享
err收藏
Automated Program Repair
err2019-11-21
err231
PREAI
errLe Goues, Claire; Pradel, Michael; Roychoudhury, Abhik
err分享
err收藏
A novel method to quantify exchangeable hydrogen fraction in organic matter
err
IF0
err2020-03-23
err0
PREAI
errCristian Gudasz; David X. Soto; Tobias Sparrman; Jan Karlsson
err分享
err收藏
err分享
err收藏
Deviant Peers and Adolescent Risky Behaviors: The Protective Effect of Nonverbal Display of Parental Warmth
err2018-06-22
err0
errOAAI
errMarie‐Ève Daspe; Reout Arbel; Michelle C. Ramos; Lauren A. S. Shapiro; Gayla Margolin
err分享
err收藏
LoopFix: an approach to automatic repair of buggy loops
err2019-10-01
err4
PREAI
errWang, Weichao; Meng, Zhaopeng; Wang, Zan; Liu, Shuang; Hao, Jianye
err分享
err收藏
学者 查看更多内容