$ bash <(curl ...
Seeing this in a README immediately indicates that the author has no idea what they're doing security-wise, and that I probably shouldn't trust their project. $ bash <(curl ...
Seeing this in a README immediately indicates that the author has no idea what they're doing security-wise, and that I probably shouldn't trust their project.It's not like package managers are immune either: https://www.theregister.co.uk/2018/11/26/npm_repo_bitcoin_st...
https://www.seancassidy.me/dont-pipe-to-your-shell.html
https://sysdig.com/blog/friends-dont-let-friends-curl-bash/
https://news.ycombinator.com/item?id=12766049
Bonus points: serving a different script to people piping to bash, and those not:
https://www.idontplaydarts.com/2016/04/detecting-curl-pipe-b...