LSCBench: Vibe Coding Agents Write Functional Code, But Only 25% Is Also Secure
Qwen · hf · 2026-10-14
Alibaba's Qwen team, NUS, and Alibaba Cloud Security release the Last Secure Code Benchmark (LSCBench), evaluating secure code generation by coding agents. Built from 150 real vulnerabilities, its 450 tasks span 7 languages (Java, C, C++, JavaScript, Python, PHP, Go) and 24 CWEs — including 21 of the 2025 CWE Top 25 and 8 of the Top 10 KEV — across three vibe-coding scenarios: filling in a function, writing a file, and building a repo from scratch. Specs mention only functionality; hidden functional and security tests do the grading.
Results are sobering: six frontier agents pass 73.6%-91.3% functionally, but the best (Claude Fable 5) produces code that is both functional and secure in only 25.1% of tasks (others 16.4%-24.7%), and the strongest model passes just 12% of vulnerability scenarios across settings.
Related event: LSCBench: AI-Generated Code Meets Function but Only 25% Meets Security(2 posts)→
More from coding & agent
- Product idea: cloud Android VMs and home WiFi proxies to make agents look human — Darpinian · 2026-11-29
- 38 free agent skills distilled from shipping three live AI products — PawelHuryn · 2026-11-29
- Step 5: run evals on synthetic data pre-launch, watch real traces after — PawelHuryn · 2026-11-29
- Agent build costs: Messages API $0.003/msg vs Agent SDK $0.041 in real test — PawelHuryn · 2026-11-29
- Break your agent before attackers do: 6 tests mapped to OWASP LLM Top 10 — PawelHuryn · 2026-11-29
- Step 1: have Claude draft an agent card before building your embedded agent — PawelHuryn · 2026-11-29