English

BugWhisperer: Fine-Tuning LLMs for SoC Hardware Vulnerability Detection

Cryptography and Security 2025-05-30 v1 Artificial Intelligence

Abstract

The current landscape of system-on-chips (SoCs) security verification faces challenges due to manual, labor-intensive, and inflexible methodologies. These issues limit the scalability and effectiveness of security protocols, making bug detection at the Register-Transfer Level (RTL) difficult. This paper proposes a new framework named BugWhisperer that utilizes a specialized, fine-tuned Large Language Model (LLM) to address these challenges. By enhancing the LLM's hardware security knowledge and leveraging its capabilities for text inference and knowledge transfer, this approach automates and improves the adaptability and reusability of the verification process. We introduce an open-source, fine-tuned LLM specifically designed for detecting security vulnerabilities in SoC designs. Our findings demonstrate that this tailored LLM effectively enhances the efficiency and flexibility of the security verification process. Additionally, we introduce a comprehensive hardware vulnerability database that supports this work and will further assist the research community in enhancing the security verification process.

Keywords

Cite

@article{arxiv.2505.22878,
  title  = {BugWhisperer: Fine-Tuning LLMs for SoC Hardware Vulnerability Detection},
  author = {Shams Tarek and Dipayan Saha and Sujan Kumar Saha and Farimah Farahmandi},
  journal= {arXiv preprint arXiv:2505.22878},
  year   = {2025}
}

Comments

This paper was presented at IEEE VLSI Test Symposium (VTS) 2025

R2 v1 2026-07-01T02:47:25.022Z