用多智能体协作提升代码安全检测,降低误报并发现多个高危漏洞。
Argus: Reorchestrating Static Analysis via a Multi-Agent Ensemble for Full-Chain Security Vulnerability Detection
- 构建多智能体系统协同分析代码漏洞,融合检索增强与推理机制。
- 在真实项目中检测出更多真实漏洞,误报率和耗时显著低于现有方法。
- 适合需要高效、低误报的工业级代码安全检测团队使用。
大型语言模型(LLM)在静态应用安全测试(SAST)中的应用日益广泛,因其优于传统符号或规则方法的上下文推理能力。然而,现有基于LLM的方法通常试图直接替代人工专家,未有效整合现有SAST工具,导致误报率高、幻觉频发、推理深度有限、令牌消耗过大,难以在工业中部署。为此,我们提出范式转变,将SAST流程从原有的LLM辅助结构重构为以LLM为核心的新型工作流。提出Argus(Agentic and Retrieval-Augmented Guarding System),首个专为漏洞检测设计的多智能体框架。Argus包含三大创新:全面的供应链分析、协作式多智能体工作流,以及集成最先进的检索增强生成(RAG)与ReAct技术,以减少幻觉并增强推理。大量实证评估表明,Argus显著优于现有方法,在检测更多真实漏洞的同时,大幅降低误报率和运行成本。值得注意的是,Argus已识别出多个具有CVE编号的关键零日漏洞。
原文摘要 · Abstract (English)
Recent advancements in Large Language Models (LLMs) have sparked interest in their application to Static Application Security Testing (SAST), primarily due to their superior contextual reasoning capabilities compared to traditional symbolic or rule-based methods. However, existing LLM-based approaches typically attempt to replace human experts directly without integrating effectively with existing SAST tools. This lack of integration results in ineffectiveness, including high rates of false positives, hallucinations, limited reasoning depth, and excessive token usage, making them impractical for industrial deployment. To overcome these limitations, we present a paradigm shift that reorchestrates the SAST workflow from current LLM-assisted structure to a new LLM-centered workflow. We introduce Argus (Agentic and Retrieval-Augmented Guarding System), the first multi-agent framework designed specifically for vulnerability detection. Argus incorporates three key novelties: comprehensive supply chain analysis, collaborative multi-agent workflows, and the integration of state-of-the-art techniques such as Retrieval-Augmented Generation (RAG) and ReAct to minimize hallucinations and enhance reasoning. Extensive empirical evaluation demonstrates that Argus significantly outperforms existing methods by detecting a higher volume of true vulnerabilities while simultaneously reducing false positives and operational costs. Notably, Argus has identified several critical zero-day vulnerabilities with CVE assignments.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。