logoalt Hacker News

codebje • yesterday at 8:43 PM • 1 reply • view on HN

I don’t doubt you would find a trove of issues in CPAN if you went looking. It’s not an interesting target, though, because it’s all but dead.

Java via maven central is similar. It’s not a popular language. We know those libraries are riddled with issues - log4j’a big vulnerability isn’t that old - and simply requiring a GPG signature on a package is a thin guard against compromised uploads.

The NPM ecosystem is uniquely suited to supply chain attacks though. It has a massive rate of churn, which makes it impossible to maintain dependencies safely. You either lock in and hope there’s no big issues or ride the wave and hope you don’t get hit by zero days.


Replies

cmiles74 • yesterday at 9:41 PM

I agree that CPAN is not as active as it once was. Maven is hardly dead, it's pretty active (as is Java the language). NPM is very busy but they also have a very real bot problem.