Re:Show HN: Rb – Turns Ruby into a command line utility
by mpg515 on Tuesday August 14, 2018 @12:55PM
(#17759607)
It's such a common pattern too. I can't believe people are still doing this and it's generally acceptable.
[ Parent
| on HN ]
Re:Show HN: Rb – Turns Ruby into a command line utility
by kenbellows on Tuesday August 14, 2018 @01:33PM
(#17759986)
I mean, if you think about it, any time you run any installer, whether via brew install, apt-get install, or an .exe or .msi, you're effectively running someone else's unknown code on your system, often as a superuser (e.g. with sudo apt-get install). Is there a significant difference here? At least in this case you could potentially download the shell file and read it before you run it, unlike with a binary executable.
Am I way off base here?
Re:Show HN: Rb – Turns Ruby into a command line utility
by kompromat on Tuesday August 14, 2018 @01:45PM
(#17760143)
Some context on why curl pipe bash is a bad idea: https://www.idontplaydarts.com/2016/04/detecting-curl-pipe-b...
Most recent discussion: https://news.ycombinator.com/item?id=17636032