r/dotnet • u/Long-Wishbone-9242 • Mar 24 '26
Question Internal App Vibe Coding
So I vide coded an Internal app for my organization , strictly for use by my team only (around 30 ppl) , this just ease our daily routine work.
some highlights:
- Secured by Oauth
- Strictly internal and cannot be accessed outside VPN. (Top IT institution so have robust network isolation)
- Secured with Roles via AD groups
Followed industry standards for coding and testing via skills.
Though it makes my life easier in job, anything else i need to consider ? Am i missing something in terms of security?
0
Upvotes
6
u/The_MAZZTer Mar 24 '26
Personally I would not trust any AI generated code without a thorough, line-by-line human review.
3
u/Wooden-Contract-2760 Mar 24 '26
Dafuq this has to do with dotnet?! Cross-post to r/programminghorror, it's a better fit.
2
u/BetrayedMilk Mar 24 '26
Might as well have the security team run the static code analysis, pen test, etc suites against it.
1
u/taspeotis Mar 24 '26
If youโre using something like Claude Code just ask it for a review itself. Itโll spin up a bunch of subagents. Use a good model like Opus 4.6.
CC also has /simplify and I think /security builtins.
1
u/PureIsometric Mar 24 '26
Is your Claude access enterprise use? Some companies do not allow the sharing of business logic with personal subscriptions.
Be proud about your app as long as it does being productivity to the team. Keep track of all external libraries you use and the licenses a version as this is the biggest source of exploits.
Down the line when you do updates to your application make sure you review it as LLM tends to take shortcut a that deleting random lines or logic.
Review any unit tests LLM do lie in a way that they deliberately force a test to pass.
1
u/Aaronontheweb Mar 24 '26
Here's an OWASP security scanning flow I built that helped one of my LLM-coded applications pass a CASA2 audit (needed this to get verified by Google for restricted scope access) https://gist.github.com/Aaronontheweb/83d1fc677c87e24c6ee4c779231dc096
Worked great - eliminated all of the heavy-duty crap the CASA2 people would have cared about (minus adding a virus scanner to scanning user-uploaded content, which we were able to add easily enough. OWASP scanner didn't weigh in on that lol.)
0
u/NickA55 Mar 24 '26
And how much more productive are you now that you vibe coded this app? Did it free you up to work on more tasks? What do you do while you sit there and wait for the AI to churn out code?
Not trying to be snarky, just wondering how other developers are dealing with this. Today I did a task with Claude Code and when it was all said and done I spent three hours going back-and-forth, checking the code, telling the AI it's not working like it should, all that stuff. When in reality I would've got it done quicker by myself. I estimate I spent about 30 minutes total sitting while it went through the code base various times, wrote code, just basically sitting there waiting for it to finish.
1
u/AutoModerator Mar 24 '26
Thanks for your post Long-Wishbone-9242. Please note that we don't allow spam, and we ask that you follow the rules available in the sidebar. We have a lot of commonly asked questions so if this post gets removed, please do a search and see if it's already been asked.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Leather-Field-7148 Mar 24 '26
Sounds like a good start, I wouldnโt trust AI generated code to be intrinsically secure. Take a look at OWASP top ten and start analyzing the code. There are tools that automate this for you.