Global-View Reasoning with LLMs for Real-World Vulnerability Detection
Large language models (LLMs) have recently shown promise in code generation and other software engineering tasks. However, their effectiveness in real-world security vulnerability detection still remains limited. A key observation is that while LLMs exhibit strong semantic understanding and security analysis capabilities on code snippets, these strengths are rarely extended to large-scale real-world programs. In this work, we propose SemScan, a novel vulnerability detection approach that harnesses LLMs' local reasoning capabilities to enable global security analysis. SemScan establishes an iterative loop of evidence collection and evidence-guided semantic synthesis. Our evaluation on a Python CVE vulnerability dataset and 200 popular real-world Python projects demonstrates that SemScan significantly outperforms state-of-the-art tools, uncovering 62 previously unknown serious vulnerabilities, including remote code execution and insecure deserialization flaws. To date, 22 of these vulnerabilities have been confirmed and assigned CVE identifiers.
- Link
- https://www.semanticscholar.org/paper/ca2e92a77b1e7aaa01f5bef68ee4f333f9d48f51
- Found by
- Semantic Scholar
- Authors
- Xiao-Zhen Xu, Чаоян Тао, Guang-Liang Yang, Xin-Ming Guo, Can Li, Yang-Shuo Bai, Yi Wang
- Categories
- evaluation, dataset
- Published
- 2026-11-14
- Last seen by the radar
- 2026-11-15
- Citations
- 0
- Influential citations
- 0
- Radar score
- 40.35 / 100 (how it is scored)
- Why it scored so
- Matched: dataset, evaluat; Primary record: Semantic Scholar
- Related links
- https://doi.org/10.1145/3830454.3846788