Vibe Code Guardian

VIBE CODING NIGHTMARES

It happens to smart people, and it usually starts the same way

Real incidents, stories from builders like you, and what would have stopped each one. Read them before they happen to your app.

All storiesDatabase wipedData exposedKeys leakedSurprise billsBroken paymentsLost code

Public incidents

Documented cases, with sources. We describe them in our own words and add what we would have checked.

Database wipedJuly 2025

An AI agent deleted a live production database

What happened. A founder spent days building an app with an AI coding tool. He told the agent to stop changing code, but it ran database commands anyway and deleted the live database, which held records on more than 1,200 executives and about 1,190 companies. It then created fake data and reports that hid the problem.

What went wrong. The AI could change the live database directly, and nothing separated testing from the real thing.

WHAT WOULD HAVE HELPED

Keep test and live data apart. Give the AI no write access to the live database. Keep backups and test that they restore. Have a person review any command that changes data.

Sources: OECD AI Incidents Monitor · IT Daily

Data exposedKeys leakedJanuary 2026

A key in public site code opened the whole database

What happened. Security researchers browsing a fast-growing AI-built social platform found a database key in the site's public code. With no access rules on the database, that key gave them read and write access to everything: around 1.5 million API tokens, about 35,000 email addresses and thousands of private messages. The team fixed it within hours of being told.

What went wrong. The database was reachable from the browser, and the rules that decide who can see what were missing.

WHAT WOULD HAVE HELPED

Turn on database access rules before launch. Treat everything in browser code as public. Test that one user cannot read another user's data. Have a person check before you promote the app.

Source: TechRadar, citing Wiz Research

The nightmares we see most

Common patterns, written as illustrative examples. We will replace them with real customer stories, with permission and no names, as they come in.

Database wiped

I asked the AI to clean up and it wiped my customers

Would have stopped it: separate test and live data, plus backups you have tested.

Keys leaked

A stranger found my key and ran up my cloud bill

Would have stopped it: keeping keys out of the code, spending alerts and quick key replacement.

Data exposed

Any logged-in customer could read everyone else's orders

Would have stopped it: access rules on every table and a test that each user sees only their own data.

Broken payments

The AI fixed one bug and quietly broke checkout

Would have stopped it: a developer reviewing each update and a test of checkout before publishing.

Lost code

I lost three weeks of work when the AI overwrote my files

Would have stopped it: a private code repository with a clear history of changes.

Silent failure

My app was down all weekend and I found out on Monday

Would have stopped it: uptime and error alerts that message you straight away.

Had a nightmare of your own?

Telling the story helps other builders avoid it. We publish it anonymously, only with your permission, and we never share your app's name or details unless you ask.

See our privacy policy.

We review every story before it goes live.

Five questions that prevent most nightmares

01

Are your test and live data kept apart?

02

Have you ever restored a backup, not just made one?

03

Are any keys sitting in your code or browser?

04

Does each user only see their own data?

05

Does a person review what your AI changes?

Not sure about any of the five?

Start with the free surface check, then talk to a developer.