If you wouldn't automatically download and run code from an inference provider, then you shouldn't use that inference provider.
It seems like we are in a “Nobody got fired for buying IBM” situation, but replacing IBM with OpenAI, Anthropic, etc.
The trouble is to do useful work you need to confer privilege and permissions.
With a binary, it's pretty easy to statically analyze what that security envelope looks like; but for models? Cloud models?
There's basically no insight into what that looks like except deny all. But deny all makes them practically useless for the work they can do.
I find it kind of insane that OSes bundle everything under “user”. Skyrim save data? User data. Bank credentials? User data. The complete and utter lack of controls is quite amazing to be honest.
If you are working as a dev you need a git repo, perhaps some temporary keys issued for that work session and that’s it. Of course you can still do damage that way, but giving arbitrary file access to all processes by defaults feels asinine.
To give a nice example, codex on Windows at least has read access to your entire disk by default. Why?! There is no reason. Why no simple mechanism to grant directory access in a granular way? Why not exclude universal secret folders like .ssh? It’s not rocket science. 99% of things are common, universal pitfalls. Let’s worry about the 1% when the 99% is handled.
How do you trust an LLM?
If you trust people who make it, you're vulnerable to this attack.
And there's not really any other option in this point. No open source when it comes to LLMs.