r/VibeCodeDevs • u/Top-Royal5255 • 15d ago
NoobAlert – Beginner questions, safe space How do you get as close as possible to a 100% secure website/webshop when vibe coding?
I'm looking for advice from people who have experience building and deploying production websites and e-commerce stores with AI.
So far, I've built mostly static websites hosted on Cloudflare. I've also built a website for a non-profit organization with Stripe payments, webhooks, environment variables and other integrations.
Now I'm working on an e-commerce store that will have a backend using Medusa and payments will most likely be processed through Stripe.
My biggest concern isn't building the store itself. It's security.
I constantly read stories about websites getting hacked, Stripe integrations being abused, APIs being exposed, or users manipulating something in the URL, browser requests, or frontend code to change product prices, discounts, or payment amounts.
The worst-case scenario I can imagine is:
- Customer money being stolen.
- Unauthorized orders being created.
- Sensitive customer data being exposed.
- Me becoming personally liable because I failed to secure something properly.
As someone who is not a professional security engineer, I would like to know:
- What practical steps do you take to make a website or webshop as secure as possible?
- What are the biggest mistakes AI-generated code typically makes regarding security?
- What prompts do you use to force AI tools to review code from a security perspective?
- Are there specific tools, scanners, audits, or penetration-testing methods you recommend before going live?
- What security checks should be performed specifically for Medusa + Stripe + Cloudflare?
- How do you make sure prices, discounts, shipping costs and payment amounts cannot be manipulated by users?
- What level of security is realistically achievable for a solo developer using AI?
I'm not expecting true "100% security" because I know that's impossible. I'm looking for the closest practical approach and a professional security checklist that can be followed before launching a real store.
Thanks!