mlsanityData to 14 Oct 2026

Towards Effective Complementary Security Analysis using Large Language Models

arXiv 2506.16899 ↗First posted 20 Jun 2025cs.CR cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

A key challenge in security analysis is the manual evaluation of potential security weaknesses generated by static application security testing (SAST) tools. Numerous false positives (FPs) in these reports reduce the effectiveness of security analysis. We propose using Large Language Models (LLMs) to improve the assessment of SAST findings. We investigate the ability of LLMs to reduce FPs while trying to maintain a perfect true positive rate, using datasets extracted from the OWASP Benchmark (v1.2) and a real-world software project. Our results indicate that advanced prompting techniques, such as Chain-of-Thought and Self-Consistency, substantially improve FP detection. Notably, some LLMs identified approximately 62.5% of FPs in the OWASP Benchmark dataset without missing genuine weaknesses. Combining detections from different LLMs would increase this FP detection to approximately 78.9%. Additionally, we demonstrate our approach's generalizability using a real-world dataset covering five SAST tools, three programming languages, and infrastructure files. The best LLM detected 33.85% of all FPs without missing genuine weaknesses, while combining detections from different LLMs would increase this detection to 38.46%. Our findings highlight the potential of LLMs to complement traditional SAST tools, enhancing automation and reducing resources spent addressing false alarms.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 19 of its 34 references that are in the map. First posted on arXiv 20 Jun 2025.

Builds on

19 of 34 references.

References · 19

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  4. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  5. 2024Qwen2.5 Technical Reportcited by 4,942
  6. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  7. 2023Qwen Technical Reportcited by 3,344
  8. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
  9. 2024Qwen2 Technical Reportcited by 2,120
  10. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
  11. 2024Qwen2.5-Coder Technical Reportcited by 1,203
  12. 2024Phi-4 Technical Reportcited by 711
7 more
  1. 2023Can Generalist Foundation Models Outcompete Special-Purpose Tuning? Case Study in Medicinecited by 329
  2. 2022Transformer-Based Language Models for Software Vulnerability Detectioncited by 39
  3. 2024Comparison of Static Application Security Testing Tools and Large Language Models for Repo-level Vulnerability Detectioncited by 18
  4. 2024Harnessing Large Language Models for Software Vulnerability Detection: A Comprehensive Benchmarking Studycited by 17
  5. 2024Software Vulnerability and Functionality Assessment using LLMscited by 11
  6. 2023"False negative -- that one is going to kill you": Understanding Industry Perspectives of Static Analysis based Security Testingcited by 8
  7. 2023Using ChatGPT as a Static Application Security Testing Toolcited by 8

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024An Insight into Security Code Review with LLMs: Capabilities, Obstacles, and Influential Factors
  2. 2025ZeroFalse: Improving Precision in Static Analysis with LLMs
  3. 2026Exploring Automated Vulnerability Identification in JavaScript Code Using Large Language Models
  4. 2024Can LLM Prompting Serve as a Proxy for Static Analysis in Vulnerability Detection
  5. 2025Analysing Safety Risks in LLMs Fine-Tuned with Pseudo-Malicious Cyber Security Data
  6. 2026An Empirical Evaluation of LLM-Based Approaches for Code Vulnerability Detection: RAG, SFT, and Dual-Agent Systems
  7. 2025The Hitchhiker's Guide to Program Analysis, Part II: Deep Thoughts by LLMs
  8. 2025Rethinking the Evaluation of Secure Code Generation