跳到正文
arXiv (AI + Vision + Imaging)· Oshando Johnson, Ranjith Krishnamurthy, Rohith Kumar Shanmuganathan, Goran Piskachev, Eric Bodden·· 14 天前AI 评分15

SAFE:基于代码与规则溯源的静态分析漏洞解释Agent

Code-Grounded Agentic Explanations for Static Analysis Vulnerability Findings

AI 导读

SAFE是一款开源IntelliJ IDEA插件,可解释任何以SARIF格式输出结果的静态分析器所报漏洞,检测仍由分析器负责,模型只负责解释。其Agent在作答前必须查阅代码仓库与触发规则,并按需分层给出解释、关联报告的数据流。24人交叉实验显示SUS可用性从77.3升至85.0,正确修复的几率提高2.6倍,信任度未变化。

正文 · 原文

arXiv:2611.13041v1 Announce Type: cross Abstract: Static application security testing (SAST) tools surface vulnerabilities early and their verdicts are rule-based and auditable. Yet developers routinely dismiss findings they cannot interpret. Large language models can supply the missing explanation, but designs that also hand the model the detection give up the auditability that makes static analysis defensible. We keep detection with the analyser and give the model only the explaining. A preliminary user study with 20 participants and a workshop with 19 practitioners yielded five requirements. Guided by these we redesigned SAFE, an open-source IntelliJ IDEA plugin that explains findings from any analyser reporting in the Static Analysis Results Interchange Format. It tiers explanations by demand, ties them to the reported data flow, and replaces the single-prompt backend with an agent that must consult the repository and the rule that fired before answering. A within-subjects crossover experiment with 24 participants compared the redesign against its predecessor. Perceived usability rose from 77.3 to 85.0 on the System Usability Scale. Actionability gained most among the explanation-quality items, the aspect both earlier studies flagged as weakest, and the odds of a correct remediation were 2.6 times higher. Triage accuracy and time per finding were indistinguishable, which we read as uninformative rather than as equivalence. Trust was the one measure that did not move, and the closing interviews indicate that grounding made findings easier to understand rather than easier to believe. Participants also drew a boundary no requirement anticipated, wanting the tool to find and explain while they judge and apply.

来源:arXiv (AI + Vision + Imaging) · arxiv.org