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

AEGIS:从线索到结论——通过辩证法和元审计的图引导深度漏洞推理

AEGIS: From Clues to Verdicts -- Graph-Guided Deep Vulnerability Reasoning via Dialectics and Meta-Auditing

NC State University(北卡罗来纳州立大学);University of Alberta(阿尔伯塔大学)

Sen Fang, Weiyuan Ding, Zhezhen Cao, Zhou Yang, Bowen Xu

AI总结:

AEGIS通过图引导的深度漏洞推理,结合辩证法和元审计,解决LLM推理不严谨的问题,实现从线索到结论的验证,提升漏洞检测的准确性与可靠性。

摘要:

大型语言模型(LLM)越来越多地用于漏洞检测,但其推理仍从根本上不严谨。我们发现,两种主要缓解范式(基于代理的辩论和检索增强)的共同根本原因在于在缺乏有界、假设特定证据基础的无根推理空间中进行推理。没有这种基础,代理会制造跨功能依赖关系,检索启发式方法会提供与存储库数据流拓扑解耦的一般性知识。因此,得出的结论由修辞说服力而非可验证事实驱动。为使推理具有基础性,我们提出了AEGIS,一种新的多代理框架,将检测从无根推测转向在封闭事实基质上的取证验证。受“从线索到结论”哲学的指导,AEGIS首先识别可疑的代码异常(线索),然后通过按需切片在仓库级代码属性图上动态重建每个线索的每变量依赖链。在此封闭证据边界内,验证者代理为可利用性构建竞争的辩证论点,而独立的审计代理检查每个主张,行使否决权以防止幻觉结论。在严格严谨的PrimeVul数据集上的评估表明,AEGIS建立了新的最先进的状态,实现了122对的正确预测。据我们所知,这是首次在该基准上超越100的方案。与领先基线相比,它将误报率降低了高达54.40%,在无任何任务特定训练的情况下,平均成本为每样本0.09美元。

英文摘要:

Large Language Models (LLMs) are increasingly adopted for vulnerability detection, yet their reasoning remains fundamentally unsound. We identify a root cause shared by both major mitigation paradigms (agent-based debate and retrieval augmentation): reasoning in an ungrounded deliberative space that lacks a bounded, hypothesis-specific evidence base. Without such grounding, agents fabricate cross-function dependencies, and retrieval heuristics supply generic knowledge decoupled from the repository's data-flow topology. Consequently, the resulting conclusions are driven by rhetorical persuasiveness rather than verifiable facts. To ground this deliberation, we present AEGIS, a novel multi-agent framework that shifts detection from ungrounded speculation to forensic verification over a closed factual substrate. Guided by a "From Clue to Verdict" philosophy, AEGIS first identifies suspicious code anomalies (clues), then dynamically reconstructs per-variable dependency chains for each clue via on-demand slicing over a repository-level Code Property Graph. Within this closed evidence boundary, a Verifier Agent constructs competing dialectical arguments for and against exploitability, while an independent Audit Agent scrutinizes every claim against the trace, exercising veto power to prevent hallucinated verdicts. Evaluation on the rigorous PrimeVul dataset demonstrates that AEGIS establishes a new state-of-the-art, achieving 122 Pair-wise Correct Predictions. To our knowledge, this is the first approach to surpass 100 on this benchmark. It reduces the false positive rate by up to 54.40% compared to leading baselines, at an average cost of $0.09 per sample without any task-specific training.

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

↑