News for hackers. Stuff that matters.
Re:NPM debug and chalk packages compromised by dmitrygr on Monday September 08, 2025 @05:07PM (#45174003)
> don't we consider things like `brew` to be sufficiently low-risk,

Like ... npm?

Re:NPM debug and chalk packages compromised by fn-mote on Monday September 08, 2025 @06:38PM (#45175021)
Nah…

Everybody knows npm is a gaping security issue waiting to happen. Repeatedly.

It’s convenient, so it’s popular.

Many people also don’t vendor their own dependencies, which would slow down the spread at the price of not being instantly up to date.

Re:NPM debug and chalk packages compromised by dabockster on Monday September 08, 2025 @08:11PM (#45175798)
> Many people also don’t vendor their own dependencies, which would slow down the spread at the price of not being instantly up to date.

npm sold it really hard that you could rely on them and not have to vendor dependencies yourself. If I suggested that a decade ago in Seattle, I would have gotten booed out of the room.

Re:NPM debug and chalk packages compromised by marcus_holmes on Monday September 08, 2025 @10:33PM (#45176729)
I have repeatedly been met with derision when pointing out what a gaping security nightmare the whole Open Source system is, especially npm and its ilk.

Yet here we are. And this is going to get massively worse, not better.

Re:NPM debug and chalk packages compromised by Intermernet on Tuesday September 09, 2025 @05:39AM (#45179724)
Nothing specific to open source is to blame in this instance. The author got phished. Open source software often has better code vetting and verification than closed source software. npm, however, does not.
Re:NPM debug and chalk packages compromised by albedoa on Tuesday September 09, 2025 @12:57AM (#45177580)
> Nah…

I mean, I believe you, but the person you are replying to obviously believes that they are similar. Could you explain the significant differences?

Re:NPM debug and chalk packages compromised by johnisgood on Tuesday September 09, 2025 @02:38PM (#45186549)
Convenient, as in the barrier to entry is way too low. I am pretty much against it.
Re:NPM debug and chalk packages compromised by hunter2_ on Monday September 08, 2025 @05:52PM (#45174514)
I thought getting code into brew is blocked by some vetting (potentially insufficient, which could be argued for all supply chains), whereas getting code into npm involves no vetting whatsoever.
Re:NPM debug and chalk packages compromised by n8m8 on Tuesday September 09, 2025 @10:17AM (#45182278)
Went and found the link: https://docs.brew.sh/Acceptable-Casks#apps-that-bundle-malwa...

> Unfortunately, in the world of software there are bad actors that bundle malware with their apps. Even so, Homebrew Cask has long decided it will not be an active gatekeeper (macOS already has one) and users are expected to know about the software they are installing. This means we will not always remove casks that link to these apps, in part because there is no clear line between useful app, potentially unwanted program, and the different shades of malware—what is useful to one user may be seen as malicious by another.