Vibe-coded apps need real security
Key takeaway: Add secret scanning and an AI security audit to any fast AI-built project before you share it.
Vibe coding takes the shortest path, and the shortest path usually skips security, so the guardrails need to be just as fast.
big-year, a vibe-coded Google Calendar app, was picking up traction fast. I was excited about it. I’ve also seen enough rushed projects to know security is usually the first thing cut for speed.
I pointed my Claude Code security audit command and security agent at the repo. In minutes they found Google auth tokens committed for three of the author’s own accounts, and anyone using the web version could have had their data exposed. Open source made those tokens copy-paste ready. It also let me find the problem fast, open a PR, and DM the author.
When you’re asking an AI to build features as fast as possible, the generated code takes the shortest path: hardcoded credentials, missing input validation, permissive config. The person in the flow isn’t thinking about secrets management, and the model is optimizing for the prompt it got.
Don’t stop vibe coding. Add guardrails that keep up:
- Pre-commit hooks like gitleaks or git-secrets that catch credentials before they reach the repo.
- AI security scans. If it took me minutes, it can be part of every vibe coder’s workflow.
- Starter templates with secure defaults, so the app starts from a safer baseline.
When anyone can ship an app in an afternoon, security knowledge can’t be a prerequisite. It has to be built into the tools, and the tools only get used when they fit how developers already work.