News for hackers. Stuff that matters.
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by mrits on Tuesday March 31, 2026 @01:57PM (#47591147)
Python, .NET, and Java are not examples of batteries included.

Django and Spring

Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by spixy on Tuesday March 31, 2026 @02:31PM (#47591538)
comparing to Node, .NET is batteries included: built-in Linq vs needing lodash external package, built-in Decimal vs decimal.js package, built-in model validation vs class-validator & class-transformer packages, built-in CSRF/XSRF protection vs csrf-csrf package, I can go on for a while...
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by ytpete on Tuesday March 31, 2026 @03:00PM (#47591905)
And in fact wasn't a popular Python library just compromised very recently? See https://news.ycombinator.com/item?id=47501426.

So Python's clearly not "batteries included" enough to avoid this kind of risk.

Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by rhdunn on Tuesday March 31, 2026 @03:09PM (#47592021)
That's my point. You can have a large standard library like those languages I mentioned, but that isn't going to include everything nor cover every use case, so you'll have external libraries (via PyPi for Python, NuGet for .NET, and Maven for Java/JVM).
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by vovavili on Tuesday March 31, 2026 @04:36PM (#47593147)
Python's standard library is definitely much more batteries-included than JavaScript's.
Re:Axios Compromised on NPM – Malicious Versions Drop Remote... by la_fayette on Wednesday April 01, 2026 @08:01AM (#47599686)
depends, JavaScript in the Browser has many useful things available, which I miss with python, e.g., fetch, which in Python you need a separate package like requests to avoid a clunky API. Java had this issue for long time as well, since Java 11 there is the HttpClient with a convenient API.