The US can tariff those out of country services if needed (through a combination of mandatory tax reporting and payment rails monitoring). An example of this today is SaaS taxes [1]. Please provide a non US service as an example and I'll propose how to rapidly replace it domestically. Out of country services can be cloned with LLMs if needed. The US government could sponsor tokens to US entities who employee US workers to clone these offshore or out of country businesses. Can overseas companies outrun the token dispenser and tax code disadvantages? You have to remember that outsourcing is primarily used by US businesses to arbitrage labor while having the US regulatory capture advantage. They want access to the US market without paying US labor costs.
This is what laws are for. "You can just do things."
> It's really hard to do this in a way that won't be trivial to work around, and often in ways where you're likely to like the work around even less.
So is collecting taxes, you just have a government funded entity grind tirelessly to keep closing the gaps. You make it economically burdensome to attempt to workaround. There will always be some leakage. "Work is hard." We know the labor exists in the US. We know offshoring is used to improve profit margins and to disempower workers to get more out of them. It is worth the effort, imho, if you want to keep the capital in the US versus sending it overseas and prioritize domestic workers over someone else's profits.
[1] https://stripe.com/guides/introduction-to-saas-taxability-in...