Skip to main content
Mallory
← Back to News
internet-facing-service-vulnerabilityai-platform-securityadversary-emulation-tradecraft

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 Finds AI Coding Agents Detect Real Web App Flaws but Miss Injection Bugs

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.

Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

1 event · Jan 1, 2026
  1. Jan 1, 202611mo ago

    Semgrep publishes AI agent web app vulnerability study

    Semgrep published research evaluating Anthropic Claude Code and OpenAI Codex for vulnerability discovery across 11 large open-source Python web applications. The study reported 445 manually triaged findings, 46 true vulnerabilities from Claude Code, 21 from Codex, and noted that responsible disclosure was still underway so the tested applications were not named.

    Finding vulnerabilities in modern web apps using Claude Code and OpenAI Codex | Semgrep
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

2 linked
Claude CodeCodex

Organizations

1 linked
Semgrep
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.