system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: Some of online programs are open source and have its source code on GitHub (for example bitwarden, a password manager). Doesn't knowledge of the source code allow hackers and user to break and abuse the program easier?
gpt
If knowing how your software is written lets me break your security then you have terrible security

Security through obscurity is no security at all

A well done security algorithm is still secure even if you know all the math behind it, having that open so that people can check it ensures that you have done the math right and haven't accidentally(or intentionally) introduced weaknesses into the security based off of how you implemented it.

Not having the source code public doesn't stop hackers from analyzing it and finding weaknesses, they can still decompile it, but it does stop the public and researches from finding and patching weaknesses before they're exploited.