Semgrep Finds AI Coding Agents Detect Real Web App Flaws but Miss Injection Bugs
Vulnerability Disclosure · 3 sources · Updated 5mo ago · First seen Jan 1, 2026

Semgrep reported that AI coding agents from Anthropic and OpenAI identified genuine vulnerabilities in large open-source web applications, but produced high false-positive rates and inconsistent results across repeated scans. In a study of 11 actively maintained Python web apps, researchers manually triaged 445 findings and confirmed 46 true vulnerabilities from Claude Code and 21 from OpenAI Codex, with roughly 20 of the validated issues rated high severity. The company said responsible disclosure is still underway and did not name the affected applications.
The results showed uneven detection performance by vulnerability class: Claude Code performed best on IDOR, Codex performed best on path traversal, and both models struggled significantly with injection flaws such as SQL injection and XSS. The findings align with the broader role of intentionally vulnerable projects such as OWASP Juice Shop and OWASP Benchmark, which are widely used to evaluate security testing tools against exploitable web application weaknesses across SAST, DAST, and IAST scenarios.


