paper-with-me

홈 › Papers

Adaptive Hierarchical Evaluation of LLMs and SAST tools for CWE Prediction in Python

2026-01-04 · Muntasir Adnan, Carlos C. N. Kuhn arxiv

Large Language Models have become integral to software development, yet they frequently generate vulnerable code. Existing code vulnerability detection benchmarks employ binary classification, lacking the CWE-level specificity required for actionable feedback in iterative correction systems. We present ALPHA (Adaptive Learning via Penalty in Hierarchical Assessment), the first function-level Python benchmark that evaluates both LLMs and SAST tools using hierarchically aware, CWE-specific penalties. ALPHA distinguishes between over-generalisation, over-specification, and lateral errors, reflecting practical differences in diagnostic utility. Evaluating seven LLMs and two SAST tools, we find LLMs substantially outperform SAST, though SAST demonstrates higher precision when detections occur. Critically, prediction consistency varies dramatically across models (8.26%-81.87% agreement), with significant implications for feedback-driven systems. We further outline a pathway for future work incorporating ALPHA penalties into supervised fine-tuning, which could provide principled hierarchy-aware vulnerability detection pending empirical validation.

📄 PDF Abstract BibTeX arXiv:2601.01320

Code (0)

등록된 구현이 없습니다.

Tasks

Vulnerability DetectionBinary Classification

Similar Papers 제목 키워드 기반

Comparison of Static Application Security Testing Tools and Large Language Models for Repo-level Vulnerability Detection

2024-07-23 · Xin Zhou, Duc-Manh Tran, Thanh Le-Cong, Ting Zhang 외

Software vulnerabilities pose significant security challenges and potential risks to society, necessitating extensive efforts in automated vulnerability detection. There are two popular lines of work to address automated…

Vulnerability Detection

Towards Effective Complementary Security Analysis using Large Language Models

2025-06-20 · Jonas Wagner, Simon Müller, Christian Näther, Jan-Philipp Steghöfer 외

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 eff…

DisasterBench: Benchmarking LLM Planning under Typed Tool Interface Constraints

2026-05-27 · Zhitong Chen, Kai Yin, Weifeng Zhang, Zhiyuan Wang 외 arxiv

Disasters cause severe societal impacts, demanding rapid coordination of heterogeneous AI tools, from satellite analysis to flood prediction and damage assessment, into coherent multi-step workflows. As LLMs increasingly…

Explaining Software Vulnerabilities with Large Language Models

2025-11-06 · Oshando Johnson, Alexandra Fomina, Ranjith Krishnamurthy, Vaibhav Chaudhari 외 arxiv

The prevalence of security vulnerabilities has prompted companies to adopt static application security testing (SAST) tools for vulnerability detection. Nevertheless, these tools frequently exhibit usability limitations,…

Vulnerability DetectionText Generation

RescueADI: Adaptive Disaster Interpretation in Remote Sensing Images with Autonomous Agents

2024-10-17 · Zhuoran Liu, Danpei Zhao, Bo Yuan

Current methods for disaster scene interpretation in remote sensing images (RSIs) mostly focus on isolated tasks such as segmentation, detection, or visual question-answering (VQA). However, current interpretation method…

Question AnsweringTask PlanningVisual Question AnsweringVisual Question Answering (VQA)