Benchmark finds AI coding agents' code often passes tests yet remains exploitable
A preprint posted to arXiv in November 2026 introduces A.S.E 2.0, a benchmark of 145 tasks drawn from real CVEs across 51 open-source projects, to measure the security of AI-generated code. Tasks count as secure only when functional tests pass and a working proof-of-concept exploit fails. Claude Code running Sonnet 4.5 passed functional tests on 74.0% of tasks, but only 18.4% of its output was secure, and a majority of test-passing output remained exploitable across all tested setups. The researchers found agents rarely searched for existing security safeguards, and that naming the relevant safeguard in the prompt substantially improved results. The study has not yet undergone peer review and tested only a limited set of models.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in