@grendel84 I take it that "they" means the States? It's part of my current job to help public sector organisations release their source code under a Free Software licence, and I can tell you: the cost is not "very little" 😶 But yeah, agreed on the security argument.
We're slowly getting there:
🇳🇱 https://developer.overheid.nl/repositories
🇮🇹 https://developers.italia.it/en/search.html?type=software_open&sort_by=release_date&page=0
🇩🇪 https://opencode.de/en
🥖 https://code.gouv.fr/sources/