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`
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.
Re:Malware in open-source web extensions
by bscphil on Wednesday February 17, 2021 @12:05PM
(#26168628)
I.e. the correct and expected method for installing the latest version of Node.js as a package on Debian. (Except you're supposed to run it as root.)
Re:Malware in open-source web extensions
by trickstra on Wednesday February 17, 2021 @12:09AM
(#26162949)
And then there is Raspberry Pi, which recently installed a PPA and gpg key in a kernel post-install hook...
haha
I love using sites like that for my personal computer/projects, but I never copy and paste code snippets or install PPAs on work machines or computers with magic internet money on them
Re:Malware in open-source web extensions
by ohyeshedid on Tuesday February 16, 2021 @09:37PM
(#26161971)
But do you put them on the same networks?
I'm always suspicious of the number of blogspam generic linux help advice sites that get you to install some random ppa complete with a nifty little code snippet that automatically installs certs and updates your sources.list! How handy!