by forward1 · 3y ago · 0 comments
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/Exein-io/pulsar/main/pulsar-install.sh | sh
So secure, I mean it's forcing https AND tls1.2 - maximum security! Especially when you just pipe a random script into shell.Also, no information on its authors, who audited the code, what makes it "secure" enough to warrant giving an administrative entitlement over my system. Hard pass.
> Also, no information on its authors, who audited the code, what makes it "secure" enough to warrant giving an administrative entitlement over my system. Hard pass.
The code is hosted by an organization on GitHub, who have clear links to their website, email, twitter. On their website they have their office addresses and it seems to me that they are registered with the Italian government as a business.
They don't mention anything about it being audited or make any claims that it is secure. Both of these would be something to follow up on if someone is planning to use it within their org.
I'm not sure what it is you want from them. They've released something, and made it open source. It is a little over a year old, so they're probably still getting their footing and figuring things out.
I do see their website now, but I'm still confused:
> We are a team of visioneers, engineers, designers, and security experts backed by top-tier VCs who believe in making security work for everyone.
Great. What makes you security experts? In other words, why should we trust you?
You say the code is open source and that makes it trustworthy, but source availability is not a panacea. It must really be vigorously stressed, tested and abused by competent hackers (as a consensual contracted service) - again, if we are to call it "security" software.
Plainly, this is a beta test for a company that wants to make some money and has generously externalized bugs, issues and other nuances of development unto the open source community, which through some sort of Stockholm Syndrome has actually convinced itself more code - even if it's not good code - is still a good thing.
If you want to say "I'd like to see software like this audited for security" just say so.
Downloading directly from GitHub or apt-get is a tiny bit safer in that regard.
It's not as if the instructions would allow an attacker to pass you another binary, after all.
As for 'is curl | sh safe?' I am done arguing with people who don't understand that it's absolutely fine.
> As for 'is curl | sh safe?' I am done arguing with people who don't understand that it's absolutely fine.
eep.
It's ensuring you'll get the exact script they provided and run that to install on your system. It will install something with really high privilege, so if you trust them enough to install that, surely you trust them enough to run their install script.
If you can't trust their install script, I'd say you should probably trust them even less with running something in-kernel so none of this is an actual issue.
Cryptographic signatures can prove that. Curl bash'ing really doesn't.
The very few software I install that aren't shipped with Debian (and hence signed and, for the most, also bit-for-bit reproducible btw), I do verify their signature (when they're signed).
For that one program I really need that thinks bash curl'ing is somehow as secure as Debian signed (and reproducible) packages (it really isn't) or offers as much guaranteed as a signed software "because https" (it really doesn't), what I do is download the binary myself, take its cryptographic hash, and store that cryptographic hash for later use.
So, at least, if I need to reinstall it I know I'm reinstalling the exact same binary I curl bash'ed last time.
Curl bash'ing is really a pathetic way to ship software.
Assuming you have a fully trusted and bootstrapped side channel to get the public key from. And assuming that the compromise that resulted in this maliciously published binary also didn't compromise the private key.
Both are tall orders.
If the instructions were "download, unpack, and run ./configure; make; make install" would you post the same reaction?
The OP readme is asking to run a different install script using the same method.
curl --proto '=https' --tlsv1.2 -sSf hxxps://raw.githubusercontent.com/Exein-io/pulsar/main/pulsar-install.sh | shWhen I responded their comment read
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Which is from https://www.rust-lang.org/tools/install and therefore was confusinghttps://www.rust-lang.org/tools/install
> curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Sure it’s sketchy, but if you are doing your DD. You are inspecting the script itself.
The script itself (https://raw.githubusercontent.com/Exein-io/pulsar/main/pulsa...) doesn’t appear to do anything out of the ordinary. It downloads a few helper scripts to temp directory and installs to /usr/bin.
Haven’t looked at the pulsar code yet since on mobile.
If you find anything abnormal then yea I wouldn’t install it either. Especially if it needs escalated privileges.