Ask HN: Is there a precedent for legislation that mandates code changes to OSS?

I was reading this post on HN earlier today about how the White House may consider executive action or legislation to ban Bitcoin mining: https://news.ycombinator.com/item?id=32789325 When reading the linked article and the White House press release (https://www.whitehouse.gov/ostp/news-updates/2022/09/08/fact-sheet-climate-and-energy-implications-of-crypto-assets-in-the-united-states/), this particular section jumped out at me: > Should these measures prove ineffective at reducing impacts, the Administration should explore executive actions, and […]