"Will opening up your software improve its security? The main benefit of
open-source software as it relates to security is what's been called the
"many eyeballs" phenomenon -- letting more people scrutinize your code
makes it more likely that bugs, especially security-related bugs, will be
found and repaired in a more timely manner. Certainly, this phenomenon can
help you find problems in your code that you otherwise may not have found.
However, there's no guarantee that the people scrutinizing your open source
will find any security problems in your code, much less all of them. Nor
does it guarantee that anyone who does find security problems will actually
report them."