This it getting downvoted maybe because it sounds nasty, but I think there's a relevant point here. Govt open source funding is something that external countries can benefit from, but I think a) the US is so big that any unfairness to them would be outweighed by benefits to themselves and society b) I have an uninformed guess that most government software is not groundbreakingly brilliant so there's quite a small subset that would be interesting to "steal", c) for smaller countries maybe this should be a treaty thing, would be interesting for example for the EU to vote on it, or put it into trade deals.