AI Automation 12 min read

Vibe-Coded App Security Checklist: 15 Checks, the Tools That Catch Them, and When to Get an Audit

The must-do checks before a vibe-coded app collects user data, which free tools catch which problems, and what a vibe-coded app audit covers.

Octacer Team

October 22, 2026

LinkedIn Post on X

Launching soon? Get a second pair of eyes first.

Get my app reviewed
Octacer engineer at a late-night desk in an empty office reviewing a vibe-coded app on an ultrawide monitor, with a Supabase row level security warning in the code editor and a launch security checklist beside it.

Before you collect a single email address or payment, five things must be true. If you are not an engineer, check these first. Each one is explained in the checklist below.

  1. A stranger can't read your data. Log out, open your app in a private window, and try to load other people's records. (Checks 1 to 3)
  2. No secret key is in the browser. Search your live site's JavaScript for service_role, sk_ and secret. (Check 5)
  3. User B can't see or change user A's records. Make two test accounts and try it. (Check 3)
  4. Sign-up can't create an admin. (Checks 8 and 9)
  5. You have a backup you have actually restored once. (Check 15)

If any of these fail, or you can't tell, don't launch yet. Run the free tools below, or book a free 20-minute app security triage and we'll tell you where you stand and what to fix first.

Key takeaways

  • Broken access control is the number one risk in the OWASP Top 10, and it is the most common gap in fast-built apps.
  • If you use Supabase or a similar backend, row level security policies are your real permission system. Test them as an anonymous user and as a second user.
  • Secret keys never belong in frontend code, environment files committed to git, or the AI tool's chat history.
  • Research shows people using AI code assistants can write less secure code while feeling more confident about it. Plan for review.

What changed in November 2026

  • AI tools can be tricked through their own instruction files. On November 3, 2026, Check Point Research described "prompt adware": a jailbreak bundle for OpenAI Codex that quietly edits the agent's trusted instruction files so it inserts adverts in later sessions (Check Point). Treat instruction and rules files in your repository like code: review every change to them.
  • Prompt injection can spread between agents. Datadog published research on agents copying a malicious instruction into content that other agents later read (Datadog). If your app has an AI feature that reads user text and can call tools, limit those tools and require approval for anything that sends, edits or deletes.

Why vibe-coded apps need their own checklist

"Vibe coding" usually means describing what you want to an AI tool and accepting most of what it writes. It is a fast way to get a working product. The risk is that "working" and "safe" are different tests, and the AI optimizes for the first one unless you ask for the second.

The research is consistent on this. A 2021 study of GitHub Copilot found that roughly 40% of the programs it generated in security-relevant scenarios were vulnerable (Pearce et al., Asleep at the Keyboard). A Stanford user study found that participants with an AI assistant wrote significantly less secure code than those without one, and were more likely to believe their code was secure (Perry et al., 2022). Models have improved since, but the second finding, overconfidence, is the one to design around.

A real example: in 2025 a CVE was published describing insufficient row level security policies in apps generated with Lovable that could let unauthenticated users read or write database tables. The vendor disputed it, stating that each customer is responsible for protecting their own app's data (NVD, CVE-2025-48757). Whoever is right about responsibility, the practical lesson is the same: you own your app's access rules.

The 15-point checklist

Access control (the big one)

1. List every table and who should read and write it. Make a simple table: data, owner, who can read, who can write. If you cannot fill it in, the AI could not either.

2. Turn on row level security for every table exposed to the client. In Supabase, RLS policies decide which rows each user can access, and tables without RLS in an exposed schema can be reachable with the public key (Supabase, Row Level Security). Check that every table has RLS enabled and a policy that matches your list from check 1.

3. Test as a stranger and as another user. Log out and try to load data. Then log in as user B and try to read or change user A's records by changing IDs in requests. This catches the most common failure in the OWASP Top 10, broken access control (OWASP Top 10:2025, A01).

4. Enforce permissions on the server, not by hiding buttons. If the admin page is hidden in the UI but the API allows the action, it is not protected. OWASP's guidance is to deny by default and check authorization on every request (OWASP Authorization Cheat Sheet).

Secrets and keys

5. Search the frontend bundle for secrets. Open your deployed site, view the loaded JavaScript, and search for "sk_", "secret", "service_role", and your provider names. Supabase's documentation is direct about this: the secret key bypasses row level security and must never leave your control, while the publishable key is designed to be public (Supabase, API keys). The same logic applies to AI provider keys. We wrote a dedicated playbook on containing client-side AI provider keys.

6. Check git history, not just current files. A key deleted from code is still in history. Turn on secret scanning in your repository host (GitHub, About secret scanning) and rotate any key that was ever committed.

7. Store secrets in your hosting platform's secret manager and give each key the least access it needs (OWASP Secrets Management Cheat Sheet). Avoid pasting production keys into AI chat sessions.

Authentication

8. Use your platform's built-in auth, not a custom one the AI wrote. Check that email verification, password reset, and session expiry work as you expect. Make sure sign-up cannot be used to create admin accounts.

9. Protect admin and internal tools separately. Require a role check on the server and, where possible, multi-factor authentication for admin users.

Inputs and outputs

10. Validate every input on the server. Types, lengths, allowed values, file types and sizes for uploads. Client-side validation is for user experience only.

11. Check for injection and unsafe rendering. Use parameterized queries or your ORM, and avoid rendering user content as raw HTML. If your app passes user text to an AI model that can take actions, read our AI security playbook on prompt injection.

12. Do not leak details in errors. Stack traces, SQL errors and internal IDs in error messages help attackers. Log them on the server, show a plain message to users.

Dependencies, operations and recovery

13. Turn on dependency alerts and review what the AI installed. AI tools sometimes add packages you do not need. Remove unused ones and enable alerts for known vulnerabilities (GitHub, About Dependabot alerts). Supply chain failures are now their own category in the OWASP Top 10:2025.

14. Log security-relevant events and set one alert. Sign-ins, failed sign-ins, permission errors, admin actions. At minimum, get alerted on spikes in errors or permission denials.

15. Back up the database and test a restore. Confirm backups are on, know how far back they go, and restore once into a test project. A backup you have never restored is a guess.

The best vibe coding security tools, and what each one actually catches

No single tool covers the checklist. Most are free for a small app. This table only lists what each vendor's own documentation says the tool does (checked November 11, 2026).

Tool What it checks Checklist items Cost and catch
Supabase Security Advisor Built-in database checks, including public tables with row level security turned off, policies that are always true, sensitive columns exposed without RLS, and views that bypass RLS. Also runs from the CLI (supabase db advisors). 1, 2, 4 Included in Supabase. Checks the database only, not your app code.
Lovable security scans Quick scan runs on every publish: database access rules, npm dependency audit, exposed MCP server. Deep scan reviews app code for access control, unauthenticated endpoints, injection, leaked secrets, payments and auth flaws. 1 to 5, 8, 10, 11, 13 Running scans is free, per Lovable. Lovable says the scans cannot guarantee complete security and suggests a professional review for sensitive data. Lovable apps only.
GitHub secret scanning Scans your whole git history, on all branches, for API keys, passwords and tokens. 5, 6 Free and automatic for public repositories. Private organization repos need GitHub Secret Protection (paid).
Gitleaks Open-source tool that detects secrets in git repos and files. Runs as a pre-commit hook or a GitHub Action. 5, 6 Free. You run it yourself.
TruffleHog Open-source scanner that finds leaked credentials and classifies over 800 secret types. 5, 6 Free open-source version (AGPL-3.0).
npm audit Checks your installed packages against known vulnerability advisories. npm audit fix applies compatible upgrades. 13 Free, built into npm. Needs a package-lock file. Known issues only.
GitHub Dependabot alerts Alerts when a dependency in your repo has a known vulnerability. 13 Available on GitHub repositories.
Semgrep Community Edition Open-source static analysis for 30+ languages that searches code for bugs and insecure patterns. 10, 11 Free. Semgrep's own README says the Community Edition will miss many true positives in security use, because it only analyzes within one function or file.
OWASP ZAP baseline scan Crawls your live site for about a minute and passively reports issues such as missing security headers and cookie flags. It doesn't attack the site. 12 (partly) Free. Runs in Docker. Passive only, so it won't find broken access control.

What no tool here does for you: decide who should see which data (check 1), or prove that user B can't reach user A's records through your real app (check 3). That needs a person who reads your schema and tries it. That gap is what an audit is for.

Not sure which of these apply to your stack? Book a free 20-minute triage

How to run the checklist without a security team

  • Ask the AI to review its own work, but specifically. "Review this app for security" gets vague answers. "List every table, its RLS policy, and show me a request that would let user B read user A's data" gets useful ones.
  • Use a review gate for every change. Fast builders ship many small changes, and each one can reopen a hole. Our pre-merge review gate for vibe-coded changes shows a lightweight way to do this.
  • Get a second pair of eyes before launch if you store personal, payment or health data. An outside review of access control and secrets takes days, not months.

Vibe-coded app audit: what we check, what you get, how long it takes

If you'd rather have an engineer run the checklist for you, this is how we do it.

Step 1. Free 20-minute triage call. You show us the app and the stack (for example Lovable, Bolt, Cursor, Supabase or Firebase). We tell you whether an audit is worth it, or which free tools above to run first. You leave with a decision either way.

Step 2. The audit. What we check, mapped to the checklist:

  • Access control: every exposed table and its policy, tested as a logged-out stranger and as a second user (checks 1 to 4)
  • Secrets: the live JavaScript bundle and git history, for keys that bypass your rules (checks 5 to 7)
  • Auth and admin: sign-up, password reset, sessions and admin routes (checks 8 and 9)
  • Inputs and errors: server-side validation, injection, and error messages that leak details (checks 10 to 12)
  • Dependencies, logging and backups, including a restore test (checks 13 to 15)

What you get:

  • Findings: what is exposed today, with the evidence.
  • Risk list: what else is likely to break next, ranked by impact.
  • Repair options: the smallest safe fix and the proper fix, with trade-offs.
  • Fixed quote for the repairs, if you want us to do them. The findings are yours either way.

Timeline: written findings in 1 to 2 business days after access is agreed.

Price: agreed on the triage call, based on the size of the app.

Book your free 20-minute app security triage

Recent System Rescue work. These are not security audits. They show the same trace-every-link method we use when we audit an app:

  • Silent WhatsApp alerts traced across four platforms. One engineer, two days: 599 of 612 calls confirmed connected, 141 messages found stuck in the queue, root cause found and the flow restored.
  • An n8n back office that kept going offline, stabilized and still supported. Outages traced to the managed plan's memory ceiling, with an alert on every critical step. Read the case study.

More on System Rescue. Want the app taken further than an audit? See Prototype to Production.

FAQ

What are the must-do security checks for a non-engineer before collecting user data?

Five: a stranger can't read your data, no secret key is in the browser, user B can't reach user A's records, sign-up can't create an admin, and you have a backup you've restored once. They map to checks 1 to 5, 8, 9 and 15 above.

What is a vibe-coded app audit?

A review of an AI-built app against the risks above: access rules, exposed keys, auth, inputs, dependencies and backups. Ours ends with written findings, a ranked risk list, repair options and a fixed quote for the fixes.

Is vibe-coded software insecure by default?

Not by definition, but it is unreviewed by default. Studies have found AI-generated code often contains vulnerabilities and that users tend to overtrust it. A checklist and review close most of the gap.

What is the most common security problem in apps built with AI tools?

Access control: missing or overly broad database policies and APIs that do not check who is asking. That matches the OWASP Top 10, where broken access control is first.

Is the Supabase anon or publishable key a secret?

No. It is designed to be public and relies on row level security to protect data. The secret or service role key is the one that must never reach the browser.

Do I need a penetration test before launch?

For a simple app with no sensitive data, this checklist plus a peer review is a reasonable start. If you handle payments, health data or other people's personal data at scale, get a professional review.

Can a prompt injection change what my AI coding tool does later?

Yes. Check Point's November 2026 research showed a bundle that edits an agent's instruction files so the change persists into later sessions. Review changes to those files and only install prompts, rules or skills from sources you trust.

Can I ask the AI tool to fix security issues for me?

Yes, and it often can, but verify each fix with the tests in checks 3 and 5. Treat the AI's "this is secure" as a claim to test, not a result.

Sources

  • Check Point Research, Prompt Adware (November 3, 2026): https://blog.checkpoint.com/security/prompt-adware-how-hidden-ai-instructions-could-create-a-new-enterprise-security-risk/
  • Datadog, Detect when your AI agent copies a self-replicating prompt injection (October 29, 2026): https://www.datadoghq.com/blog/detect-when-your-ai-agent-copies-a-self-replicating-prompt-injection/
  • Pearce, H. et al. (2021). Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributions: https://arxiv.org/abs/2108.09293
  • Perry, N. et al. (2022). Do Users Write More Insecure Code with AI Assistants?: https://arxiv.org/abs/2211.03622
  • NVD, CVE-2025-48757: https://nvd.nist.gov/vuln/detail/CVE-2025-48757
  • OWASP Top 10:2025: https://owasp.org/Top10/2025/
  • OWASP Top 10:2025, A01 Broken Access Control: https://owasp.org/Top10/2025/A01_2025-Broken_Access_Control/
  • OWASP Authorization Cheat Sheet: https://cheatsheetseries.owasp.org/cheatsheets/Authorization_Cheat_Sheet.html
  • OWASP Secrets Management Cheat Sheet: https://cheatsheetseries.owasp.org/cheatsheets/Secrets_Management_Cheat_Sheet.html
  • Supabase, Row Level Security: https://supabase.com/docs/guides/database/postgres/row-level-security
  • Supabase, Understanding API keys: https://supabase.com/docs/guides/api/api-keys
  • GitHub Docs, About secret scanning: https://docs.github.com/en/code-security/secret-scanning/introduction/about-secret-scanning
  • Supabase, Advisors: https://supabase.com/docs/guides/database/database-advisors
  • Lovable, Security overview: https://docs.lovable.dev/features/security
  • GitHub Docs, About Dependabot alerts: https://docs.github.com/en/code-security/dependabot/dependabot-alerts/about-dependabot-alerts
Topics #vibe coding security #vibe-coded app #AI generated code security #Lovable security #Supabase row level security #app security checklist #secure AI code #launch checklist

Found this useful? Share it with your team.

LinkedIn Post on X

Written by

Octacer Team

Octacer

Written from real client builds at Octacer: the systems, the trade-offs, and what we would do again.

Get new posts by email

Practical automation and engineering notes. No spam.

From reading to running

Ready to put this to work?

Let's discuss how to apply these ideas to your own work, a short call covers what's holding you up and the first thing worth building.