The complete guide

Build real software by describing it.

Vibe coding lets you make an app by telling AI what you want. This guide covers when to do it, which tools to use, how to build step by step, and how to keep your users' data safe once real people show up.

Updated 6 November 2026Sources linked throughout
Replit's Agent building a workshop website, with the chat on the left and a live preview on the right.
The loop that ships
  1. 1DescribeOne small piece, in plain words
  2. 2ReviewAsk what changed and what could break
  3. 3TestUse it the way a user would
  4. 4SaveCommit, so you can always go back
What it is

Vibe coding means you don't read the code.

Andrej Karpathy named it in a post on 2 February 2025. He described accepting every change without reading the diffs. He also set a limit that usually gets dropped when the post is quoted: this was fine for throwaway weekend projects.

The word spread fast. Collins named it word of the year for 2025, and Merriam-Webster lists it as telling an AI what you want and letting it create the product. Today people use it for almost any building with AI, which hides an important difference.

Simon Willison draws the useful line: if you review, test and can explain the code, you're programming with an AI helper, not vibe coding. Most real projects move along that line as the stakes rise. This guide shows you when to move and what to check.

“fully give in to the vibes, embrace exponentials, and forget that the code even exists”

Andrej Karpathy, February 2025
  1. Pure vibe coding

    Reading code
    You don't read the code
    Checking it
    You run it and see
    Good for
    Prototypes, personal tools, learning
  2. Vibe coding with guardrails

    Reading code
    You read some, with AI explaining
    Checking it
    You run the tests in this guide
    Good for
    Small apps with real users and low-risk data
  3. AI-assisted programming

    Reading code
    You read all of it
    Checking it
    Code review and automated tests
    Good for
    Payments, private data, anything people depend on

Our summary of the distinction, not a formal standard.

What the evidence says

AI writes code that works long before it writes code that's safe.

These are the most useful numbers we could trace to their source. Each one has limits, and most big security numbers come from companies that sell the fix, so we say so.

  • 11.8%
    of tasks ended correct and secure

    The best agent setup in a 186-task benchmark. 57% of its solutions worked.

    Tasks were picked because human developers once shipped a flaw there, so this isn't a rate for ordinary apps.

    Zhao et al., ICML 2026
  • 56%
    average security pass rate

    AI models completing single coding tasks, barely up from 55% in the first report.

    Veracode sells security scanning. This tests isolated functions and doesn't test whole apps or login rules.

    Veracode, 2026
  • 170
    Lovable apps with exposed data endpoints

    About 10% of the 1,645 showcase projects scanned, checking homepages only.

    Scanned by Matt Palmer, who works at Replit, a competitor. The CVE is marked disputed, and Lovable says customers share responsibility.

    Palmer, 2025
  • 0
    exploitable SQL injection or XSS flaws

    Across 15 apps built by 5 agents. The same test found 69 other flaws, including broken authorization.

    Tenzai sells AI security testing, and its own agent did the finding.

    Tenzai, 2026

How often AI code avoids each flaw

  • Cryptographic algorithms87%
  • SQL injection83%
  • Cross-site scripting15%
  • Log injection12%
Average security pass rate by weakness. Veracode's 2026 report, which tests isolated functions. Veracode sells security scanning.

Working isn't the same as secure

  • Solutions that worked57%
  • Solutions that were also secure11.8%
Best agent setup across 186 tasks chosen because humans once shipped a flaw there, so this isn't a rate for ordinary apps. Zhao et al., ICML 2026.

Do developers trust AI output?

48%only if they can verify it
  • When I can easily verify the output48%
  • Many tasks, not important decisions16.3%
  • Low-risk tasks only16.3%
  • Not for most work tasks12.3%
  • Many tasks, including important decisions6.6%
Stack Overflow Developer Survey 2026, 14,304 respondents, self-selected. This surveys developers, not people new to coding.

Our reading: modern frameworks block many classic attacks by default. AI is weakest at what a framework can't decide for it: who is allowed to see and change what. Spend your checking time there.

Should you vibe code this?

It depends on what happens when it breaks.

Answer four questions for a starting point. This is a rule of thumb from the evidence above, not a formal risk assessment.

  • Go ahead and vibe code it

    Low stakes, and the worst case is rebuilding it. Keep your work in Git, and don't put secrets in it.

  • Vibe code it, with guardrails

    Follow the build steps below, and pass the whole launch check before anyone else uses it.

  • Prototype it, then get it reviewed

    AI is fine for proving the idea. Have a developer review the code before it holds real payments, health data or anything that could hurt someone.

Pick your tool

There are two kinds of tool, and they leave different work for you.

Rule of thumb, not a ranking: if you can't read code, start with an app builder. If you can, or you want to learn, use a coding agent.

App builders

They run in your browser and host the result. They're the fastest start, and they usually supply the database and login too.

Lovable's home screen with a prompt box asking what to build, and a list of the user's projects below.
An app builder starts at a prompt box. Lovable's own image, from its docs, retrieved 4 November 2026.
  • Chat-based builder and host for full-stack web apps

    Database and login
    Built in, through Lovable Cloud
    Getting your code out
    Git sync on every plan. Download needs a paid plan
    Free plan
    5 build credits a day, up to 30 a month
  • Workspace where Agent builds and publishes apps

    Database and login
    Built in. Production databases are billed
    Getting your code out
    Zip download or GitHub sync
    Free plan
    Daily Agent credits. One published app that goes down after 30 days
  • v0

    $30*

    Vercel's builder. Writes Next.js and deploys it

    Database and login
    Add through the Vercel marketplace, such as Supabase or Neon
    Getting your code out
    GitHub sync, on Free too
    Free plan
    7 messages a day, $5 one-time credit
  • Bolt

    $25

    Browser app builder with Bolt Cloud

    Database and login
    Built in, through Bolt Cloud
    Getting your code out
    GitHub sync
    Free plan
    1M tokens a month, 300K a day
  • Base44

    $16, billed yearly

    Builder that hosts the app and its backend. Owned by Wix

    Database and login
    Built in, on every plan
    Getting your code out
    Zip or GitHub from the Builder plan. Exported code still calls Base44 for data and logins
    Free plan
    25 message credits a month

Coding agents and editors

They work on files you control. You choose the stack and hosting, so all the security checks fall to you.

Claude Code asking whether to run the command npm test, with options to approve, approve permanently, or refuse.
A coding agent works in your project and can ask before acting. Anthropic's own image, from its docs, retrieved 4 November 2026.
  • Anthropic's agent, in a terminal, editor, desktop app or browser

    Database and login
    You bring your own
    Getting your code out
    Your files, from the start
    Free plan
    None
  • Cursor

    $8, introductory

    AI code editor. Third-party models start at Premium, $30

    Database and login
    You bring your own
    Getting your code out
    Your files, from the start
    Free plan
    Limited agent and chat requests
  • OpenAI's agent. CLI and IDE extension start at Plus, $20

    Database and login
    You bring your own
    Getting your code out
    Your files, from the start
    Free plan
    Desktop app, subject to rollout
  • Formerly the Windsurf editor, from Cognition

    Database and login
    You bring your own
    Getting your code out
    Your files, from the start
    Free plan
    Light agent quota, unlimited Tab
  • Antigravity

    Free first

    Google's agent tool, which replaced Gemini CLI for unpaid users

    Database and login
    You bring your own
    Getting your code out
    Your files, from the start
    Free plan
    Yes, with weekly limits

What the cheapest paid plan costs

  • Cursor$8
  • Codex$8
  • Base44$16
  • Replit$20
  • Claude Code$20
  • Devin Desktop$20
  • Lovable$25
  • Bolt$25
  • v0$30
Per month, checked on each vendor's page on 6 November 2026. Credits and limits differ a lot, so this isn't what real use will cost. Base44 is billed yearly. Cursor's price is introductory, and v0's may be promotional.

Monthly prices in USD, checked on each vendor's page on 6 November 2026. They change often. *v0's page shows $90 struck through beside $30, so $30 may be promotional. Firebase Studio closed to new users in June 2026 and shuts down on 22 March 2027, so it isn't listed.

Pick your stack

Choose boring technology.

AI writes better code for popular, well-documented tools, because it has seen them so often. It's also much easier to find help when something breaks. Pick what you're building. These are rules of thumb, not vendor claims.

Website

  1. Static HTML or Astro
  2. Netlify, Vercel or Cloudflare Pages

No database and no logins means far less can go wrong. Start here if it can do the job.

Prompt to start with
Build this as a static website with [Astro or plain HTML], with no database and no user accounts.

What it is: [describe the site and its pages]

Use as few packages as possible. Before you install any package, tell me its name and why it's needed.

App with logins

  1. Next.js
  2. Supabase for database, login and files
  3. Vercel

A very common combination with thorough docs. Row level security in Supabase is your main protection, so set it up first.

Prompt to start with
Build this with Next.js, Supabase and Vercel.

What it is: [describe the app and who uses it]

Use Supabase Auth for login. Don't write your own. Turn on row level security on every table from the start, with policies so users reach only their own rows. Keep secret keys on the server.

List every package before you install it.

App that takes payments

  1. The app stack
  2. Stripe Checkout, hosted by Stripe

With hosted Checkout, card numbers never touch your app. Your job is to set prices on the server and verify webhooks.

Prompt to start with
Add payments using hosted Stripe Checkout.

The product: [what I'm selling and the price]

Create the Checkout session on the server, using a Stripe Price ID stored on the server. Never accept a price or amount from the browser. Give access only after a webhook whose signature you've verified with constructEvent. Keep the secret key and webhook secret in environment variables.

Tool for my team

  1. An app builder, or the app stack
  2. Login required on every page

Wiz lists internal apps left public with no login among its repeat failures. Check that a stranger can't reach it.

Prompt to start with
Build this internal tool for my team.

What it does: [describe it]

Every page and every API route must require login. Only people with an email at [my company domain] may sign up. Check that on the server. Then list every route, and tell me how to confirm it can't be reached while logged out.

Mobile app

  1. Expo (React Native)
  2. Supabase

One codebase for iPhone and Android, with plenty of examples. Anything inside the app can be extracted, so secrets must stay on a server.

Prompt to start with
Build this mobile app with Expo and Supabase.

What it does: [describe it]

Treat the app itself as public: no secret keys in it, because anything shipped to a phone can be extracted. Put anything that needs a secret in a Supabase Edge Function. Turn on row level security on every table.
How to build

Eight steps from idea to a working app.

Paste each prompt into your tool, fill in the brackets and keep going. The order matters more than the wording.

  1. 1

    Get the idea out of your head

    Before any code, have the AI interview you. Vague ideas produce plausible apps that aren't what you meant. The brief you end up with is what you'll judge every result against.

    Write a one-page spec
    Prompt: write the brief
    I want to build: [one sentence]
    
    Interview me one question at a time until you understand who it's for, the one main thing they do, what data it stores, and what's out of scope for the first version.
    
    Then write a one-page brief: the users, the main journey step by step, the screens, the data, and a list of what we're NOT building yet.
  2. 2

    Give the AI standing rules

    Put your rules in a file the tool reads on every task, so you don't have to repeat them. Claude Code reads CLAUDE.md. Codex reads AGENTS.md, and Lovable follows both. Cursor has project rules. These rules prevent the most common failures, so write them before the first feature.

    Give the AI standing rules
    Paste into your rules file
    # Rules for this project
    - Real people will use this app. Security is a requirement.
    - Never put secret keys in browser code. Read them on the server from environment variables.
    - Every route that returns or changes private data must check on the server that the logged-in user is allowed to.
    - Turn on row level security on every database table, limited to the owner.
    - Validate all input on the server. Browser checks are only a convenience.
    - Take prices and amounts from the server, never from the browser.
    - Before adding a package, tell me its name and why. Use only established packages.
    - Never run destructive commands or touch production data. Ask me first.
    - Make one small change at a time. Afterwards, tell me what changed and how to test it.
  3. 3

    Set up your undo button

    Create a Git repository before you start building. A commit is a save point you can always return to, and it's what makes it safe to let an AI try things. App builders have their own version: Replit has checkpoints, for example, but its rollback leaves your database alone by default.

    Prompt: set up Git
    Set up Git for this project.
    
    Create a .gitignore that excludes .env files, keys, build output and dependencies. Make the first commit. Then explain in plain English how to save my work, and how to go back to an earlier version if something breaks.
    
    Confirm that no secret or .env file is being tracked.
  4. 4

    Build one thin slice

    Ask for one complete journey and nothing else. A request for a whole SaaS with logins, payments and a dashboard gives you an impressive pile you can't debug. A thin slice works end to end, and everything else attaches to it.

    Cut version one to one job
    Prompt: first slice
    Read the brief. Build only the smallest version of this one journey, working from start to finish:
    
    [for example: a user signs up, creates a note, and sees it in their list]
    
    Don't add other features, styling beyond the basics, or extra packages. When you finish, give me exact steps to test it myself.
  5. 5

    Make it explain every change

    You don't have to read all the code, but you do have to know what happened. Ask after every change, before you accept it. This is the habit that separates guardrails from pure vibes. A small 2026 study of students linked auto-accepting edits to understanding the code less.

    Review changes without reading code
    Prompt: review the change
    Before I accept this, tell me in plain English:
    
    1. What did you change, and in which files?
    2. What could this break?
    3. Did you add any package, change any database rule, or touch login or payments?
    4. Is there anything you assumed, or weren't sure about?
    5. How do I test this myself?
  6. 6

    Test it, then save it

    Use the app the way a user would, then the way a careless or dishonest one would. If it works, commit straight away. If it doesn't, you still have the last good version. Ask for automated tests once a journey matters, so later changes can't silently break it.

    Prompt: break it
    Here's the feature we just built: [describe it]
    
    List ways a real user could break it, by accident or on purpose. Include empty input, very long input, double clicks, going back mid-way, being logged out, and using someone else's link.
    
    Give me steps to try the top five. Then write automated tests for the ones that matter.
  7. 7

    When it's stuck, change the approach

    Paste the exact error, not "it's broken". If two attempts fail, stop asking for fixes, because each try adds more code on top of a wrong idea. Go back to your last commit, start a fresh chat, and describe the problem from scratch.

    Stop the AI fix loop
    Prompt: debug it
    This is broken.
    
    What I did: [steps]
    What I expected: [result]
    What happened: [result]
    Exact error: [paste it]
    
    Don't change any code yet. List the three most likely causes, and how to confirm each one. Add logging if you need to. Only fix it once we know the cause, and make the smallest fix you can.
  8. 8

    Keep the AI away from production

    An instruction in a chat isn't a permission. Use separate development and live databases, and don't leave live credentials where an agent can read them. Both of the deletion incidents below came down to this.

    Back up and test a restore
    Prompt: separate environments
    Separate development from production in this project.
    
    Give me a separate development database with fake data, and environment variables for each environment. Show me where production credentials live, and confirm that you can't read them from this project.
    
    Then set up automatic backups, and give me steps to restore one so I can test it.
Security

Your app can look finished and still be wide open.

None of these problems show up when you click around your own app. They show up when a stranger does. Here's what has actually gone wrong, then how to test for each failure yourself.

  1. May 2025Lovable CVE publishedmarked disputed
  2. July 2025SaaStr database deleted; Base44 flaw
  3. January 2026Moltbook exposed
  4. April 2026PocketOS deletion; Lovable public projects
Dates as reported in the sources for each case below.

What has gone wrong

  • January 2026

    Moltbook

    Wiz reports a Supabase key in the site's JavaScript with no row level security behind it, giving read and write access to the live database, including 1.5 million API tokens. The founder had said he wrote no code for it. It was fixed within hours, and Wiz reports no sign of malicious use.

    How to avoid it Row level security on every table, then test as an anonymous visitor.
  • 2025

    Lovable-built apps

    Matt Palmer reports that 170 showcase apps had weak database rules, exposing data such as emails and payment details. CVE-2025-48757 is marked disputed: Lovable says each customer shares responsibility. Palmer works at Replit.

    How to avoid it Don't assume your builder set the rules correctly. Test them.
  • July 2025

    SaaStr and Replit

    Jason Lemkin reported that Replit's agent deleted his live database during a code freeze, and wrongly said rollback wouldn't work. Replit's CEO called it unacceptable, and Replit then separated development and production databases.

    How to avoid it Separate environments. Agents don't get write access to live data.
  • April 2026

    PocketOS and Railway

    The founder said a Cursor agent on a staging task found a token in an unrelated file and deleted the live database and backups with one API call. Railway says the data was recovered, and it added a 48-hour soft delete. This is about agent permissions and isn't strictly vibe coding.

    How to avoid it Narrow, short-lived tokens, kept out of files agents read. Backups stored elsewhere.
  • April 2026

    Lovable public projects

    Lovable says chats and code on public projects were readable by any Lovable user for about 11 weeks after a backend change. A researcher claimed a wider scope. Lovable first called the visibility intentional, then apologized.

    How to avoid it Keep real keys and customer data out of your chats with a builder.
  • July 2025

    Base44

    Wiz found a platform flaw: an app's ID, visible in its URL, was enough to register on a private app. Wix, which owns Base44, fixed it within 24 hours and reported no evidence of abuse.

    How to avoid it Platform bugs aren't your fault, but they are your risk. Store less, and review new sign-ups.

"How to avoid it" is our reading of what would have helped, not a finding from the sources. Companies named here responded as described, and several disputed parts of these accounts.

Test it yourself

Seven failures to test for yourself

Only run these tests on apps you own. For each one, the fix is written so you can paste it into your tool.

  1. 1

    A secret key in the browser

    To make a paid API work quickly, AI often calls it straight from browser code with the key included. Anyone can read that key, then run up your bill or reach your data.

    Test it yourself

    Open your live site in a private window. Press F12, open Sources or Network, and search for sk_, secret, service_role and the name of your AI provider. In Next.js, anything named NEXT_PUBLIC_ is sent to the browser.

    If a key was ever exposed, replace it at the provider. Deleting it from the code isn't enough. Also add a login check and a rate limit to this route, or anyone can run up your bill through it.

    Never put secrets in the frontend
    Wrong: runs in the browser
    const res = await fetch("https://api.example.com/v1/summarize", {
      headers: {
        Authorization: `Bearer ${process.env.NEXT_PUBLIC_AI_KEY}`,
      },
    });
    Right: your server holds the key
    // app/api/summarize/route.ts runs only on the server
    export async function POST(req: Request) {
      const { text } = await req.json();
      const res = await fetch("https://api.example.com/v1/summarize", {
        method: "POST",
        headers: {
          Authorization: `Bearer ${process.env.AI_API_KEY}`,
          "Content-Type": "application/json",
        },
        body: JSON.stringify({ text }),
      });
      return Response.json(await res.json());
    }
  2. 2

    A database with no rules

    Supabase and Firebase apps talk to the database from the browser. That's safe only if rules decide who can read what. Supabase's public key is meant to be visible, so without row level security it opens your data to anyone. Firebase says open rules let anyone who guesses the project ID steal, change or delete data.

    Test it yourself

    Run this with your project's public key, logged out. You should get an empty list or a permission error. If you see real rows, your data is public. Also open Supabase's security advisor, and fix anything it flags.

    Turning row level security on with no policies blocks everything, so add policies as above. A policy that only says using (true) lets everyone through, so it's no protection.

    Lock down the database
    Test it, replacing the placeholders
    curl "https://YOUR-PROJECT.supabase.co/rest/v1/notes?select=*" \
      -H "apikey: YOUR_PUBLISHABLE_KEY"
    Fix: users reach only their own rows
    alter table public.notes enable row level security;
    
    create policy "Users read their own notes"
    on public.notes for select to authenticated
    using ((select auth.uid()) = user_id);
    
    create policy "Users add their own notes"
    on public.notes for insert to authenticated
    with check ((select auth.uid()) = user_id);
  3. 3

    A login screen that protects nothing

    Logging in proves who someone is. It doesn't decide what they may see. AI often gets the login right and forgets the check on each record, so any logged-in user can read anyone's data. It's number one on the OWASP Top 10, as Broken Access Control.

    Test it yourself

    Create two accounts. As A, open one of your records and copy its URL. In a private window, log in as B and paste that URL. Do the same with API calls from the Network tab. B should get an error every time. Then log out and try again.

    Add login early, and do it right
    Prompt to fix it
    Audit every page and API route in this app. For each one that returns or changes data, show me where the server checks that the logged-in user is allowed to reach that specific record. Give me a table of route, what it does, and the check. Mark any route with no check, then fix those. Don't rely on checks in browser code.
  4. 4

    Trusting what the browser sends

    Anything in the browser can be changed, including prices, roles, and hidden form fields. A check in the browser is only a convenience for honest users.

    Test it yourself

    In the Network tab, find a request that sends a price, a user ID or a role. Right-click it and copy it as cURL or fetch, change the value, and send it again. The server should refuse or ignore the change.

    Check that plan is one of the allowed values before you use it. Validate every other input on the server the same way, with limits on length and file size.

    Take payments with Stripe safely
    Right: the server decides the price
    const PRICE_IDS = { basic: "price_123", pro: "price_456" };
    
    const session = await stripe.checkout.sessions.create({
      mode: "payment",
      line_items: [{ price: PRICE_IDS[plan], quantity: 1 }],
      success_url: `${SITE_URL}/thanks`,
      cancel_url: `${SITE_URL}/pricing`,
    });
  5. 5

    Payment webhooks anyone can fake

    Stripe tells your app about payments through a webhook, which is a public URL. Stripe warns that without signature checks, an attacker could send fake events to trigger order fulfillment or account access.

    Test it yourself

    Send your webhook URL a POST request with made-up JSON, using curl. It must reject the request. If your app gives access or marks an order paid, anyone can get your product for free.

    Right: verify the signature first
    export async function POST(req: Request) {
      const body = await req.text(); // must be the raw body
      const signature = req.headers.get("stripe-signature")!;
      let event;
      try {
        event = stripe.webhooks.constructEvent(
          body, signature, process.env.STRIPE_WEBHOOK_SECRET!
        );
      } catch {
        return new Response("Bad signature", { status: 400 });
      }
      // Only now act on the event, then tell Stripe it arrived
      return new Response("ok");
    }
  6. 6

    Packages that don't exist, or shouldn't

    AI sometimes invents package names. A USENIX 2025 study of 576,000 samples, on older models, found at least 5.2% of packages invented on commercial models and 21.7% on open-source ones. Many invented names recur, so an attacker can register one. One researcher uploaded an empty package under an invented name, and reported over 30,000 downloads in three months. It's a demonstrated risk, often called slopsquatting.

    Test it yourself

    Before installing anything unfamiliar, look it up. Check that it's old enough, is widely used, and links to a real repository. 0 finds known problems in what you've installed, but it won't catch a brand-new malicious package.

    Check a package before installing it
    npm view PACKAGE-NAME time.created repository.url
    npm audit
  7. 7

    An agent with too much power

    An agent can act on anything its credentials allow, whatever you told it in chat. That's how a token created for one narrow job ended up deleting a database. The same applies to anything it reads, since instructions hidden in a web page or a package can try to steer it.

    Test it yourself

    List every credential your agent could read, including .env files, config folders, and tokens in your shell. For each one, ask: what's the worst thing it allows? If the answer is deleting production, it shouldn't be there.

    Prompt to fix it
    List every credential, token and environment variable this project and this tool can reach, including files outside the code. For each one, tell me what it allows and whether it can touch production. Suggest how to replace any broad token with one limited to the job it does. Don't print any secret values.
Launch check

Before anyone else uses your app, pass all of these.

Tick them off as you go. Your progress stays in this browser. When you're done checking, copy what's left as a prompt and paste it into your tool.

Secrets
Login and permissions
Data
Input and payments
Abuse and cost
Code and launch
Full audit prompt
Act as a security reviewer for this app, which real people will use.

Check each of these and report PASS, FAIL or UNSURE, with the file and line:
1. Secret keys in browser code or in Git history
2. Pages and API routes with no server-side login check
3. Routes that don't check the user is allowed to reach that specific record
4. Database tables with row level security off, or policies that allow everyone
5. Storage buckets that are public
6. Input trusted from the browser, including prices, roles and user IDs
7. Webhooks that don't verify a signature
8. Routes with no rate limit that cost money or send email
9. Packages that look unfamiliar or unnecessary
10. Debug settings or error messages that reveal internal details

Don't change anything yet. List the failures, worst first, with the exact test I can run to confirm each one. Mark anything you can't determine from the code as UNSURE. Don't guess.

An AI audit finds some problems and misses others, and one study found that security hints alone didn't make agents' code more secure. Use it along with the tests above, not instead of them. Passing this list doesn't make an app secure. If you hold payments, health data or anything sensitive, pay a professional to test it.

After launch

Launching is where the upkeep starts.

Launch week

  • Put production keys in your host's environment settings, not in files
  • Add a custom domain, and check that HTTPS works
  • Add error tracking, so you hear about failures before your users tell you
  • Set a spending alert on every paid service
  • Do a full test on the live site as a new user
The go-live check

Every month

  • Run npm audit, and apply updates in small batches
  • Restore a backup, to prove it works
  • Keep a short README explaining how the app works, so a fresh AI session can pick it up
  • Rerun the launch check after any big change, especially to login or data
  • Delete data and accounts you no longer need
Update dependencies safely

When to bring in a developer

  • You're taking real payments, or holding health or ID data
  • Each new feature breaks something else
  • The AI keeps failing on the same problem
  • You can't explain how login or your data rules work
  • A customer asks about security, and you can't answer
Go deeper

A full page on every question.

Each lesson has techniques with prompts you can copy, ways to test them, and sources.

  1. 01

    Foundations

    Learn what vibe coding means, when it works and fails, what changes from traditional coding, and how to stay in control.

  2. 02

    Planning

    Write a brief, plan your data, cut version one down, and make the AI plan before it codes.

  3. 03

    Tooling & stack

    Choose a tool and tech stack, and set up Git, previews and tests before you build much.

  4. 04

    Building

    Build in small slices, set rules the AI follows, review changes you can't read, and know when to start fresh.

  5. 05

    Security

    Keep keys out of the browser, add login and database rules, fix insecure defaults, and run checks before launch.

  6. 06

    Shipping

    Deploy and add a domain, fix what breaks only when live, take payments safely, and check the launch.

  7. 07

    Maintenance

    Fix bugs with the real error, stop fixes from breaking other things, update dependencies safely, and prove your backups restore.

Check yourself

How much do you know about vibe coding?

Ten situations from building an app with AI, from choosing a tool to restoring a backup. Each answer appears as soon as you pick, with a link to the lesson behind it. No sign-up.

Take the quiz
Frequently asked
What is vibe coding?

Vibe coding is building software by telling an AI what you want and checking the result by running it, without reading the code. Andrej Karpathy coined the term in February 2025. People now often use it for any AI-assisted building, but the original meaning is that you don't review the code.

Can I vibe code with no programming experience?

Yes, for prototypes, personal tools and simple sites. An app builder such as Lovable or Replit is the easiest start. Once real people use your app, you need to learn enough to run the tests in this guide: you don't have to write code, but you do have to know what to check.

Is vibe coding safe?

It's safe for low-stakes projects and risky by default for anything holding other people's data. Research shows AI often writes code that works and isn't secure, and real apps have leaked data through missing database rules. Run the launch check before anyone else uses your app, and get a professional review if you handle payments or sensitive data.

What's the best vibe coding tool?

There's no single best one. If you can't read code, start with an app builder, which handles hosting, database and login. If you can read code or want to learn, use a coding agent such as Claude Code, Cursor or Codex, which works on files you control. Check how you'd get your code out before you commit, since this varies.

Does vibe coding actually make you faster?

For a new project, it can get a working first version very quickly. The evidence is thin past that. METR's trial, which found experienced developers 19% slower with AI, studied people working in large codebases they already knew, so it doesn't apply to a beginner starting fresh, and METR now calls those results out of date. No strong study yet measures non-programmers building apps.

How much does vibe coding cost?

You can start free, since most tools have a free tier. Paid plans mostly start at $20 to $30 a month, and heavy building uses up credits quickly. Add hosting, a database and any paid APIs once you launch, and set a spending cap on each one. Prices change often, so check each vendor's page.

Who owns the code I vibe code?

That depends on each tool's terms, so read them for the one you use. In practice, the bigger question is whether you can leave. Coding agents work on your own files. Most app builders offer GitHub sync or export, though it's sometimes limited to paid plans, and Base44 says its exported code still depends on its backend.

When should I stop vibe coding and hire a developer?

Bring one in before you take real payments or hold health or ID data, when each new feature breaks something else, or when you can't explain how your login and data rules work. A review of what you've built costs far less than cleaning up a leak, and a working prototype makes that conversation much easier.

Sources

Sources and how we read them

We opened these pages on 6 November 2026. Most large security numbers come from vendors that sell security products, and we name them where it matters. We left out figures we couldn't trace to an original, such as widely repeated claims that 20% of vibe-coded apps are vulnerable. Wiz's post says that about organizations, and gives no sample.