AI coding assistants produce vulnerable code in 45\% of security-relevant scenarios~\cite{veracode2025}, yet no public training dataset teaches both traditional web security and AI/ML-specific defenses in a format suitable for instruction tuning. We present SecureCode, a production-grade dataset of 2,185 multi-turn security training examples spanning two domains: web application security (1,435 examples covering the OWASP Top 10 2021 across 11 languages and 9 frameworks, 100\% grounded in documented CVEs and security incidents) and AI/ML security (750 examples covering all 10 OWASP LLM Top 10 2025 categories across more than 40 frameworks, including LangChain, OpenAI, and Hugging Face). Every example follows a 4-turn conversational structure -- feature request; vulnerable and secure implementations with attack demonstrations; advanced probing; and defense-in-depth operational guidance -- designed for direct use in instruction tuning pipelines.
Quality assurance combines automated structural validation with multi-agent review from seven specialist AI perspectives (more than 10{,}500 assessments) and an 8-phase remediation pipeline, producing a rubric-calibrated mean quality score of 93.8/100 ($σ= 0.93$) for the AI/ML component. Each example provides SIEM integration strategies, infrastructure hardening recommendations, and testing approaches using production frameworks. We release the unified dataset on Hugging Face with domain-specific loading configurations (web, aiml, default), alongside eight fine-tuned open-source models (3B--20B parameters, QLoRA), and an evaluation framework with four security-specific metrics. To our knowledge, SecureCode is the first public dataset that jointly provides OWASP Top 10 2021 web coverage and OWASP LLM Top 10 2025 AI/ML coverage in a unified conversational schema suitable for instruction tuning.
Last Secure Code Benchmark: Is the Code You Vibe Secure?
National University of Singapore(新加坡国立大学);Qwen Team, Alibaba Token Hub, Alibaba Group(阿里通义千问团队、阿里Token Hub、阿里巴巴集团);Cloud Safety and Security, Alibaba Cloud, Alibaba Group(阿里云云安全与安全部门、阿里云、阿里巴巴集团)
本研究推出 Last Secure Code Benchmark 评估编码智能体的安全代码生成,发现前沿智能体生成的代码功能通过率高但安全通过率低,vibe 编码生成代码的安全性存在严重隐患。
Invisible for both Camera and LiDAR: Security of Multi-Sensor Fusion based Perception in Autonomous Driving Under Physical-World Attacks
University of Michigan(密歇根大学);NVIDIA Research(英伟达研究院);Arizona State University(亚利桑那州立大学);Inceptio(嬴彻科技);Baidu Research(百度研究院);National Engineering Laboratory of Deep Learning Technology and Application(深度学习技术及应用国家工程实验室);University of California, Irvine(加州大学欧文分校);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)