Doesn't using LLM for coding mean that your code and secrets leak to other companies? How can you be sure that they don't look at it or don't sell it?
The tools like Cursor have privacy mode that ensure that.
Lots of enterprises use Azure, GCP, AWS for the models for these reasons as well.
Regarding the code, I don't believe it is a concern for most of the people, because they use 3rd party git repo anyway, which has exactly the same level of risk