LLM coding agents now generate code at an unprecedented scale, yet LLM-generated code introduces cybersecurity vulnerabilities into codebases without human involvement. Even when frontier models are explicitly asked to write secure production code with relevant weaknesses to avoid in context, we find that they still produce verifiable vulnerabilities on average 23% of the time across a corpus of 250 benign coding prompts. We introduce SecureForge, an automated pipeline that both audits security risks of frontier models and produces auditing-informed secure system prompts that reduce output security vulnerabilities while maintaining unit test performance. SecureForge first identifies benign prompts that produce statically detectable vulnerabilities, and then amplifies them into a large synthetic prompt corpus of diverse scenarios using a Markovian sampling technique to jointly maintain error rates and prompt diversity. This corpus is then used to iteratively optimize the system prompts to reduce output security vulnerabilities. On frontier models, SecureForge yields a statistically significant Pareto improvement in both unit test success and output security, with output vulnerabilities reduced by up to 48%. The resulting system prompts transfer zero-shot to in-the-wild coding agent prompts, without any exposure to real user prompt distributions during optimization.
LMU Munich(慕尼黑大学);Siemens(西门子);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);Technical University of Munich (TUM)(慕尼黑技术大学);AWS AI(亚马逊AI);Konrad Zuse School of Excellence in Reliable AI (relAI)(Konrad Zuse卓越可靠AI学校);University of Hong Kong (HKU)(香港大学);University of Oxford(牛津大学)
Investigating Large Language Models for Code Vulnerability Detection: An Experimental Study
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);JD.com, Inc.(京东集团);China Mobile Research Institute(中国移动研究院);Zhongguancun Lab(中关村实验室)
xJailbreak: Representation Space Guided Reinforcement Learning for Interpretable LLM Jailbreaking
Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);Shenzhen University of Advanced Technology(深圳理工大学);WUST(武汉科技大学);HITSZ(哈尔滨工业大学(深圳));School of Biomedical Engineering, UNSW Sydney(新南威尔士大学悉尼分校生物医学工程学院)
Software Supply Chain Vulnerabilities Detection in Source Code: Performance Comparison between Traditional and Quantum Machine Learning Algorithms
Kennesaw State University(肯尼索州立大学);San Jose State University(圣何塞州立大学);Auburn University(奥本大学);Tuskegee University(塔斯基吉大学);University of Calabria(卡拉布里亚大学)
RealSec-bench: A Benchmark for Evaluating Secure Code Generation in Real-World Repositories
Sun Yat-sen University(中山大学);Nanyang Technological University(南洋理工大学);Alibaba Group(阿里巴巴集团);The State Key Laboratory of Blockchain and Data Security, Zhejiang University(浙江大学区块链与数据安全国家重点实验室)
Automating Static Code Analysis Through CI/CD Pipeline Integration
Gianforte School of Computing Montana State University(蒙大拿州立大学吉安福特计算学院);Pacific Northwest National Laboratory Idaho National Laboratory(太平洋西北国家实验室爱达荷国家实验室)