SECODEPLT: A Unified Benchmark for Evaluating the Security Risks and Capabilities of Code GenAI

Yu-Zhou Nie, Zhun Wang, Yu Yang, R. Jiang, Yu-Heng Tang +5 more
1/1/2025
benchmark-dataset

No confident code implementation found for this paper.

Abstract

Existing benchmarks for evaluating the security risks and capabilities (e.g., vulnerability detection) of code-generating large language models (LLMs) face several key limitations: (1) limited coverage of risk and capabilities; (2) reliance on static evaluation metrics such as LLM judgments or rule-based detection, which lack the precision of dynamic analysis; and (3) a trade-off between data quality and benchmark scale. To address these challenges, we introduce a general and scalable benchmark construction framework that begins with manually validated, high-quality seed examples and expands them via targeted mutations.

Show full abstract

Our approach provides a comprehensive suite of artifacts so the benchmark can support comprehensive risk assessment and security capability evaluation using dynamic metrics. By combining expert insights with automated generation, we strike a balance be-tween manual effort, data quality, and benchmark scale. Applying this framework to Python, C/C++, and Java, we build S E C ODE PLT, a dataset of more than 5.9k samples spanning 44 CWE-based risk categories and three security capabilities. Compared with state-of-the-art benchmarks, S E C ODE PLT offers broader coverage, higher data fidelity, and substantially greater scale. We use S E C ODE PLT to evaluate leading code LLMs and agents, revealing their strengths and weaknesses in both generating secure code and identifying or fixing vulnerabilities. 2

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{nie2025secodeplt,
  title  = {SECODEPLT: A Unified Benchmark for Evaluating the Security Risks and Capabilities of Code GenAI},
  author = {Yu-Zhou Nie and Zhun Wang and Yu Yang and R. Jiang and Yu-Heng Tang and Xander Davies and Yarin Gal and Bo Li and Wen-Bo Guo and D. Song},
  year   = {2025},
  doi    = {10.52202/085713-0447},
  url    = {https://doi.org/10.52202/085713-0447},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/fff864f0ccd5ef024cb90151a210b84a3e06882c.svg)](https://codeofpaper.com/paper/fff864f0ccd5ef024cb90151a210b84a3e06882c)

Discussion