I’m trying to feel more comfortable using random GitHub projects, basically.

  • The solution to what you want is not to analyze the code projects automagically, but rather to run them in a container/virtual machine. Running them in an environment which restricts what they can access limits the harm an intentional — or accidental bug can do.

    There is no way to automatically analyze code for malice, or bugs with 100% reliability.

    • That is another tool you can use to reduce the risk of malicious code, but it isn’t perfect, so using sandboxing doesn’t mean you can forget about all other security tools.

      There is no way to automatically analyze code for malice, or bugs with 100% reliability.

      He wasn’t asking for 100% reliability. 100% and 0% are not the only possibilities.