r/webdevelopment • u/mxrkkkkkkkkkk • 8d ago
Newbie Question How can I make my Vibe coded website secure
I've been learning about building full-stack e-commerce websites with Backend database admin panel.. through out the process I've been adding new tools like Fast2SMS/Resend(for sms services), Aws ses(for Authentication, forget password type emails), Stitch(for web design), Ai studio(for code) and Supabase for Backend and database.
I never give Ai my api keys all those keys(aws ses, Fast2SMS) i added using supabase and i secure supabase with Row Level Security.. other than that I put 30 second timer on OTP send button
This is enough? Or I need to secure anything else?
3
u/jboogyoogy 8d ago
It’s a good start, but not enough
You also need to check server side validation, rate limiting on otp and login attempts also secure admin access, input sanitisation and protection against sql injection and xss
Hope didn’t forget anything
For sure run a security audit before going live
4
u/ajamdonut 8d ago
vibe secure it
4
u/dragonfighter8 8d ago
It's vibe coded, so it can't be secure and you'll never be sure it'll. This is why good projects are written without AI usage after knowing exactly how to handle everything. Please do not host customers or visitors data or your data because it'll contain for sure some vulnerabilities.
1
u/Odd_Cow7028 8d ago
Hire someone to pen test it. Then you'll know.
1
u/Bitmush- 8d ago
You know you can just vibe code your brain by reading some of those thick books in the 'computers' section at the book store ? In a few short weeks you'll be able to tell yourself to "create a secure application to accept and process credit card information", and be able to put something together secure in the knowledge that you've done at least the bare minimum to earn the trust of people you propose doing business with.
0
u/Objective_Buy_7235 8d ago
Let a different AI try to break into it.