News for hackers. Stuff that matters.
Re:GitHub Notification Emails Hijacked to Send Malware by fijiaarone on Thursday September 19, 2024 @07:37PM (#41597428)
Everyone has been trained for years to do this:

curl http://obscure.url?random-string | sh

Re:GitHub Notification Emails Hijacked to Send Malware by dullcrisp on Thursday September 19, 2024 @07:41PM (#41597449)
If there were a legitimate looking GitHub how-to page that asked me to do that, I can see myself doing it. Fortunately, I ignore all security issues on my repositories.
Re:GitHub Notification Emails Hijacked to Send Malware by ToValueFunfetti on Thursday September 19, 2024 @11:20PM (#41598496)
Security by lack thereof
Re:GitHub Notification Emails Hijacked to Send Malware by kurisufag on Thursday September 19, 2024 @07:58PM (#41597533)
people make a lot of noise about piping into shell, but even if the instructions were

wget random.club/rc-12-release.sh

chmod +x ./rc-12-release.sh

./rc-12-release.sh

almost nobody would actually read the script before running it

Re:GitHub Notification Emails Hijacked to Send Malware by dullcrisp on Thursday September 19, 2024 @08:23PM (#41597661)
Well yeah, if your intention is to install software from random.club on your system, what would be the point of checking the installer script? The worst thing it can do is the same thing you want it to do.
Re:GitHub Notification Emails Hijacked to Send Malware by umanwizard on Thursday September 19, 2024 @08:51PM (#41597784)
Yes, which is why complaining about curl | sh is silly.
Re:GitHub Notification Emails Hijacked to Send Malware by dullcrisp on Thursday September 19, 2024 @08:57PM (#41597816)
I’m not disagreeing.
Re:GitHub Notification Emails Hijacked to Send Malware by fijiaarone on Thursday September 19, 2024 @07:40PM (#41597443)
or even this:

git clone http://github.com/unknown/repo.git && cd repo && npm install

Re:GitHub Notification Emails Hijacked to Send Malware by darkwater on Friday September 20, 2024 @01:21AM (#41599027)
Even worse:

$ svn checkout

$ ./configure

$ make

# make install

Re:GitHub Notification Emails Hijacked to Send Malware by umanwizard on Thursday September 19, 2024 @08:50PM (#41597779)
No they haven’t, they’ve been trained to do

    curl https://url-of-well-known-project | sh 
I may not trust the owners of a random domain, but I certainly trust the owners of rustup.rs not to do anything intentionally malicious.
Re:GitHub Notification Emails Hijacked to Send Malware by guappa on Friday September 20, 2024 @04:00AM (#41599801)
Microsoft owns more domain names than the amount of neurons in the brain.
Re:GitHub Notification Emails Hijacked to Send Malware by account42 on Friday September 20, 2024 @10:43AM (#41602495)
Then you are more trusting of the Serbian National Internet Domain Registry than you should be.
Re:GitHub Notification Emails Hijacked to Send Malware by micw on Friday September 20, 2024 @12:41AM (#41598856)
Another red flag. I cannot take any project serious that has this on its documentation.
Re:GitHub Notification Emails Hijacked to Send Malware by kadoban on Friday September 20, 2024 @01:10AM (#41598979)
You prefer that they wrap it in an .msi file and put it on that same website? What do you think the advantages of that are?
Re:GitHub Notification Emails Hijacked to Send Malware by umanwizard on Friday September 20, 2024 @01:39AM (#41599100)
I guess you don’t think the Rust programming language is a serious project, then?
Re:GitHub Notification Emails Hijacked to Send Malware by guappa on Friday September 20, 2024 @04:58AM (#41600099)
I mean they even named the website cargo, after cargo culting! (jk)
Re:GitHub Notification Emails Hijacked to Send Malware by d0mine on Friday September 20, 2024 @01:12AM (#41598985)
what is the more secure way in you opinion? What is the weak link here? TLS transport? possibly compromised hosting/codebase? trust in app authors? not reading the shell script? checking a signature of some file?
Re:GitHub Notification Emails Hijacked to Send Malware by micw on Friday September 20, 2024 @03:35PM (#41604923)
My issue is the bypassing of the systems package manager. Doing so will result on files spread somewhere over the system. How do you uninstall such thing properly? How do you update (or even know) it's dependencies? Will it break because I uninstall or update one of it's dependencies?

Linux has a very good package management for many years. I see absolute no reason to break this by creating shell installers.