mlsanityData to 14 Oct 2026

A.S.E: A Repository-Level Benchmark for Evaluating Security in AI-Generated Code

arXiv 2508.18106 ↗First posted 25 Aug 2025cs.SE cs.AIcited by 14

Not on the map. Why?

Abstract (arXiv)

The increasing adoption of large language models (LLMs) in software engineering necessitates rigorous security evaluation of their generated code. However, existing benchmarks often lack relevance to real-world AI-assisted programming scenarios, making them inadequate for assessing the practical security risks associated with AI-generated code in production environments. To address this gap, we introduce A.S.E (AI Code Generation Security Evaluation), a repository-level evaluation benchmark designed to closely mirror real-world AI programming tasks, offering a comprehensive and reliable framework for assessing the security of AI-generated code. Our evaluation of leading LLMs on A.S.E reveals several key findings. In particular, current LLMs still struggle with secure coding. The complexity in repository-level scenarios presents challenges for LLMs that typically perform well on snippet-level tasks. Moreover, a larger reasoning budget does not necessarily lead to better code generation. These observations offer valuable insights into the current state of AI code generation and help developers identify the most suitable models for practical tasks. They also lay the groundwork for refining LLMs to generate secure and efficient code in real-world applications.

Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Builds on 28 of its 55 references that are in the map. First posted on arXiv 25 Aug 2025.

Builds on

28 of 55 references.

References · 28

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  2. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
  3. 2021Program Synthesis with Large Language Modelscited by 3,637
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  5. 2024Qwen2.5-Coder Technical Reportcited by 1,203
  6. 2021Measuring Coding Challenge Competence With APPScited by 902
  7. 2025GLM-4.5: Agentic, Reasoning, and Coding (ARC) Foundation Modelscited by 467
  8. 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 431
  9. 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 353
  10. 2023CrossCodeEval: A Diverse and Multilingual Benchmark for Cross-File Code Completioncited by 183
  11. 2023Large Language Models for Code: Security Hardening and Adversarial Testingcited by 155
  12. 2023Purple Llama CyberSecEval: A Secure Coding Benchmark for Language Modelscited by 138
16 more
  1. 2022Lost at C: A User Study on the Security Implications of Large Language Model Code Assistantscited by 91
  2. 2024StepCoder: Improve Code Generation with Reinforcement Learning from Compiler Feedbackcited by 77
  3. 2025SEC-bench: Automated Benchmarking of LLM Agents on Real-World Software Security Taskscited by 75
  4. 2023Understanding the Effectiveness of Large Language Models in Detecting Security Vulnerabilitiescited by 59
  5. 2025CWEval: Outcome-driven Evaluation on Functionality and Security of LLM Code Generationcited by 59
  6. 2025FEA-Bench: A Benchmark for Evaluating Repository-Level Code Generation for Feature Implementationcited by 58
  7. 2023CodeLMSec Benchmark: Systematically Evaluating and Finding Security Vulnerabilities in Black-Box Code Language Modelscited by 55
  8. 2024Long Code Arena: a Set of Benchmarks for Long-Context Code Modelscited by 50
  9. 2025BaxBench: Can LLMs Generate Correct and Secure Backends?cited by 41
  10. 2023SALLM: Security Assessment of Generated Codecited by 39
  11. 2024Constrained Decoding for Secure Code Generationcited by 37
  12. 2024Towards Understanding the Characteristics of Code Generation Errors Made by Large Language Modelscited by 30
  13. 2025Security and Quality in LLM-Generated Code: A Multi-Language, Multi-Model Analysiscited by 19
  14. 2025SafeGenBench: A Benchmark Framework for Security Vulnerability Detection in LLM-Generated Codecited by 19
  15. 2024Can Language Models Replace Programmers for Coding? REPOCOD Says 'Not Yet'cited by 7
  16. 2025Can You Really Trust Code Copilots? Evaluating Large Language Models from a Code Security Perspectivecited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 6; 2026: 8.

14 papers.

Sort:

By area: