More like, imagine what a state-level actor has done already. Heck they don't even need to carry out hacks of this nature. It would be trivial for a government to embed an agent at any tech company at a way higher level than customer support. Do people really think a top CS graduate recruited to a coveted intelligence role can't pass a FAANG interview?
Think of our top political enemies and consider which direction the Visas go.
Unfortunately, for these countries, H1Bs are very easy to locate.
There are no top CS grads working for any government, other than perhaps academy graduates, and then only temporarily. For a top CS grad, private sector salaries are 5-20x what government will pay, and if they are top CS grads, they'll be smart enough to do the math.
The threat of wilful cooperation by sympathetic employees with loyal ties to their homeland has also been a widely covered in several Chinese cases, less so by Russia. This isn’t isolated to those countries either - it’s almost certainly being done by the west too.