https://www.idontplaydarts.com/2016/04/detecting-curl-pipe-b...
This outlines a POC for detecting whether your script is being downloaded or piped into Bash. Beware.
This outlines a POC for detecting whether your script is being downloaded or piped into Bash. Beware.
Also, the attacker can push an update if they can successfully guess the window between you reviewing a file and you installing a file. Not nearly as reliable as that POC, but hardly impossible.
Best to avoid building bad habits. Perhaps worthwhile to build good ones - even when it's "safe" to skip.