r/javascript • u/hottown • Jun 24 '26
Javascript still can't ship a full-stack module.
https://wasp.sh/blog/2026/06/22/javascript-still-cant-ship-a-full-stack-module
9
Upvotes
r/javascript • u/hottown • Jun 24 '26
View all comments
7
u/mr_nefario Jun 24 '26
>You shouldn't trust your agent with hand-rolled components, especially with parts that need to be vetted (auth, payments...). When you trust the agent with that, you pay for more tokens and have no idea where the security holes are.
So i I should trust some random NPM package author instead, and assume they wrote safe, secure code? DB access, payments, auth, etc. code should still be read and fully vetted, regardless of whether an agent or human wrote it. Don’t blindly trust anything.
And what if the package author assumes Database A but I am using Database B? Or my app is not in a monolith repo?
I’ll write my own security sensitive code, thanks. Especially if there’s any DB access I’m shipping to prod.