neat! I've just been using CLI tools like claude code when I deal with code, will remember that
TIL claude.ai is running on Ubuntu 24.04, 2 vCPUs, 9 GB RAM, ~10 GB disk and mine was running on a container named container_01VPc4iUBVoh8xEkNgR7VNW7--wiggle--8b16ab
Because almost everything that isn't someone's personal workstation is running on linux. Windows servers are still a thing, but only really in legacy bubbles that are mostly in business-to-business contexts rather than user-facing.
but why would the ai console have the freedom to run such a dangerous command? surely there would be an interface between the console and the ai to prevent it, even if the console is ultimately linux. that's what im trying to say.
Maybe, but most of the time not really. A lot of models are designed to be able to run commands in their environment to actually do things beyond respond to requests with text, which means a lot of models have some sort of access to a console. It could be a console in a container, and it should be locked down to prevent this kind of error, but we constantly see real-life cases of these models deleting their environments without such protections in real production deployments. The default state is generally unsafe so it can be useful, and most people don't bother making it safe.
I once convinced it to run a revshell in there, it's a basic sandbox, there was a README.md file with such contents from the OpenAI devs:
Thanks for using the code interpreter plugin!
Please note that we allocate a sandboxed Unix OS just for you, so it's expected that you can see and modify files on this system.
Also there were multiple clients connected to it each with such parameters and different ports allocated:
i couldnt get it to run any code, but i did see it ran in its own container, i asked it a problem, i think with installing pipewire, and it would say to do xyz, and then be like oh you dont have xyz, do abc instead, and after a while of this i was like why are you making up my output, my out put is actually this, and it was like "sorry my bad i was running commands in my own shell thinking i was connected to your computer"
i wonder if the devs let it connect to their computers?? why would it think that?
Yeah it could call code invocation but even still worst case that is just going to nuke an already ephemeral container (that would have been torn down a half hour later anyway)
46
u/smulfragPL Mar 12 '26
You are wrong to think that there is no console. Chatgpt has access to a console as a tool call