Something being open source reduces the chances of that code being malicious because anybody can easily go look at it to find out. Obviously, this depends on community interest in the project, but the premise is that with everyone watching, it’s harder to be evil.