If your FOSS-developed app wants to open a network socket to an IP address that isn't on the government whitelist, then the OS will perform an OSCP check to ensure the (hash of the) binary has been recorded, along with the identity of its developer, in a corporate or government-run database.
Yes, but nobody has to program on them. FOSS is a thing.