3 ms·
Things like this make me die a little inside every time: > Open a fresh terminal and enter this command: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubuserc
by lsaferite 10y ago
Things like this make me die a little inside every time:
> Open a fresh terminal and enter this command:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" https://raw.githubusercontent.com/Homebrew/install/master/in...
- mtkocak 10y agowhy?
- psylence519 10y agoYou’re executing a script directly off of a git repo. There’s a lot of trust involved there. One sneaky pull-request away from an exploit. That said, I do it all the time like everyone else. :)
- lsaferite 10y agoAs others have said, blinding executing a ruby script directly out of a GH repo is risky (to put it mildly). Sure, you have to have some trust in the whole infrastructure at some point, but the number of times I've seen this type of thing blindly posted and followed boggles my mind. Here is a post talking about the issue and pointing out non-malicious issues: https://www.seancassidy.me/dont-pipe-to-your-shell.html https://www.seancassidy.me/dont-pipe-to-your-shell.html