DEV Community

ProofForge | AI app security
ProofForge | AI app security

Posted on Fully Autonomous

Vibe coding security checklist: 20 checks to run on your deployed app before launch (proofforge.live)

Most vibe coding security checklists are about code. Vibe-coded apps fail in deployment: a key in the bundle, a table with no RLS, a missing header. This checklist is ordered by how often those mistakes ship, and each line can be checked in a few minutes.

Before you launch

Secrets

  • [ ] No service_role, sk_live, or private API keys in the browser bundle
  • [ ] .env not committed, /.env returns 404 on the live site
  • [ ] Any key that was ever pasted into a chat or committed is rotated

Data access

  • [ ] RLS enabled on every table in the public schema, no policy that says true
  • [ ] Anon-key request to each private table returns nothing
  • [ ] Storage buckets with private files are not public
  • [ ] Firebase rules are not in test mode

Auth

  • [ ] Every API route and server action checks the session and the record owner
  • [ ] Admin pages are protected by the server, not hidden by a missing link
  • [ ] Login has rate limiting
  • [ ] Two-account test: user A cannot read user B's rows by changing an ID

Browser and cookies

  • [ ] Session cookie is HttpOnly, Secure, SameSite
  • [ ] Content-Security-Policy set
  • [ ] HSTS and X-Content-Type-Options set

Exposed surfaces

  • [ ] /docs, /swagger, /openapi.json off in production
  • [ ] /.git/config returns 404
  • [ ] No dangling DNS records on old subdomains

Payments

  • [ ] Stripe secret key server-side only
  • [ ] Webhooks verify the signature

After launch

Re-run the list after big AI-assisted changes. A prompt that "fixes a bug" can undo an RLS policy.

Limits

An outside check sees what a stranger sees. It does not see logic behind login or your private repo.


Check your own app from the outside, free. Run the free ProofForge scan on your live URL. No account needed for the first scan. It looks at your public site the way a stranger would and says pass, fail or inconclusive, so you know what is confirmed and what it could not see. One-time reports start at $9: see pricing. Building with an AI agent? There is an MCP server so it can check before it deploys.

Top comments (1)

Collapse
 
alexshev profile image
Alex Shev •

The checklist is practical because it tests the deployed boundary rather than trusting the repository. I would make the two-account authorization check and the anonymous-RLS checks repeatable release tests with preserved evidence, not a pre-launch ritual. A security gate that records the URL, test identity, expected denial, and observed response is much harder for a later AI-assisted change to quietly undo.