Check your AI-built app for the top flaws before launch
Redproof read 1,029 AI-built apps: 62% of Lovable, Bolt and v0 apps had a high or critical flaw, against 20% of Cursor and Claude Code projects · Security incident · Redproof research · redproof · Nov 9, 2026
What happened
Redproof read the code of 1,029 public apps built with Lovable, Bolt, v0, Cursor, Claude Code and other tools. 40% had at least one high or critical problem: 62% of 201 Lovable, Bolt and v0 apps and 20% of 152 full-stack Cursor and Claude Code projects. 15% had a .env secrets file committed, and among 174 n8n, Make, Zapier and bot projects, 9% leaked a secret.
How to prevent it
Before launch, check for a committed .env file, outdated packages with known flaws, tables or endpoints anyone can read, and API routes with no login check.
Fix prompt for your own AI tool
Copy this into your own AI tool (Cursor, Lovable, Claude Code, Bolt…). It's general guidance written by us. Review what the AI suggests before applying it.
I built my app with an AI tool (Lovable, Bolt, v0, Cursor, Claude Code or similar). Review it for the most common serious flaws. 1) Check whether a .env or other secrets file was ever committed to git, and list files without printing values. 2) List packages with known security flaws and the safe versions. 3) Find database tables, Supabase Edge Functions and API routes that anyone can call without logging in. 4) If the app takes payments, check that webhooks verify signatures and that prices come from the server. Give me the issues ordered by severity. Don't change anything until I've approved your plan. Never ask me to paste API keys, passwords or .env contents; tell me where to check them myself.
Why this keeps happening: auth, sessions & access
AI tools generate sign-up and login screens quickly, but the hard parts are invisible in a demo: session expiry, real logout, password reset, and checking on the server that a user may see the data they ask for.
A quick checklist before you ship
- Test logging out, then pressing back and refreshing: you should not see private pages.
- Create a second account and try to open the first account's records by changing IDs in the URL or request.
- Check that every API route and database query verifies the user, not only the UI.
- Test native and social login on a real device before launch.
More on this: every auth, sessions & access story and our related guide.
Tools involved
Lovable stories, Bolt stories, v0 stories, Cursor stories, Claude Code stories, n8n stories
Related stories
- Check your repo for committed .env files and open tables
Scan of 25,000 AI-built repos: Bolt leaked most, Lovable led on committed .env files - Harden a vibe-coded app before launch
Vibe-coded app hacked twice in its first days - Before you open a repo you didn't write in an AI coding tool, read its AGENTS.md, CLAUDE.md, .claude/, .cursor/, .mcp.json and .vscode/tasks.json, and never let the agent run a script it is told not to inspect
Bitdefender: poisoned GitHub repos tell Claude Code, Cursor and Copilot to run a hidden credential stealer
Source: original post on Redproof research ↗. Summarised in our own words; numbers are as stated by the source. Browse all stories.