AnyCreo Blog

Security · Blog

Is vibe coding safe? The security gaps in AI-built apps

Vibe coding is safe when security is part of every build. The gaps researchers keep finding in AI-built apps, and how AnyCreo closes them by default.

Short answer

Vibe coding, building an app by describing it to an AI, can be safe, but researchers keep finding the same gaps in apps built this way: database rules that let strangers read customer data, secret keys sent to the browser, and sign-in that can be bypassed. Most AI builders now offer a security scan, but it's a step you run or read, some checks need certain plans, and fixing findings often costs credits. AnyCreo builds security into every build, with tested sign-in and data separation, a security reviewer, a two-account check and a launch check, all on the ChatGPT, Claude or Google AI plan you already pay for.

Vibe coding means building software by describing what you want to an AI and letting it write the code. It's how Lovable, Bolt, Replit and Base44 work. This article looks at what security researchers have found in apps built this way, with sources, and how AnyCreo builds security into every app by default.

Is vibe coding safe?

It can be, when security is part of every build instead of a step someone has to remember. The AI builds what you ask for. Ask for a page that lists orders and you'll get one. Deciding who may see which orders is a separate job, and it often goes unasked.

Builders are plain about who carries that job. Lovable's security docs say: "You are responsible for ensuring that your app meets the security requirements appropriate for its use case, especially if it handles sensitive data or performs critical functions." They add that its scans "cannot guarantee complete security."

What are the security risks of vibe coding?

Researchers keep finding the same gaps: database rules that let strangers read customer data, secret keys sent to the browser, and sign-in that can be bypassed.

Customer data open to anyone

Many AI-built apps talk to their database straight from the visitor's browser. What keeps strangers out is a set of rules stored in the database, called Row Level Security (RLS), saying who may read or change each row. Lovable's docs say "Misconfigured RLS rules are a common cause of data leaks."

In March 2025, researcher Matt Palmer scanned 1,645 apps from Lovable's Launched showcase. He found 303 exposed endpoints (the addresses an app uses to fetch data) across 170 projects, about 10.3%, where the rules let outsiders read data and, in some cases, write it. The exposed information included names, phone numbers, API keys and payment details. The issue became CVE-2025-48757, with a severity score of 9.3 out of 10, rated critical. Lovable disputes it, because "each individual customer of the Lovable platform accepts a responsibility over protecting the data of their application."

In 2026, the security firm Crissy Field, working with the German newspaper Handelsblatt, which reported on it on November 2, 2026, examined 159,041 Lovable projects from December 2025 to September 2026. Of the 34,545 that used Supabase, the database service many Lovable apps run on, 24,664 sent database records as soon as the page loaded, with no login. On 7,403 of those sites, about 30%, the records included email addresses.

The firm is careful with that number: "The 30% figure should therefore not be read as a confirmed data leak rate", since some sites are meant to show data publicly. It also found clear cases, including a forum exposing more than 80,000 profiles and more than 200,000 chat messages, and a service exposing more than 1,000 records with identity document details, including passport numbers.

Secret keys sent to the browser

Some keys are meant to be public. Others give full access. Supabase says its secret key "bypasses Row Level Security" and warns: "Never put one in a browser, a shipped application, or source control."

In a Lovable project, any setting named with VITE_ is, in Lovable's words, a "build-time, browser-exposed value", so a secret stored that way reaches every visitor. Palmer's scan found exposed endpoints that could return developers' own API keys, such as a key for Google's Gemini.

Sign-in that can be bypassed

In July 2025, Wiz Research reported a flaw in Base44, the AI builder Wix owns. With nothing more than an app's ID, which wasn't secret, an attacker could register a verified account on private apps. Wiz says the flaw "effectively bypassed all given authentication controls that Base44 provided, including Single Sign-On (SSO)."

This was a flaw in Base44's platform, not a mistake in anyone's app. Base44 fixed it in less than 24 hours, and Wix said it found no evidence that it had been exploited. It still shows why sign-in matters so much: it's the lock on everything else.

Don't AI app builders check security now?

Yes, most do, and the scans are real. Lovable also says it "avoids common security mistakes while it builds." The differences are in when the check runs, which plan it needs, and who pays for the fix.

Builder Security check When it runs Fixing what it finds
Lovable Quick scan and Deep scan, both free Quick scan on every publish; Deep scan when you start it 10 free fixes, then credits
Bolt Project security audit (paid plans) and a database check When you click Run security audit Audit fixes don't use tokens
Replit Security Center scans and a check before publishing Scans when you run them; the publish check on publish Billed like other Agent work
Base44 Security scan on all plans; code checks on Builder and up When you run it; scheduled scans on Enterprise Not stated on the pages we read
AnyCreo Security reviewer, two-account check and launch check Every build, and before you publish On your AI plan, no credits

In each of these builders, the scan is a step you run or read, and acting on the results is up to you. In Lovable, after the 10 free fixes, and in Replit, fixing what the scan finds is paid work. Our article on whether Lovable is safe covers Lovable's checks in more detail.

How do you secure a vibe-coded app?

Build it somewhere security is done for you, on every build. A checklist at the end helps if you know what to look for, and the apps in the reports above went live with gaps their owners didn't catch. In AnyCreo, the checks are part of building, so you don't need to know what row-level security is for your app to have customers kept apart and tested.

How AnyCreo builds security in

AnyCreo is a Windows app that turns a plain-English description into a real app on your PC. Security is part of every build, without you asking for it, so AnyCreo gets your app right the first time instead of patching it after a scan.

The risky parts come tested. Sign-in, the sign-in screens, password reset, roles and permissions, keeping each customer's data separate, Stripe payments, emails and file uploads come from 23 tested ready-made parts, so the AI doesn't write them from scratch on every app.

A security reviewer checks every build. It scans for leaked secret keys, checks the add-on packages your app uses for known problems, checks the code for unsafe patterns such as data not scoped to the right customer, checks the site's security settings, tests sign-in and password reset against floods of attempts, and limits uploads.

A two-account check signs in as two different customers and proves neither can open the other's records. That's the gap behind the reports above, tested on every build. The reviewers are never allowed to weaken a test or a rule to get a pass, so a failing check gets fixed rather than switched off.

A launch check runs before you publish. It explains in plain words what it found and fixed, and serious problems are fixed before your customers see the app. AnyCreo also asks before anything risky, like deleting data, spending money or sharing your code, and every step is saved as a version you can go back to.

Security without a credit meter

Because AnyCreo doesn't sell credits, no check is skipped to save money. Every check and fix runs on the ChatGPT, Claude or Google AI plan you already have. ChatGPT Plus is $20 a month and includes Codex, and Claude Pro is $20 a month and includes Claude Code.

The same AI coding tools cost far more when paid per use. SemiAnalysis measured that a $20 Claude plan holds up to about $1,178 of AI work at API prices, about 59 times what you pay. A $20 ChatGPT plan holds up to about $211, about 10 times. You already pay for one of the most capable coding AIs, and AnyCreo puts all of it to work on your app, security included. Your $20 ChatGPT or Claude plan is enough to build a complete, tested, secure app with AnyCreo.

AnyCreo is in beta and free during the beta, with no AI credits on top. You need a Windows 10 or 11 PC and your own ChatGPT, Claude or Google AI plan. Join the beta to build your app with security done for you. To see how testing works alongside security, read who tests an app built with AI.

Questions people ask

Is vibe coding a security risk?

It can be. Researchers have found thousands of AI-built apps whose database rules let anyone read records, and apps that exposed developers' secret keys. The risk comes from security being a separate step that someone has to remember and pay for.

Do AI app builders check security?

Most now do. Lovable runs a Quick scan on every publish and offers a Deep scan, Bolt has a project security audit on paid plans, and Replit and Base44 have their own scans. They're checks you read and act on, and in several builders fixing what they find costs credits.

What is CVE-2025-48757?

An official vulnerability record from 2025 about Lovable-built apps whose database rules let outsiders read, and sometimes change, data. A researcher found the problem in 170 of 1,645 showcase apps. Lovable disputes it, saying each customer is responsible for protecting their app's data.

How does AnyCreo handle security?

Security is part of every AnyCreo build: tested ready-made parts for sign-in and customer data, a security reviewer, a two-account check and a launch check that explains what it found and fixed. Checks run on your own AI plan, so none are skipped to save credits.

Does AnyCreo cost extra for security checks?

No. AnyCreo is free during the beta, with no AI credits on top. Checks and fixes run on the ChatGPT, Claude or Google AI plan you already have, which has its own usage limits. SemiAnalysis measured that a $20 Claude plan holds up to about $1,178 of AI work at API prices, about 59 times what you pay, and a $20 ChatGPT plan up to about $211, about 10 times.

AnyCreo is in beta · Free while in beta

Get your app right the first time

AnyCreo plans, builds, tests and secures your app on your PC, with the AI plan you already have. You don't have to ask for security or testing. Join the beta list for your invite.

We only email you about AnyCreo. Unsubscribe any time. Privacy · What is AnyCreo?

Sources

Facts about other products come from their own pages, opened on the dates shown. What users say is labelled as theirs. Prices change; check the linked page before you buy.

  1. CVE-2025-48757 (US National Vulnerability Database) (checked 2026-11-14) Read through the NVD API, which returns the same record.
  2. Statement on CVE-2025-48757 (Matt Palmer, May 29, 2025) (checked 2026-11-14) The researcher's own account.
  3. Research report on Lovable apps (Crissy Field, with Handelsblatt) (checked 2026-11-14)
  4. Critical vulnerability in Base44 (Wiz Research, July 29, 2025) (checked 2026-11-14)
  5. API keys (Supabase docs) (checked 2026-11-14)
  6. Security (Lovable docs) (checked 2026-11-14)
  7. Secrets (Lovable docs) (checked 2026-11-14)
  8. Lovable FAQ (Lovable docs) (checked 2026-11-14)
  9. Work with Lovable in the project chat: free fixes (Lovable docs) (checked 2026-11-14)
  10. Check your project's security (Bolt help center) (checked 2026-11-14)
  11. Project Security Center (Replit docs) (checked 2026-11-14)
  12. Running a security scan (Base44 docs) (checked 2026-11-14)
  13. Base44 product changelog (checked 2026-11-14)
  14. ChatGPT plans and Codex pricing (OpenAI) (checked 2026-11-14)
  15. Claude pricing (Anthropic) (checked 2026-11-14)
  16. Forklog: Claude offers far more compute than ChatGPT (SemiAnalysis test, Oct 2026) (checked 2026-11-14)
  17. The Register on SemiAnalysis's subscription test (checked 2026-11-14)