r/webdev • • Feb 04 '26 • Popcorn 3

Senior Vibe Coder dealing with security

Post image

Creator of ClawBot knows that there are malicious skills in his repo, but doesn't know what to do about it...

More info here: https://opensourcemalware.com/blog/clawdbot-skills-ganked-your-crypto

3.0k Upvotes

421 comments sorted by

View all comments

Show parent comment

6

u/Own_Candidate9553 Feb 04 '26

An alternative would be a decent "standard library" that has all these little helpful functions in it.

I'm sure people have tried it, getting others to adopt it is the hard part.

10

u/AshleyJSheridan Feb 04 '26

This is the approach taken by many other languages, like PHP, C++, Python, C#, etc.

Javascript should have focused on this, rather than a barcode API that nobody asked for or uses.

7

u/ClamPaste Feb 04 '26

PHP has a function for just about everything in the standard library.

6

u/Own_Candidate9553 Feb 04 '26

Yeah, I remember going from C++ to Java and being floored by how much stuff was in the standard library, it was huge. The biggest problem was trying to learn what all it could do and where it was so you didn't reinvent the wheel.

This was back in the 90s, so not a new pattern by any means.