Malicious code added to 35k GitHub repos, leaking user environments
1–10 of 79 posts
Re: Malicious code added to 35k GitHub repos, leaking user environments
#2Re: Malicious code added to 35k GitHub repos, leaking user environments
#3Re: Malicious code added to 35k GitHub repos, leaking user environments
#4How would code like this make it into so many repos? People accepting pull requests and not properly reviewing them? Or is there something even worse about this attack?
Re: Malicious code added to 35k GitHub repos, leaking user environments
#5How would code like this make it into so many repos? People accepting pull requests and not properly reviewing them? Or is there something even worse about this attack?
GPG signed commits by the legitimate users do not contain the malware
Re: Malicious code added to 35k GitHub repos, leaking user environments
#6If lots of software released today haven't been pinning their versions on release (especially Electron apps) or signing their commits if they are open-source, then this is a chaotic supply chain attack waiting to happen and is more worse than I thought.
But really it is yet, another reason to avoid GitHub entirely and just self-host using GitLab or Gitea.
Re: Malicious code added to 35k GitHub repos, leaking user environments
#7Seems like the solution is "don't just copy random github urls into your code" ?
Re: Malicious code added to 35k GitHub repos, leaking user environments
#8This is that thing where people can put anyone in as the commit author, thus impersonating the original creator right? Seems like the solution is "don't just copy random github urls into your code" ?
Re: Malicious code added to 35k GitHub repos, leaking user environments
#9This is that thing where people can put anyone in as the commit author, thus impersonating the original creator right? Seems like the solution is "don't just copy random github urls into your code" ?
Correct. My suggestion for a solution is for github to add a "reject-unsigned" feature. Only allow commits signed by and to be pushed to github, under any projects/org.
Also does not help that enough percentage of repo owners would accept then signed PRs to their projects.
The fake accounts can be created with gpg signed fake commits too.
Re: Malicious code added to 35k GitHub repos, leaking user environments
#10Oh dear. This is a gigantic disaster. If lots of software released today haven't been pinning their versions on release (especially Electron apps) or signing their commits if they are open-source, then this is a chaotic supply chain attack waiting to happen and is more worse than I thought. But really it is yet, another reason to avoid GitHub entirely and just self-host using GitLab or Gitea.