Re:Malware in open-source web extensions
by timemachine on Tuesday February 16, 2021 @11:40PM
(#26162765)
`curl -o- https://example.com/install-harmless-utility.sh | sh`
[ Parent
| on HN ]
Re:Malware in open-source web extensions
by stjo on Wednesday February 17, 2021 @08:06AM
(#26165861)
Related: Detecting the use of "curl | bash" server side
https://www.idontplaydarts.com/2016/04/detecting-curl-pipe-b...
You can make it so that the server returns benevolent looking code when auditing it with just "curl URL", but return malware when curl is directly piped to bash.