It’s not “safe” . GitHub allows anonymous users to upload anything they want including malware. You could get infected by downloading/executing code or visiting anything on the “github.io” domain where arbitrary javascript (and therefore 0-day browser exploits) might be found (github.com is safer than github.io).
Read moreIs installing from GitHub safe?
2 Answers. Nothing that you download from the internet is 100% safe . However, you can generally gauge the safety of code on Github by the following factors: # of Contributors/Commits: This tells you that there are a lot of people working on it, not just a single bad actor.
Read moreCan you get virus from GitHub?
The malware is still live and being hosted on GitHub . GitHub has removed many forked projects hosting the malware, but the cybercriminals are very determined and continuously upload the malware on GitHub again and again.
Read more