Securing your vibe-coded app - recommendations?
What's the process to secure a vibe-coded app to make sure you haven't done anything silly like left your API tokens exposed in the browser or accessible via the DevTools console? Or to prevent cross site scripting attacks, or ensure forms only accept sanitized inputs that can't be used to manipulate the database. Or that your user authentication is safe and secure and no one is going to be able to login to someone else's account.
Do you hire an actual programmer or are there tools that can do it and get you to a pretty good state?
21 views

Replies
Good question!
Previously, my top security concern was primarily user data. But now that (we have vibecoding) we can work on multiple tasks simultaneously when deploying software, my approach is to run OWASP tests using the most intelligent model available for the website, and to do so regularly due to all the changes a website undergoes.
Some of the things OWASP reviews include:
Reviewing code for security vulnerabilities
Authentication or authorization: Like if a a user can impersonate you to access sensitive data
Handling user input or external data
Working with cryptography or password storage: Although in this case, I haven't stored passwords for many years, I always use third-party sign-in like with Google or Apple
StreamAlive - Interactive PPT slides
@marcelo_earth Thanks for the advice! I researched OWASP some more as I hadn't heard of it before. I then generated the prompt below which I gave to Claude, which found a few issues like missing content-security-policy, strict-transport-security, x-frame-options, x-content-type-options, and referrer-policy.
exposed api keys are the ultimate vibe killer lol, a dedicated ai security scanner for mvps would save so much anxiety