Comment by silvestrov
1 month ago
> on some 50K lines of code
also some 3rd party libraries are overdesigned/overcomplicated because everybody wants the library to do everything for everybody.
This overcomplication can easily introduce security problems that is not present in the 1K solution.
> overdesigned/overcomplicated because everybody wants the library to do everything for everybody.
Also a source of significant dependency churn even excluding security bugs.
Whereas with my own code I don't have to worry about scheduling work that's only arisen because somebody outside my organisation has decided to make a breaking change in a dependency. Paying that tax got old over a decade ago, and my patience with it now is close to zero.
Thinking about Log4J here. The vulnerability was with an obscure functionality that I’ve never seen used. Sometimes simpler is safer.
Of course, sometimes simpler is “I stored the passwords unhashed”, so you have to find the middle ground.
Log4J is a really good example. You have to rely on the taste of the maintainers to not just include endless additional features.
jackson-databind too
cough OpenSSL cough
As every cryptographer will surely agree, having every company vibecode their own bespoke in-house replacement to OpenSSL will be a great improvement to security across the industry.
No need, just use any of the other libraries
1 reply →
After Heartbleed the OpenSSL team upped their game so much, that LibreSSL guys said themselves that LibreSSL is obsolet now. So this no longer stands true. Just use OpenSSL.
100% our thinking too.