Imagine getting 10,000 pull requests and 7 originate from KGB hackers that solve a real problem but contain a vulnerability.
And I have to say my personal confidence in the quality of governmental code is higher if it is open source than if it wasn't — because I know some pretty paranoid people who would for sure check that could better than any contractor ever would.
[0] example with the Linux kernel: https://www.theverge.com/2021/4/22/22398156/university-minne...
many bug fixes open new bugs anyway due to poor architecture, this is what we should focus on
the prc is a greater threat than Russia anyway