3 ms·
I'm a proponent of distributed code reviews as a solution: https://github.com/crev-dev/crev https://github.com/crev-dev/crev Ultimately, someone has to manuall
by pornel 6y ago
I'm a proponent of distributed code reviews as a solution: https://github.com/crev-dev/crev https://github.com/crev-dev/crev
Ultimately, someone has to manually review the code. Antivirus-like heuristics won't catch everything. Sandboxing may prevent some exfiltration, but can't prevent malicious code from returning malicious results (e.g. imagine a password checking library modified to always accept attacker's password - it can be sandboxed like a nuclear reactor and still screw you). If you verify the code is actually safe and does what it says, then it doesn't matter where the code came from, who wrote it, which CI server published it.
But reviewing code is tedious. It's wasteful for every user to individually review the same code over and over again. You can trust code if enough people who you trust have reviewed it.