arXiv:2610.23035cs.SEOct 2026

Manuscript Offprint

arXiv:2610.23035

VulnSAGE: Adjudicating SAST Reports by Connecting LLM Reasoning to Program Structure

Jinbao Chen, Zixiang Zhou, Yu Zhang, Yihong Wu

JINBAO CHEN*, ZIXIANG ZHOU*, YU ZHANG†, and YIHONG WU, University of Science and Technology of China, China

Static Application Security Testing (SAST) reports flag operations whose safety depends on project-specific context, and maintainers must decide which reports describe real defects. Large language models (LLMs) can interpret this context, but adjudicating a report with them requires the decisive code, which often lies far from the reported line, and a decision basis that program analysis can check. We present VULNSAGE, an adjudication system for SAST reports that connects LLM reasoning to program structure in both directions. Its report-centered slicer recovers the dependencies of the reported operation together with the program structure that explains them, such as the caller object on which a helper acts. CLAIM, an intermediate representation for report judgments, records each model interpretation as a semantic fact that cites the program relations it assumes. Program analysis checks these premises, and the verdict follows from the facts whose premises hold. Both mechanisms share a program graph, which lets the model cite the code it reads and lets the checker query those citations. Statically supported true positives then guide proof-of-concept generation and runtime reproduction. Across 187 labeled reports from four corpora covering five vulnerability families, VULNSAGE rejects 89 of 97 false alarms and retains 85 of 90 real defects. Under a common PoC procedure, 25 of its positive verdicts reproduce at runtime, compared with three for the LLM-based adjudicator LLM4SA. Applied to 45,440 alerts raised by five SAST tools on the 200 most-starred C/C++ projects on GitHub, it reproduces 104 defects at runtime. Maintainers have confirmed 24 of the 26 defects they have responded to, including ten previously unknown defects, nine of which are already fixed.

CCS Concepts: • Software and its engineering → Software verification and validation; • Security and privacy → Software security engineering.

Additional Key Words and Phrases: static analysis, SAST report adjudication, false-positive mitigation, large language models, program slicing, intermediate representation, proof-of-concept generation

1 Introduction

Maintainers use Static Application Security Testing (SAST) reports to identify code that may require a security fix. Acting on a report requires understanding whether its suspected behavior can occur in the project. Accepting a false alarm consumes review effort, while dismissing a real defect leaves the program vulnerable. On the 200 most-starred C/C++ projects on GitHub, five SAST tools raise 45,440 alerts in the five vulnerability families that we study. Studies of static-analysis use show that the information available for investigating warnings affects whether developers act on them [Ami et al. 2024; Ayewah and Pugh 2009; Charoenwet et al. 2024; Johnson et al. 2013; Vassallo et al. 2018].

The decisive information often lies beyond the reported operation. Caller-selected constants may rule out a helper’s null return, while initialization through another procedure may establish the state required by a later use. Production analyzers use abstractions and summaries to analyze large codebases [Distefano et al. 2019], and their reports may omit these project-specific relationships. Large language models (LLMs) can interpret such code and project conventions once they see them, as illustrated by work on initialization warnings [Li et al. 2024] and graph-guided vulnerability

∗^{*}Both authors contributed equally to this research.

†^{\dagger}Corresponding author.

Authors' Contact Information: Jinbao Chen, zkd18cjb@mail.ustc.edu.cn; Zixiang Zhou, zkd25zzx@mail.ustc.edu.cn; Yu Zhang, yuzhang@ustc.edu.cn; Yihong Wu, peterwuyihong@mail.ustc.edu.cn, University of Science and Technology of China, China.

Jinbao Chen, Zixiang Zhou, Yu Zhang, and Yihong Wu

detection [Lekssays et al. 2025]. Existing LLM-based triage retrieves context for the model and adopts its verdict [Li et al. 2024; Wen et al. 2024].

Using this ability for adjudication raises two needs. First, the model must see the decisive code, such as caller constants or helper effects, although the report names only the operation where investigation starts. Second, its verdict needs a basis that program analysis can check. Consider a warning that a struct member may be used uninitialized after a helper call. Whether the helper's initialization satisfies the later use is a semantic judgment for the model. Which object the helper receives is a program relation that analysis can check, and a justification that attributes another object's initialization to the reported member fails this check.

We present VULNSAGE, an adjudication system for SAST reports that connects LLM reasoning to program structure in both directions. Program structure determines what the model reads, and checks of program structure decide which of its interpretations count toward a verdict.

We slice from the report along dependencies and the structure that explains them. Dependencies lead from the reported operation to the origins of its values. Deciding the report also requires the structure that gives these values meaning. Copy lengths may depend on table entries, while the destination capacity comes from a declaration outside that dependence chain. Helper initialization matters for a report through the binding of the caller's object to the helper's parameter. We introduce a Program Structure Evidence Graph (PSEG) that represents dependencies together with the bindings and structure that explain them as labeled edges over shared program nodes. Our slicer traverses PSEG from the report's locations and gives the model an initial slice before it reasons. Because PSEG nodes keep their source locations, the model can cite what it reads.

We decide reports from semantic facts whose program premises hold. We introduce CLAIM, an intermediate representation for LLM report judgments. Each CLAIM fact carries the model's interpretation of how the reported condition arises or is ruled out, together with the program relations that this interpretation assumes as its structural premises. The model is responsible for the semantic part, while the structural premises denote PSEG relations that program analysis checks. Structural admission checks all cited premises and admits the fact when each holds and the cited relations reach the reported operation. The verdict follows from admitted facts, and missing support yields an uncertain outcome. Each decided report therefore rests on a fact whose cited program relations hold.

For statically supported true positives, VULNSAGE carries the trigger conditions into proof-of-concept (PoC) construction and execution. The resulting input and invocation let maintainers observe the reported behavior. In our confirmed libtiff case, a generated BigTIFF input reproduces the allocation/copy mismatch identified during adjudication under AddressSanitizer [Serebryany et al. 2012].

Across 187 labeled reports from four corpora covering five vulnerability families, VULNSAGE rejects 89 of 97 false alarms and retains 85 of 90 real defects, and it decides at least 96% of the reports in each set. Report-centered pre-slicing improves all-report accuracy by 14.81-27.08 percentage points. Without CLAIM admission, false alarms promoted to positives rise from four to 14 on D2A-libtiff [Zheng et al. 2021], and missed real defects rise from one to three on SATE-V [Delaitre et al. 2018]. Under a common PoC procedure, 25 positive verdicts of VULNSAGE reproduce at runtime, compared with three of the LLM-based adjudicator LLM4SA [Wen et al. 2024]. On the open-source alerts, the system reproduces 104 defects. Maintainers have confirmed 24 of the 26 defects they have responded to, including ten previously unknown defects, nine of which are already fixed.

This paper makes three contributions:

(1) Report-centered slicing over PSEG. We introduce PSEG, a program representation whose edges cover dependencies and the relations that explain them, and a slicer that recovers report context from trace locations while retaining the source identity that CLAIM facts cite.

(2) CLAIM, an intermediate representation for LLM report judgments. We define its syntax and give its structural premises a meaning over PSEG. Verdicts follow from admitted facts, which makes each decided verdict rest on a fact whose cited program relations hold.

(3) Adjudication with runtime reproduction and its evaluation. We implement VULNSAGE to carry supported reports into PoC construction and execution. An evaluation on 187 labeled reports and 45,440 open-source alerts reproduces 104 defects and finds ten previously unknown defects confirmed by maintainers.

References (21)