Most vibe-coded websites can be hacked in under an hour: 8 Claude Code prompts to fix yours
TawohAwa · x · 2026-12-03
Developer @TawohAwa warns that most vibe-coded websites can be compromised in under an hour, with common flaws like open admin pages, plaintext passwords, and API keys exposed on GitHub. He shares 8 prompts you can paste into Claude Code:
- Lock admin pages: check that every admin route and API endpoint verifies the user server-side, not just via a hidden browser button.
- Purge secrets: scan the repo and full git history for API keys, passwords and .env files, remove them from history, and regenerate leaked keys.
- Password storage: hash passwords with bcrypt/argon2, move tokens from localStorage to httpOnly cookies, require email verification.
- Stop database attacks: convert string-built SQL to parameterized queries; enable row-level security on Supabase tables.
- Clean every input: server-side validation for all forms, API inputs and uploads; block scripts; verify webhook signatures from Stripe.
- Rate-limit everything: add limits to login, signup, password reset and public API routes; lock accounts after 10 failed attempts.
- Turn off debug mode: disable debug pages in production, strip passwords/tokens/emails from logs, set secure CORS and headers.
- Run a full audit: update vulnerable dependencies and run Anthropic's Security Review skill, fixing and risk-ranking everything it flags.
More from coding & agent
- Hugging Face Transformers now runs llama.cpp GGUF quants via familiar from_pretrained API — ariG23498 · 2026-12-03
- Free 'AI Engineering from Scratch' Course Turns Claude Code Into Your Personal Tutor — ghumare64 · 2026-12-03
- Vibe-coded sites hackable in under an hour: this Claude Code prompt audits your admin routes — TawohAwa · 2026-12-03
- "The best agent-focused language is mathematics" — vtabbott_ · 2026-12-03
- Dev writes a Claude skill that interrogates him with 50 questions to map out requirements — Aryvyo · 2026-12-03
- usb-rea: open-source USB reverse engineering that auto-generates pyusb drivers for Linux — mathemagie · 2026-12-03