arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.15735cs.CR
收藏

基于LLM支持的静态应用安全测试提升网络安全漏洞扫描能力

Boosting Cybersecurity Vulnerability Scanning based on LLM-supported Static Application Security Testing

Mete Keltek, Rong Hu, Mohammadreza Fani Sani, Ziyue Li

AI总结:

本文提出LSAST方法,将本地部署的大语言模型与SAST扫描器及知识检索系统结合,在保护隐私的同时提升漏洞检测准确性,为静态漏洞分析设立新基准。

摘要:

当前网络安全形势日益复杂,传统的静态应用安全测试(SAST)工具由于依赖基于规则的匹配,难以捕获复杂和新兴的漏洞。与此同时,大语言模型(LLMs)已展现出强大的代码分析能力,但其静态训练数据和隐私风险限制了其有效性。为克服这两种方法的局限性,我们提出LSAST,一种将LLMs与SAST扫描器相结合以增强漏洞检测的新方法。LSAST利用可本地部署的LLM,结合最先进的知识检索系统,在不损害数据隐私的前提下提供最新的漏洞洞察。我们为静态漏洞分析设立了新的基准,提供了一种稳健且注重隐私的解决方案,弥合了传统扫描器与先进AI驱动分析之间的差距。我们的评估表明,将SAST结果纳入LLM分析可显著提高检测准确性,识别出传统方法遗漏的漏洞。

英文摘要:

The current cybersecurity landscape is increasingly complex, with traditional Static Application Security Testing (SAST) tools struggling to capture complex and emerging vulnerabilities due to their reliance on rule-based matching. Meanwhile, Large Language Models (LLMs) have demonstrated powerful code analysis capabilities, but their static training data and privacy risks limit their effectiveness. To overcome the limitations of both approaches, we propose LSAST, a novel approach that integrates LLMs with SAST scanners to enhance vulnerability detection. LSAST leverages a locally hostable LLM, combined with a state-of-the-art knowledge retrieval system, to provide up-to-date vulnerability insights without compromising data privacy. We set a new benchmark for static vulnerability analysis, offering a robust, privacy-conscious solution that bridges the gap between traditional scanners and advanced AI-driven analysis. Our evaluation demonstrates that incorporating SAST results into LLM analysis significantly improves detection accuracy, identifying vulnerabilities missed by conventional methods.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑