News for hackers. Stuff that matters.
Re:Remote code execution in Homebrew by compromising the off... by btown on Saturday April 24, 2021 @08:27AM (#26924398)
For what it’s worth, Homebrew responded by entirely removing the automation, not just patching the specific vulnerability: https://brew.sh/2021/04/21/security-incident-disclosure/

To me this means they take the class of threats seriously. And in the first place, automating version bumps could actually improve availability of security hotfixes for brew-installed software, so it’s consistent with a good faith security stance.

And, to be fair, there are plenty of NPM repositories with far fewer qualms about pushing untrusted code in dependencies to dev machines...

Re:Remote code execution in Homebrew by compromising the off... by jacquesm on Saturday April 24, 2021 @08:54AM (#26924528)
NPM shouldn't be up for serious consideration as part of anything that needs to be secure after their series of incidents like these.

If that's the new standard that is problematic.

Re:Remote code execution in Homebrew by compromising the off... by tenacious_tuna on Saturday April 24, 2021 @12:21PM (#26926063)
I think it's less about using NPM as a good-practice model, and more just as an example of a widespread tool with worse flaws.

Not an excuse, just a comparison.

Re:Remote code execution in Homebrew by compromising the off... by btown on Monday April 26, 2021 @10:44AM (#26943033)
https://github.com/stripe/stripe-js strikes perhaps the most realistic balance possible, recognizing that NPM is an insecure place for their core JS logic that creates a PCI compliant iFrame, and so their NPM package is just a loader for a script tag hosted securely. And yet they encourage people to use NPM for the wrapper itself. Which is just as vulnerable to supply chain attacks as anything else on NPM. If this isn't tacit acknowledgement of a "new standard" I don't know what is. I absolutely agree that it's problematic.
Re:Remote code execution in Homebrew by compromising the off... by aequitas on Saturday April 24, 2021 @09:20AM (#26924665)
This also makes the default auto update behaviour of Homebrew itself a double edged sword. On the one end it ensures people run into less issues because Homebrew is always up to date but on the other end an RCE like this will be propagated to every user automatically within a really short time.