| ▲ | fantyoon 2 hours ago | ||||||||||||||||||||||||||||||||||||||||
> No, I'm sorry but who on earth installs random software from random strangers, without a single step of validating before giving it access to (presumably) the same computer you do banking on? I would assume essentially everyone? `curl https://random-website.com/script.sh | sh` is one of the most common way of installing software outside of perhaps Flatpak. AppImage is essentially the same as piping a script from the internet into bash. > reviewing a PKGBUILD takes a few seconds This assumes a naive attack that is easily visible from the PKGBUILD. Unless the attacker makes no effort to hide their activity, the PKGBUILD will look perfectly ordinary while still installing malware. | |||||||||||||||||||||||||||||||||||||||||
| ▲ | matheusmoreira an hour ago | parent | next [-] | ||||||||||||||||||||||||||||||||||||||||
> `curl https://random-website.com/script.sh | sh` is one of the most common way of installing software Sure wish GitHub READMEs hadn't normalized this. | |||||||||||||||||||||||||||||||||||||||||
| ▲ | embedding-shape 2 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||||||||
What PKGBUILD referencing official sources that been attacked would not be easily visible? The second the source changes away from official sources, you stop installing from it. It's one line you have to review, usually pointing to either a Github release or a CDN/download host under the official domain. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||