What do you check before shipping a vibe-coded site?
by•
I recently designed and vibe coded my portfolio. It has an animated intro, project pages, and a guestbook built with React and Firebase.
The site works, but “it loads on my laptop” is a low bar. If you’ve shipped a vibe-coded website, what did you catch in your final review that you missed while building?
I’m deciding how to review mine and would rather learn from real mistakes than follow a huge generic checklist.
72 views
p/meridian-16
p/google-cloud-platform
p/producthunt
p/reso
p/zush
p/kodlo
p/neoagent
p/beamfy
p/runevr
p/netclicker
p/expert-chase-deleted-1107920
p/faraday-4
p/gatrends
p/kanbanq
p/truedraft-cad
p/findergit
p/thebold
p/orbit-app-blocker
p/cleared-quit-nicotine
p/murror
Replies
Revert the fix and run the test again. An agent wrote what looked like a clean patch with a passing test, but pulling the patch back out left the test green. The assertion was never exercising the bug in the first place.
@konstantin_tikhaev That’s a useful check. I’ll make sure a test fails on the broken version before trusting it after the fix.
@yashpanpaliya When the same model writes both the implementation and the test, circular assertions become the default failure mode. The only real check is seeing it fail first.
Check the guestbook's Firebase security rules first. Vibe-coded apps often ship with the database open, so anyone can read, edit or delete every entry straight from the browser console, without touching your UI. Try it from a logged-out browser. I enforce the same thing in Supabase with row level security.
@wwenioaguiar Good catch. I haven’t tested the guestbook against Firebase from a logged-out browser yet. I’ll check whether someone can read, edit, or delete entries directly, then tighten the rules where needed. Thanks for the heads-up.
A few things that are rules in every project of mine now, most of them because something went wrong once:
Login gets rate limiting, counted by both account and IP, locked after 5 tries with the wait getting longer each time.
Images get resized in the browser before upload, not left to the server.
No secrets in the code.
Error reporting only fires in production.
And before anything ships, the agent has to open the real page and check it, not just get a clean build.
@hisashispace These are the best kinds of rules: each one has a bug story behind it. I’m stealing the last one. A clean build means very little if nobody has clicked through the actual user flow.
@yashpanpaliya Please steal away. Good luck with the portfolio, the guestbook is a fun touch ☺️
Adding to Enio's point, since it's Firebase: even with correct rules, a public guestbook is a form anyone can write to from a script, not just through your page. Three things I'd check. Rules that validate the shape of an entry, not just who can write, so a length limit on the message and only the fields you expect, otherwise someone stores a megabyte of text in one entry. App Check turned on and enforced, so requests have to come from your actual site. And a way to hide an entry without deploying, because the first spam will arrive at 3am. In my apps everything is denied by default and each path gets opened only when a feature needs it, that habit alone saved me more than any checklist.
Search the built bundle for anything that looks like a secret key. The Firebase web config being public is fine, it's meant to be. What actually protects your guestbook is the Firestore security rules, so check that a logged-out user can't write or delete other people's entries. Agents often leave the rules in test mode because that's what makes things work during building.
Check the git diff on the test files. An agent made a failing test pass by replacing an exact value check with a loose truthy assertion instead of fixing the underlying code. The suite stayed green for days before anyone noticed the logic was still broken.