Skip to content

SeCodePLT: A Unified Platform for Evaluating the Security of Code-Generating AISeCodePLT: A Unified Platform for Evaluating the Security of Code GenAI

arXiv· arXiv:2410.11096· Yuzhou Nie, Zhun Wang, Yu Yang, Ruizhe Jiang, Yuheng Tang, Xander Davies, Yarin Gal, Bo Li, Wenbo Guo, Dawn Song·Indexed by this site · 22 days ago· Originally publishedEvaluation
AI summary

The researchers propose SeCodePLT, a benchmark platform that uniformly evaluates the security risks and security capabilities (such as vulnerability detection) of code-generating large language models. To address the problems of existing benchmarks—limited coverage, reliance on static metrics such as LLM judgment or rule-based detection, and difficulty in balancing data quality and scale—the framework starts from manually verified high-quality seed samples, expands the data through targeted mutation, and combines expert experience with automatic generation. The benchmark covers Python, C/C++, and Java, and contains more than 5.9k samples, 44 CWE-based risk categories, and three security capabilities, offering broader coverage, higher data fidelity, and larger scale than existing state-of-the-art benchmarks. The researchers used SeCodePLT to evaluate mainstream code LLMs and agents, revealing their strengths and weaknesses in generating secure code and in identifying and fixing vulnerabilities.

Read originalarxiv.org