Explaining Software Vulnerabilities with Large Language Models
Authors:
- 16 November 2025
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 194-198
Abstract
The prevalence of security vulnerabilities has prompted companies to adopt static application security testing (SAST) tools for vulnerability detection. Nevertheless, these tools frequently exhibit usability limitations, as their generic warning messages do not sufficiently communicate important information to developers, resulting in misunderstandings or oversight of critical findings. In light of recent developments in Large Language Models (LLMs) and their text generation capabilities, our work investigates a hybrid approach that uses LLMs to tackle the SAST explainability challenges. In this paper, we present SAFE, an Integrated Development Environment (IDE) plugin that leverages GPT-4o to explain the causes, impacts, and mitigation strategies of vulnerabilities detected by SAST tools. Our expert user study findings indicate that the explanations generated by SAFE can significantly assist beginner to intermediate developers in understanding and addressing security vulnerabilities, thereby improving the overall usability of SAST tools.Keywords
All Related Versions
This publication has 7 references indexed in Scilit:
- Large Language Models Versus Static Code Analysis Tools: A Systematic Benchmark for Vulnerability DetectionIEEE Access, 2025
- Unleashing the potential of prompt engineering for large language modelsPatterns, 2025
- Automatically Inspecting Thousands of Static Bug Warnings with Large Language Model: How Far Are We?ACM Transactions on Knowledge Discovery From Data, 2024
- Better Zero-Shot Reasoning with Role-Play Prompting2024
- A large-scale study of usability criteria addressed by static analysis tools2022
- Explaining Static Analysis With Rule GraphsIEEE Transactions on Software Engineering, 2020
- Explaining Static Analysis - A Perspective2019