News for hackers. Stuff that matters.
Re:Ask HN: Does anyone use a Raspberry Pi as your main compu... by suifbwish on Thursday April 28, 2022 @03:12PM (#31196900)
Never trust anyone who gives you a command that both downloads and executes any script. That person is either malicious, incompetent or they know the risks and just don’t give a shit
Re:Ask HN: Does anyone use a Raspberry Pi as your main compu... by GekkePrutser on Thursday April 28, 2022 @05:14PM (#31198307)
Homebrew for Mac is super popular among developers:

https://brew.sh/

And yeah they should know better. On the other hand, modern programming languages also pull libraries from all over the place without any serious vetting. This is becoming more and more of a problem as several people have demonstrated here:

https://news.ycombinator.com/item?id=30679098

I bet sooner or later this will result in a major wannacry/log4j style international incident and then we'll start doing something about it.

Re:Ask HN: Does anyone use a Raspberry Pi as your main compu... by dmerrick on Thursday April 28, 2022 @04:16PM (#31197670)
How is this different from any other installer that asks for admin access? At least the wget method gives you an opportunity to look at the install script, which most software installers dont provide
Re:Ask HN: Does anyone use a Raspberry Pi as your main compu... by adamomada on Thursday April 28, 2022 @04:33PM (#31197861)
It’s just a short-cut, you can easily examine the script and run it later. Most of the time I’ve seen a fair warning to always do the same.
Re:Ask HN: Does anyone use a Raspberry Pi as your main compu... by rosndo on Thursday April 28, 2022 @05:20PM (#31198374)
This is a weird take.

For example: From a security POV it’s not meaningfully different from being given a download link for a binary.