Technology7 min read

Vibe Coding's Hidden Risk: AI Apps Leaking User Data

AI-generated apps built with vibe coding are quietly exposing user data through misconfigured databases. Here's what's going wrong and how to fix it.

Vibe Coding's Hidden Risk: AI Apps Leaking User Data

Key takeaways

  1. 1According to the Stack Overflow 2024 Developer Survey, roughly 76 percent of developers now use or plan to use AI-assisted coding tools.
  2. 2GitHub Copilot alone has surpassed one million paid subscribers, and that figure excludes the broader ecosystem of AI-first development tools — Cursor, Bolt, Replit — that have attracted millions more.
  3. 3CWE-732 (Incorrect Permission Assignment for Critical Resource) and CWE-284 (Improper Access Control) together represent a significant share of disclosed web application vulnerabilities.
  4. 4Who Bears Responsibility: Developers, Platforms, or AI Tools?
Sections · 6

A new category of software vulnerability is emerging quietly at the intersection of speed and inexperience. According to the Stack Overflow 2024 Developer Survey, roughly 76 percent of developers now use or plan to use AI-assisted coding tools. That adoption rate is accelerating the pace at which applications reach users — and it is simultaneously accelerating the pace at which those applications expose user data to anyone who thinks to ask for it. The AI-generated app data leak is not a theoretical concern. It is already happening.

What Vibe Coding Is and Why It Changes the Security Equation

In early 2025, OpenAI co-founder Andrej Karpathy coined the phrase "vibe coding" to describe a mode of software development built almost entirely on natural-language prompts to an AI assistant. Rather than writing logic line by line, the developer describes what they want, accepts the AI's output, and keeps iterating until the application works. The term caught on immediately because it named something millions of people were already doing.

GitHub Copilot alone has surpassed one million paid subscribers, and that figure excludes the broader ecosystem of AI-first development tools — Cursor, Bolt, Replit — that have attracted millions more. The result is a genuine democratization of software creation. Non-technical founders, designers, and researchers are shipping functional applications in hours rather than months.

The security equation changes when the people building software don't have a background in it. Traditional development pipelines include code reviews, threat modeling, and access control audits as standard steps. Vibe coding pipelines often include none of these. The developer sees a working product. The threat surface they've created stays invisible.

How AI-Generated Apps Are Quietly Leaking User Data

How AI-Generated Apps Are Quietly Leaking User Data — Person typing on smartphone with ai chatbot on screen
How AI-Generated Apps Are Quietly Leaking User Data — Person typing on smartphone with ai chatbot on screen

TechCrunch reported in September 2026 that a significant number of customers of Supabase — the widely used open-source backend platform — were publicly exposing large volumes of user data on the web. The pattern isn't unique to any single platform; it represents exactly how an AI-generated app data leak unfolds at scale.

Read next Laika's Wildwood: Stop-Motion Fantasy at TIFF 2026

The mechanics are deceptively simple. AI tools scaffold working applications fast. They generate database schemas, authentication flows, and API endpoints that behave exactly as specified. What they don't do is enforce row-level security, alert the developer when a table is world-readable, or validate that unauthenticated requests will be blocked.

An application built this way passes every informal test. The developer logs in, sees their data, and ships. What they haven't tested — and often don't know to test — is whether an unauthenticated request from a random IP address returns the same results. In many cases, it does.

This is not an edge case confined to careless developers. It is a structural outcome when someone without database administration experience builds and deploys a production system in a single afternoon. The AI generated functional code. Nobody configured security.

The Root Cause: AI Writes Code, Not Security Policies

The Root Cause: AI Writes Code, Not Security Policies — black iphone 5 on yellow textile
The Root Cause: AI Writes Code, Not Security Policies — black iphone 5 on yellow textile

OWASP's Top 10 list of critical web application risks ranks Security Misconfiguration at number five, and it has held a top-five position in every major revision of that list. CWE-732 (Incorrect Permission Assignment for Critical Resource) and CWE-284 (Improper Access Control) together represent a significant share of disclosed web application vulnerabilities. These aren't exotic attack vectors. They are basic configuration failures that competent security review catches in minutes.

AI coding assistants are not built to catch them. They generate code based on what the developer describes, and a developer who doesn't know to ask for secure defaults doesn't receive them. A prompt like "build a user profile page that reads from my database" produces a working solution. It does not automatically produce a solution that enforces user-level data isolation unless the developer knows enough to request it explicitly.

Here is the core problem: AI produces functional code but cannot audit the permissions model of the infrastructure surrounding that code. Security posture requires knowing what you're protecting, who might want it, and how your configuration exposes or restricts access — context a language model typically lacks when generating application scaffolding.

The AI-generated app data leak is therefore not primarily a flaw in the AI. It is the predictable result of deploying AI-generated code into environments where the developer doesn't know enough to configure them safely.

Who Bears Responsibility: Developers, Platforms, or AI Tools?

Placing blame on one party misses how distributed the failure is. Each layer contributes.

Platform providers bear responsibility for secure defaults. A backend service that allows public data access without explicit developer configuration has made a design decision: ease of use over safety. Requiring developers to opt into security — rather than opt out of exposure — is a meaningful product choice that platforms can make unilaterally.

AI tool makers bear responsibility for surfacing security considerations at code generation time. A tool that produces a database read function without noting the absence of access control is omitting critical context. Some AI coding assistants now include basic security nudges. Most don't do it consistently enough to change outcomes.

Developers bear responsibility regardless of the tools they use. Shipping an application that causes an AI-generated app data leak doesn't become acceptable because the code was AI-generated. Users whose records are exposed didn't consent to being a casualty of someone else's learning process.

The honest assessment is that responsibility is shared and inadequate at every level.

What Users and Builders Should Do Right Now

Row-level security — the feature that restricts which database rows a given user can access — is built into Supabase as a standard capability. The problem documented in recent reporting is that it requires explicit activation. That one step, skipped by developers who didn't know it existed, is the difference between a secure application and a public data dump.

For developers building on AI-generated foundations: before any application handles real user data, enable row-level security on every table that contains personal information. Test your endpoints as an unauthenticated user. Confirm that private data is actually private from outside your own session. Read the access control documentation for whatever backend platform you use — this is a one-time investment of under an hour that eliminates the most common exposure pattern.

For end users: the apps you use casually — productivity tools, AI wrappers, niche utilities — may have been built in an afternoon by someone with limited security experience. Where sensitive information is involved, consider what you share and look for explicit privacy documentation before trusting a new application with personal data.

For organizations evaluating AI-built internal tools: a basic security review before deployment is no longer optional. Shared database credentials, public table access, and missing authentication middleware are all findable in under thirty minutes. Find them before an outside party does.

The Broader Implications for AI-Assisted Development

The Supabase findings point toward a problem that grows in proportion to AI adoption. The same Stack Overflow survey found that developers using AI tools report shipping features materially faster. Speed is the value proposition. But every acceleration that bypasses a security checkpoint compounds exposure over time.

The AI-generated app data leak problem is a structural mismatch: the tools that lower the barrier to building software have not yet lowered the barrier to building secure software by the same degree. That gap will narrow. AI assistants are becoming more security-aware, and platforms are moving toward more restrictive default configurations. The gap has not closed yet.

The solution isn't to slow down AI-assisted development. The solution is to treat basic security knowledge — permissions models, access control, unauthenticated request testing — as a prerequisite for shipping, not a specialization for later. AI can generate the code. The judgment about what that code exposes, and to whom, still requires a human who knows enough to ask the right question before pressing deploy.


Source: TechCrunch

Published

29 September 2026

Author

Editorial

Comments

No comments yet. Be the first.

Leave a comment