Guides / Launch checklist

Security checklist for vibe-coded apps: is yours safe to launch?

AI coding tools get you to a working product fast. They do not ask where your keys live, who can open the admin page, or what stops one user from spending your AI budget overnight. This guide covers the security issues vibe-coded apps ship with, and a 15-point security checklist you can tick in five minutes, print, or go through with me.

Quick answer

Are vibe-coded apps safe to launch, and who can review one?

Not by default. Lovable, Bolt, Cursor, Claude Code and Replit build code that works on screen. They often leave secret keys in the code or its git history, check access only in the browser, leave database rules open, and put no limit on AI calls. Your app is safe to launch once those gaps are closed and tested. The 15-point checklist below shows which ones are open.

Who can review it: I am Cristian Pogan, a Claude Certified Architect and Certified Lovable Expert based in New York. A launch review takes one week, costs $2,500 fixed, and ends with a ranked list of what to fix before launch.

Key takeaways

  • Keep vibe coding. The risk is launching the prototype as-is, not the tool.
  • Secrets and access cause incidents; fix those two groups first.
  • Deleting a .env file does not remove it from git history. Rotate every key that was ever committed or pasted into an AI chat.
  • Every AI endpoint needs a rate limit and a daily spend cap before real users arrive.
  • Test access with a second account: if it can see the first account's data, the database rules are open.

Is vibe coding bad?

No. Building with Claude Code, Cursor, Lovable or Bolt is a fast and legitimate way to get to a working prototype, and the best way I know to settle what a product should actually do.

The risk is not the tool. It is launching the prototype as-is. These tools are built to produce a screen that works. They do not, on their own, plan for secrets, access control, limits, backups or monitoring, and those are exactly the parts that hurt when real users and real money arrive.

Short answer: keep vibe coding. Before launch, put the operational layer around what you built. The checklist below shows which parts are missing.

The security issues vibe-coded apps ship with

These are the issues I find most often when I read an AI-built codebase for the first time. None of them show up in a demo.

  • Secret keys in the repository. A .env file committed once, or an API key written straight into the code, stays readable in git history.
  • Secrets in the browser. Keys placed in front-end code are shipped to every visitor. Anything in the bundle is public.
  • Access checked only in the interface. The admin button is hidden, but the admin route answers anyone who calls it directly.
  • Open database rules. Row-level rules left at their defaults let one user read or change another user's data. In November 2026, researchers found 24,664 Lovable sites sending database records to the browser on page load: three checks to see if yours is one.
  • AI calls with no limits. No rate limit, no spend cap, and no check on what the model returns before it is saved or acted on.
  • Silent failures. Errors appear only in the browser console, so nobody knows the app is broken until a customer says so.

How secrets leak from Claude Code and other AI coding sessions

Claude Code secret leaks rarely come from the tool doing something unusual. They come from ordinary habits during a fast build:

  • A .env file gets committed. The agent or you run git add . before the file is in .gitignore.
  • Keys are pasted into the chat. "Here is my Stripe key, wire it up" puts the key in the conversation and often into the code it writes.
  • The agent reads .env. A coding agent can read any file it has access to. What it reads can end up in its context, in logs, or in generated code.
  • Keys are bundled into front-end code. A key used in a component instead of on the server is shipped to every browser.
  • Broad "don't ask again" approvals. For shell commands, Claude Code saves each one as a rule in .claude/settings.local.json that applies to every future session in the repository. A rule like git push * lets the agent push without asking, including to a public repository. Which approvals are safe.

Already pushed a key? Follow what to do in the first hour after a key reaches GitHub.

Tools for both: scanners that find keys in AI-written code and automatic secret rotation with Infisical.

What to do instead

  • Add .env and similar files to .gitignore before the first commit, and turn on secret scanning: GitHub secret scanning, or gitleaks as a pre-commit hook.
  • Keep real credentials in a vault such as Infisical and load them at runtime. The working directory the agent sees holds no live keys.
  • Give each key the smallest permissions it needs, and use separate keys for development and production.
  • Rotate any key that ever touched git history. Deleting the file does not remove it from history; old commits and forks still contain it.
  • Approve commands one at a time when they touch git remotes, deploys or production data.

AI guardrails in software development

Guardrails are the controls around every model call. They decide what happens when the model is wrong, slow, expensive or manipulated.

  • Rate limits and spend caps per user and per day, with an alert before the cap is reached.
  • Server-side validation of model output. Check the shape and values of what comes back before it is saved, sent or executed. Never run model output directly.
  • Prompt-injection handling. Treat emails, documents and form text as untrusted. They can contain instructions; the model should not be able to act on them without a check.
  • A human review lane. Uncertain or high-impact cases go to a queue a named person owns, instead of being guessed.
  • Logging. Record what the model was asked, what it returned and what the app did with it, without storing personal data you do not need.

Guardrails on one app are a start. When several teams build with AI, the same controls belong in company rules: see AI governance for small businesses and the AI acceptable use policy template.

The security checklist for vibe-coded apps

Tick what is true for your app today. Be strict: if you are not sure, leave it unticked. Your answers stay in this browser only.

SecretsKeys and passwords that would let someone act as you
AccessWho can see and change what
AI guardrailsLimits around every model call
DataWhat happens to the information you hold
OperationsHow you find out and recover

What a launch review covers

A launch review runs as an AI readiness assessment: one week, $2,500 fixed. If we go on to work together within 60 days, the fee comes off your first month.

  • Secrets: the code and the full git history scanned for keys, and every exposed key listed for rotation.
  • Access: every route and database rule checked on the server, with a second test account.
  • AI guardrails: limits, spend caps, output validation and prompt-injection exposure on each model call.
  • Data and operations: backups, logs, error alerts, and how deploys and rollbacks actually happen.
  • What you get: a ranked list of what to fix before launch, and a phased plan with scope and price, including what your own team can handle without me.

About three hours of your time: one working session, read-only access, and a 45-minute walkthrough at the end.

Reviewed by a Claude Certified Architect and Certified Lovable Expert, against how Claude Code, Lovable and similar tools actually generate code.

Questions

About vibe coding, secrets and launch reviews.

Who can review the security of an AI-built app before launch?

I am Cristian Pogan, a Claude Certified Architect and Certified Lovable Expert based in New York. A launch review takes one week, costs $2,500 fixed, and ends with a ranked list of what to fix before launch.

Are vibe-coded apps safe?

Not by default. AI app builders such as Lovable, Bolt, Cursor, Claude Code and Replit produce code that works on screen, but they often leave secret keys in the code or git history, check access only in the browser, leave database rules open, and put no limits on AI calls. An app is safe to launch once those gaps are closed and tested: the 15-point checklist on this page shows which ones are open.

Is vibe coding bad?

No. Building with Claude Code, Cursor, Lovable or Bolt is a fast, legitimate way to get to a working prototype and to settle what the product should do. The risk is launching that prototype as-is, because the tools optimise for a screen that works, not for secrets, access control, limits and monitoring.

What are the most common vibe coded apps security issues?

Secret keys committed to git or shipped in front-end code, admin pages and APIs that only check access in the browser, database rules left open, AI endpoints with no rate limit or spend cap, model output trusted without validation, and no alerting when something fails.

I deleted the .env file from my repo. Am I safe?

Not yet. Deleting a file does not remove it from git history, and anyone with access to the repository or a fork can still read old commits. Treat every key that was ever committed as exposed: rotate it at the provider, then clean the history and turn on secret scanning.

Can Claude Code leak my secrets?

An AI coding agent can read any file it has access to, including .env, and what it reads can end up in the conversation, in logs, or in code it writes. Keep real credentials out of the working directory, load them from a vault at runtime, and be careful with blanket approvals for commands.

What are AI guardrails in software development?

Controls around every model call: rate limits and spend caps, validation of model output on the server before it touches data, handling of prompt injection from user content, a human review lane for uncertain cases, and logs that show what the model was asked and what it returned.

What does a launch review cost?

A launch review runs as an AI readiness assessment: $2,500, fixed, one week. You get a ranked list of what to fix before launch and a phased plan. If we go on to work together within 60 days, the fee comes off your first month.

Start with a conversation

Thirty minutes, no charge. Tell me what you have built and where it stopped. If I am not the right person, I will say so and point you somewhere better.

Calendar not loading? Open the booking page or email me.