Live data from Hacker News

GitLab discovers widespread NPM supply chain attack

about.gitlab.com

261–263 of 263 posts

Re: GitLab discovers widespread NPM supply chain attack

#261

Earlier quoted context omitted.

That's true, but the same may already be true of your browser's cookie file. I believe Chrome on MacOS and Windows (unsure about Linux) now does use OS features to prevent it being read from other executables, but Firefox doesn't (yet) But protecting specific directories is just whack-a-mole. The real fix is to properly sandbox code - an access whitelist rather than endlessly updating a patchy blacklist

Plan9 had per-process namespaces in 1995. One could easily allow or restrict visibility of almost anything to any program. There were/are some definite usability concerns with how it is done today (the OS was not designed to be friendly, but to try new things) and those could easily be solved. The core of this existed in the Plan9 kernel and the Plan9 kernel is small enough to be understood by one person. I’m kinda a…

Linux supports per-process namespaces too, and has tools like firejail to use them for sandboxing, but nonetheless sandboxing is not widely used.

Re: GitLab discovers widespread NPM supply chain attack

#262

Earlier quoted context omitted.

This is the main reason. Pythons ecosystem also has silly trends and package churn, and plenty of untrained developers. It’s the lack of a proper standard library. As bad a language as it may be, Java shows how to get this right.

What? Python's standard library seems far more extensive than Java's.

A strange typo: should have written “node”. Kinda changed the intent of my comment. Oops.

Re: GitLab discovers widespread NPM supply chain attack

#263

Earlier quoted context omitted.

One factor is that node's philosophy is to have a very limited standard library and rely on community software for a ton of stuff. That means that not only the average project has a ton of dependencies, but also any given dependency will in turn have a ton of dependencies as well. there’s multiplicative effects in play.

This is the main reason. Pythons ecosystem also has silly trends and package churn, and plenty of untrained developers. It’s the lack of a proper standard library. As bad a language as it may be, Java shows how to get this right.

Goddamnit: meant to write “node’s” not “pythons”. Human is hallucinating.
Post reply on HN