SafeGenBench: A Benchmark Framework for Security Vulnerability Detection in LLM-Generated Code
원문 초록
The code generation capabilities of large language models(LLMs) have emerged as a critical dimension in evaluating their overall performance. However, prior research has largely overlooked the security risks inherent in the generated code. In this work, we introduce SafeGenBench, a benchmark specifically designed to assess the security of LLM-generated code. The dataset encompasses a wide range of common software development scenarios and vulnerability types. Building upon this benchmark, we develop an automatic evaluation framework that leverages both static application security testing(SAST) and LLM-based judging to assess the presence of security vulnerabilities in model-generated code. Through the empirical evaluation of state-of-the-art LLMs on SafeGenBench, we reveal notable deficiencies in their ability to produce vulnerability-free code. Our findings highlight pressing challenges and offer actionable insights for future advancements in the secure code generation performance of LLMs. The data and code will be released soon.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Are Sparse Autoencoders Useful for Java Function Bug Detection?
Can You Really Trust Code Copilots? Evaluating Large Language Models from a Code Security Perspective
Program Semantic Inequivalence Game with Large Language Models
CORE: Benchmarking LLMs Code Reasoning Capabilities through Static Analysis Tasks
SV-LLM: An Agentic Approach for SoC Security Verification using Large Language Models
The Devil behind the mask: An emergent safety vulnerability of Diffusion LLMs
토론
이 논문과 연결된 포럼 글이 아직 없습니다.