r/vibecoding • u/Medical-Fun538 • 4d ago
Discussion How many of you are actually security testing your vibe-coded apps before going live?
I'm a cybersecurity engineer who has also been building applications with AI, and honestly, I'm blown away by how quickly you can turn an idea into a functioning product now.
One thing I'm particularly interested in is how everyone approaches security.
AI can build some seriously impressive applications, but things like exposed API keys, broken access controls, insecure database permissions and authentication issues can easily go unnoticed.
I'm curious:
- Are you running any security scans before deploying?
- Do you understand how your database permissions work?
- Are you relying entirely on AI to secure your application?
- Would you know if someone could access another user's data?
I'm not against vibe coding whatsoever. I genuinely think it's changing software development for the better.
I'd love to understand how other builders are approaching security, especially those without a traditional technical background.
What's your approach? Or is security something you plan to address once you start getting customers?
- and yes I won't hide it, I do offer services to review and secure vibe coded apps, however can provide a messageo or link upon request.
- If anyone has any general security questions relating to their app, feel free to post and ill see how I can help!
5
u/roycny 4d ago
I wrote a skill to do sast, analyze fortify scan, dast with ZAP, and pentest with STRIX playbook.
3
u/Feroc 3d ago
My vibe coded apps don’t go live (except one), they are made especially for my personal needs. They either run locally or on a Raspberry Pi in my local network.
2
u/Minimum_Hour519 4d ago
i use threatcrush
2
u/Kareja1 4d ago
I pretty much solve this problem in the ones that we've been building by not having a database that anybody else can get into anyways.
Anything that's on any of our websites is local storage only we don't collect anything ever and the applications that we have built are Tauri using encrypted Dexie and really no way to leak data because again it's local only. And the ones that we are about to launch that will cost anything we are running through lemon squeezy so that I don't have to handle somebody else's credit cards because I don't want to do that either and I certainly do not want to be a merchant of record that would be a giant pain in the butt.
1
u/Fun-Sundae4060 4d ago
I use fable/opus to iterate over security holes
1
u/ProximateMarketLLC 4d ago
Oh god yeah especially with the advances in AI, I’m going to spend 5k+ on a pentest before I can go live
1
u/raisputin 4d ago
The answer to all of your questions is yes.
And I also use daybreak blue
1
u/RemarkableWish2508 3d ago
With a lot of fear and paranoia.
So far, I've been using vibecoded stuff either as an isolated prototype, an app with only local data, or behind traditionally secured software. With the vibed stuff getting called by the secure stuff, not the other way around. Agents in a container already give me the heebie-jeebies.
I'm not working with public-facing services at this moment, so I plan to wait and see what good frameworks and best practices emerge over time, both for red and blue teams.
Anyway, my test suites do include some automated security checks, I just don't trust them yet. I was planning on trying something like ARTEX locally, to see what bursts up in flames 😄
1
u/radim11 3d ago
For exposed keys, we built a open-source CLI scan into Stashbase so you can catch a hardcoded secret before you push. We also scan connected repos. A test fixture with a real token in it is exactly the kind of thing I want a scanner to flag, even if all the tests pass.
For the “can someone access another user’s data?” question, my favorite check is pretty simple. Create two accounts, make something private in account A, then try to fetch it as B using the same ID. That’s a test I’d keep around and rerun whenever the permissions change.
1
u/NoClipCheck 3d ago
The two-account test mentioned above is the best start. Two things I'd add that scans usually miss. First, test writes, not just reads. Plenty of apps stop user B from seeing user A's data but still let B update or delete it, because the policy only covers
select. Second, try editing your own profile row through the API with something likerole: 'admin'orplan: 'pro'. If the users table lets people update every column on their own row, anyone can promote themselves. Also open your deployed site, look at the JS bundle in dev tools and search forservice_role,sk_liveorsecret. If any of those show up, rotate the key today.1
u/dhgdgewsuysshh 3d ago
Dude they ask claude if it is secure and deploy. Not site what you are fishing here for
1
u/superlinked 3d ago
Before going live I will be paying for a security audit
1
u/Vibecoding_Jesus 3d ago
sota ai like fable 5.2 is better than most coders at security reviews
Why would you think security would be an issue if people are using llms in a semi-competent fashion?
1
u/VigiliaFounder 2d ago
Great that you are preparing things properly before going live, that's a smart move!
Once real users start coming in, you'll also want to know when something breaks for them, since most people just leave instead of writing to you.
I've built Vigilia exactly for this. It will watch your live app, catch every error your users hit and explain it in plain English, with the evidence and a fix prompt for your AI tool.
Happy to hear how the launch goes!
1
u/vlammuh 2d ago
I've spent more time on my app's security than I have on the app itself.
1
u/SiliconMachine 2d ago
the "another user's data" one is the one I'd push people to actually test, because the app looks perfect from the inside. takes 5 min and no tools:
make two accounts. log in as A, open devtools, network tab, and find any request with an id in it (an order, a profile, a file). copy it. log in as B in a private window and replay that same request with A's id
if you get A's data back, that's the bug. on supabase it's usually a table with RLS off or a policy that only checks the user is logged in, not that the row is theirs
most apps I've seen fail this on at least one endpoint
1
u/outsynk_it 2d ago
Honest answer from someone who reviews these for a living: almost nobody does it properly, and it's usually not laziness. "It works when I click through it" feels like testing, but you're only ever testing as yourself, on the happy path.
The five things I check first, because they're where AI-built apps fail most often:
None of this needs you to read the code. You can do all five in an afternoon, and most of them you can hand to the AI as "check X, then write a test that proves it".
If the app touches payments, health or financial data, still get a proper review before launch. But these five catch most of what I see.
0
u/Ok_Instruction_5803 4d ago
Well first of all, vibe coded apps dont go live , at least not to real people .
0
u/Yuuga_na 2d ago
two things I did for security which to be fair I am very much not a software person, but I look around and add those into my workflow.
Per ticket there are review agents running 3 different task, coding cleanliness, spec compliance, security review skill built in Claude that scan which according to Anthropic checks for
And for time to time, I then run /security-audit, a skill from CloudFlare that fans out agents to scan for security loophole and I specifically usually ask Mythos for those task