Pairing Security Advisories with Vulnerable Functions Using Open-Source LLMs


연구 분야: Software Development



학회: International Conference on Detection of Intrusions and Malware, and Vulnerability Assessment


초록

As the reliance on open-source software dependencies increases, managing the security vulnerabilities in these dependencies becomes complex. State-of-the-art industry tools use reachability analysis of code to alert developers when security vulnerabilities in dependencies are likely to impact their projects. These tools heavily rely on precisely identifying the location of the vulnerability within the dependency, specifically vulnerable functions. However, the process of identifying vulnerable functions is currently either manual or uses a naive automated approach that falsely assumes all changed functions in a security patch link are vulnerable. In this paper, we explore using open-source large language models (LLMs) to improve pairing security advisories with vulnerable functions. We explore various prompting strategies, learning paradigms (i.e., zero-shot vs. few-shot), and show our approach generalizes to other open-source LLMs. Compared to the naive automated approach, we show a 173% increase in precision while only having an 18% decrease in recall. The significant increase in precision to enhance vulnerable function identification lays the groundwork for downstream techniques that depend on this critical information for security analysis and threat mitigation.


Author Profile
Trevor Dunlap

North Carolina State University Raleigh NC USA

New Caledonia
Author Profile
John Speed Meyers

Chainguard Kirkland WA USA

United States
Author Profile
Bradley Reaves

Chainguard Kirkland WA USA

United States

📄 논문 정보

발행 연도 2024년
인용수 0
출판 국가 New Caledonia, United States
사이트 Springer
좋아요 수 0

연관 논문 목록 (368건)