Coding agents produce working code that fails security checks

Qwen tested six coding agents on security requirements left unstated in ordinary coding instructions. Its 450-task benchmark covered 150 vulnerability scenarios; Qwen3.8-Max helped draft task specifications and rewrite tests, which security experts reviewed. The agents passed 73.6%–91.3% of tests checking whether the code worked, while the best passed both those checks and security tests on 25.1% of tasks.
PositiveQwen built a test that checks whether AI-written code is secure as well as working, and it showed how often code that passes ordinary tests is still unsafe.