logoalt Hacker News

thecopytoday at 6:19 AM4 repliesview on HN

>Anything that suggests curl into bash just plain sketches me out.

How is it different than trusting any other method of installation? If URL has https and is from an author you trust i dont see the difference.


Replies

thebeardisredtoday at 6:28 AM

Package management provides cryptographic attestation over the entire process, including the scripts run. Nothing is arbitrary nor mutable in the default state. The files touched will be in a predictable place and the scope of privilege escalation is clearly defined.

show 2 replies
JetSetIllytoday at 7:09 AM

It's more about installation location for me. For these types of projects, I don't even install it. I just clone, build and run from there. I have no idea where the bash script is going to put things.

show 1 reply
walrus01today at 6:21 AM

I mean it's probably not, I just haven't got used to it yet. It's about the same level of security as installing a windows app on win2000 25 years ago and blindly downloading a .exe off the internet and running it to get into the install wizard. But indeed I also kind of blindly trust that whatever I'm getting from the debian trixie officially gpg-signed packages isn't backdoored.

One thing I do not do as a matter of practice is install things with a ridiculous number of recursive npm dependencies.

show 1 reply
danielrmaytoday at 7:00 AM

Rendered text cannot be assumed to equal the underlying text, unfortunately

show 2 replies