If the nation survives this insanity, the software will have to be rewritten from scratch, otherwise it is impossible to know which actors, both foreign and domestic, have the knowledge of the systems.
Has everyone forgotten the lessons of open-source cryptography all of a sudden? Just because the systems are public does not mean that they are vulnerable, and "security through obscurity" is no security at all.