<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/ai-coding-tools-prone-to-critical-security-flaws-study-reveals-vwqjwh3oi" -->

---
title: AI Coding Tools Prone to Critical Security Flaws, Study...
description: A Tenzai study found that AI coding tools like Claude Code, OpenAI Codex, Cursor, Replit, and Devin generated 69 security vulnerabilities across 15 test...
canonical: https://daily.dev/posts/ai-coding-tools-prone-to-critical-security-flaws-study-reveals-vwqjwh3oi
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: AI Coding Tools Prone to Critical Security Flaws, Study Reveals | daily.dev
og:description: A Tenzai study found that AI coding tools like Claude Code, OpenAI Codex, Cursor, Replit, and Devin generated 69 security vulnerabilities across 15 test...
og:url: https://daily.dev/posts/ai-coding-tools-prone-to-critical-security-flaws-study-reveals-vwqjwh3oi
og:image: https://api.daily.dev/og/posts/VwQJWH3Oi.png
og:image:alt: AI Coding Tools Prone to Critical Security Flaws, Study Reveals
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Coding Tools Prone to Critical Security Flaws, Study Reveals

**[Collections](https://daily.dev/sources/collections)** · 2 min read · 2 upvotes · 0 comments

## Summary

A Tenzai study found that AI coding tools like Claude Code, OpenAI Codex, Cursor, Replit, and Devin generated 69 security vulnerabilities across 15 test applications. While these tools avoid common issues like SQL injection and XSS, they struggle with context-dependent security decisions, particularly around API authorization and business logic. The study showed consistent vulnerability patterns across different AI agents using identical prompts. Experts recommend embedding security checks directly into AI coding environments rather than relying solely on post-generation reviews and manual debugging.

## Content

A recent study by Tenzai has brought to light significant security concerns surrounding AI-powered coding tools such as Claude Code, OpenAI Codex, Cursor, Replit, and Devin. The research revealed that these popular vibe coding tools are not entirely reliable, as they generated a total of 69 vulnerabilities across 15 test applications. These vulnerabilities include critical flaws mainly centered around API authorization and business logic.

While these tools have successfully learned to avoid common issues like SQL injection and cross-site scripting (XSS) attacks, they continue to struggle with context-dependent security decisions. One key concern highlighted by the study is their lack of intuitive understanding that human developers generally possess when it comes to complex business logic. This shortcoming makes AI-generated code particularly susceptible to authorization and workflow vulnerabilities, such as authentication bypasses and negative pricing.

Remarkably, the study demonstrated that when five different AI agents were tested using identical prompts, they consistently produced similar counts of vulnerabilities, underscoring potential risks faced by developers who lack adequate security expertise or fail to conduct thorough code reviews. Notably, critical flaws were found in systems generated by Claude Code, Devin, and Codex, particularly affecting API authorization and business logic.

To mitigate these risks, experts recommend embedding security checks directly into AI coding environments. Relying solely on post-generation debugging and manual code review may not suffice, as proactive integration of security solutions can provide a more effective safeguard against such vulnerabilities. This comprehensive approach emphasizes continued human oversight and an integrated security framework during the code generation process to ensure the development of more secure applications.

---

Tags: [#ai](https://daily.dev/tags/ai), [#security](https://daily.dev/tags/security), [#authorization](https://daily.dev/tags/authorization)

[View this post on daily.dev](https://daily.dev/posts/ai-coding-tools-prone-to-critical-security-flaws-study-reveals-vwqjwh3oi)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"AI Coding Tools Prone to Critical Security Flaws, Study Reveals","url":"https://daily.dev/posts/ai-coding-tools-prone-to-critical-security-flaws-study-reveals-vwqjwh3oi","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/ai-coding-tools-prone-to-critical-security-flaws-study-reveals-vwqjwh3oi"},"datePublished":"2026-01-14T20:09:39.841Z","dateModified":"2026-01-15T17:18:45.582Z","description":"A Tenzai study found that AI coding tools like Claude Code, OpenAI Codex, Cursor, Replit, and Devin generated 69 security vulnerabilities across 15 test...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5f2a200d2a8921f1dbadc8a496a4d06b?_a=AQAEulh","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5f2a200d2a8921f1dbadc8a496a4d06b?_a=AQAEulh","isAccessibleForFree":true,"articleSection":"Collections","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Collections","logo":"https://media.daily.dev/image/upload/s--fk_6ycEi--/f_auto,q_auto/v1780996001/logos/collections?_a=BAMAMiWQ0","url":"https://daily.dev/sources/collections"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/ai-coding-tools-prone-to-critical-security-flaws-study-reveals-vwqjwh3oi","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai,security,authorization","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Collections","item":"https://daily.dev/sources/collections"},{"@type":"ListItem","position":3,"name":"AI Coding Tools Prone to Critical Security Flaws, Study Reveals"}]}
```

