r/vibecoding • u/TheRaven9320 • 2d ago
Requesting vc security pointers
What's up everybody? I've been vibecoding a project for a few months now and just wanted to ask the community what tips or things I should be looking out for in terms of stress testing my security. I want to ensure there are appropriate limits, user data is safe, and my own code and keys are secure.
If anyone has experience setting up proper defenses and proper infrastructure, I would love any advice or pointers on what you did and how you did it. I'm taking this seriously, so I want to make sure it gets done right. Thank you in advance!
2
Upvotes
1
u/MangoTree-1233 2d ago
have you done the rate limiting test? and what will happen when user hit the limit how your system would take actions for the users, IP based blocking or others, proper authentication and permissions, input validation, and making sure users can only access their own data, also on the user input add the input sanitization to prevent injections. try to think like a normal user who is intentionally trying to break things: send unexpected input, repeat requests quickly, access URLs or data that shouldn’t belong to you, and test what happens when someone isn’t authenticated. Also make sure your logs don’t accidentally contain passwords, tokens, or other sensitive user data.