1) Closed source software with no obfuscation and all compiled code accessible in a controlled environment is substantially harder to audit
2) Publishing sources doesn't make it substantially easier for attackers to find vulnerabilities
Take a look at underhanded-c.org/_page_id_25.ht… if you think sources are magic.
AOSP/CopperheadOS/Chromium builds are reproducible. Is it a security feature? We wouldn't claim it to be one...
The best way to do it is leveraging a library or toolchain bug where it's not even a bug in the code written by the adversary...