Apparently there’s a bunch of projects getting hit with this, fairly obscure ones though. Project gets forked, suddenly get a pile of stars more than the original, and then there’s a curl-bash pipe inserted into it that runs some ransomeware that encrypts ~/Documents.
About a dozen other projects linked in here from another developer (excuse the Reddit link): https://old.reddit.com/r/golang/comments/1jbzuot/someone_copied_our_github_project_made_it_look/
Yes, I agree, but then, what would be an alternative?
Store it into a file, chmod it and run it? git clone the repo and run a script from it? I don’t think any of those would be different, apart from having more steps most people won’t even check anything.
I don’t know if we can fix this while allowing people to run stuff they don’t understand on their machines. Maybe community curated scripts or something, know the people who does the stuff and only run stuff made by people you already know.
I think we’re running too fast, we need to chill down, idk.
Any package manager that allows for ways to verify the source. These shitty script|bash lines are doing all sorts of nutty shit on your system, and that’s ones that aren’t even malicious.