All source code from proprietary software intended to be used to generate profit should be reviewed by an independent agency of computer scientists and professional software developers to make sure that privacy laws aren’t being violated. The proprietary software or code should never be leaked or be make public in any database or public forum unless a crime is convicted by the company or corporation, and if so should only include the code violating the law.
This independent agency should not be allowed to edit or modify any part of the software, but may do so if they are to test it in a local private environment.
If it is found that the proprietary software violates a law then they may report the violation to the FCC.