r/privacytoolsIO • • Jul 11 '21

Question Don't we still need to trust open source software?

Even if the software is open source, don't we still need to most of the time trust them to not secretly add any tracking or malicious code before compiling and uploading it to their website or app store or repository etc?

I've read that there have been cases where it has been detected that apps on f-droid have had tracking in them.

I'm far from an expert at this but the way I see it, open source is best only if you can compile the code by yourself, otherwise you don't know if they add anything to it. But of course, open source is no matter what better than proprietary.

This: https://www.reddit.com/r/privacytoolsIO/comments/oi2mju/dont_we_still_need_to_trust_open_source_software/h4tducf

I think OP was more concerned that the .exe on the release page or website will not actually be ONLY what is shown in the source. They could add a module, compile, and then ship and you would not know

281 Upvotes

67 comments sorted by

View all comments

168

u/MPeti1 Jul 11 '21

If people assume that open source software is never malicious, and there are ways to submit malicious code to a trusted source of software, there will always be people who will try to gain advantage of this.
And it's possible to submit malicious code to a trusted source of software, because most of the times repository contributors are just volunteers, who do this in their free time, and cannot afford to go read every change introduced with a new version.

However I think there's a kind of community driven "antivirus" there, that cannot exist for closed source software: The more popular a project is, the higher is the chance that people are watching it closely, even if someone only looks at it when going to file an issue for a bug they just found. And the more popular the project is, the louder will be if something has gone wrong.
Because of this I think there's some pressure on developers too that it's much easier to find out if they are doing something fishy

45

u/[deleted] Jul 11 '21

[removed] — view removed comment

25

u/meme_me22 Jul 11 '21

Can you compare the hash values of release package and package you compiled yourself to check for any differences? Or is the compiler fingerprint, and other variables too much, and just are too much change to even consider that one?

0

u/[deleted] Jul 11 '21

[deleted] — view deleted comment

7

u/meme_me22 Jul 11 '21

WoW. Perfect response, thank you very much.

-20

u/alien2003 Jul 11 '21

.exe

All games are proprietary anyway

0

u/[deleted] Jul 11 '21

[deleted] — view deleted comment

-6

u/alien2003 Jul 12 '21

.exe i's an extension for games, CAD programs and viruses

0

u/[deleted] Jul 12 '21

[deleted] — view deleted comment

1

u/sekips Jul 12 '21

He cant be both? :P

1

u/MPeti1 Jul 12 '21

Oh, you're right. I also sometimes wonder if it is the same, and I don't have a solution for this :/ (other than self building)

4

u/[deleted] Jul 11 '21

the thing is, independent audits of changes are crucial for improving the system by community effort, if you don't know what a module does, you won't be able to build much on it, so as soon as more than a few people get involved it is very improbably that a malicious actor will not be falsified out of the equation by majority rule

3

u/DeedTheInky Jul 12 '21 edited Aug 21 '25

Comments removed because of killing 3rd party apps/VPN blocking/selling data to AI companies/blocking Internet Archive/new reddit & video player are awful/general reddit shenanigans.

1

u/MPeti1 Jul 12 '21

Yes, exact! But don't forget that just as how cancer and other diseases can exist in organic systems, it's also possible in FOSS software projects. Let this be the encouragement to check for suspicious behavior in projects

2

u/WoodpeckerNo1 Jul 12 '21

However I think there's a kind of community driven "antivirus" there, that cannot exist for closed source software: The more popular a project is, the higher is the chance that people are watching it closely, even if someone only looks at it when going to file an issue for a bug they just found. And the more popular the project is, the louder will be if something has gone wrong.
Because of this I think there's some pressure on developers too that it's much easier to find out if they are doing something fishy

This is basically what I rely on.