News for hackers. Stuff that matters.
Re:ChatGPT Desktop (Codex Desktop) for Linux by BodyCulture on Thursday August 13, 2026 @04:00AM (#49282978)
This will make it much easier to trap people into installing it without any isolation just to their primary user account or even make it run with admin privileges by default.

With the recent security related events we already see that it seems to be wide spread practice that many operators avoid the hassle of isolating their agents.

It is just an incredible cultural experience to see how quick stupidity gets accepted as a behavioural default.

Re:ChatGPT Desktop (Codex Desktop) for Linux by usef- on Thursday August 13, 2026 @04:16AM (#49283076)
I agree most don't take sandboxing seriously enough, but I wouldn't be surprised if the built in protections are better than what most typical users are currently doing.
Re:ChatGPT Desktop (Codex Desktop) for Linux by justincormack on Thursday August 13, 2026 @04:58AM (#49283321)
The cli does that already with codex on linux
Re:ChatGPT Desktop (Codex Desktop) for Linux by bloak on Thursday August 13, 2026 @05:36AM (#49283571)
Bubblewrap gets a bit confused inside a Docker container. If anyone knows how to run Codex inside a Docker container on Linux without it constantly complaining about a broken bubblewrap, please tell.
Re:ChatGPT Desktop (Codex Desktop) for Linux by embedding-shape on Thursday August 13, 2026 @05:49AM (#49283667)
> If anyone knows how to run Codex inside a Docker container on Linux without it constantly complaining about a broken bubblewrap, please tell.

Why would you even use bubblewrap once it's running in a container? I've been running Codex in a container since it was publicly available, not even sure what you'd use bubblewrap for when you already separated codex from the rest of your filesystem?

Re:ChatGPT Desktop (Codex Desktop) for Linux by ab71e5 on Thursday August 13, 2026 @07:51AM (#49284602)
Doesn't it automatically use bwrap if it's installed (in the container in this case)?
Re:ChatGPT Desktop (Codex Desktop) for Linux by krzyk on Thursday August 13, 2026 @09:04AM (#49285310)
Don't install bubblewrap? I didn't and use codex in docker.
Re:ChatGPT Desktop (Codex Desktop) for Linux by bloak on Thursday August 13, 2026 @11:12AM (#49287249)
"Codex could not find bubblewrap on PATH. Install bubblewrap with your OS package manager. See the sandbox prerequisites: ... Codex will use the bundled bubblewrap in the meantime."

I think neither the bundled bubblewrap nor the Ubuntu 24.04 bubblewrap works properly under Docker with the default options ... Yes, I've just tested that by asking Codex to "Test that bubblewrap is working properly" and then "Test again" after apt-get install bubblewrap.

EDIT: So the solution is to run "codex --dangerously-bypass-approvals-and-sandbox" in a Docker container?

Re:ChatGPT Desktop (Codex Desktop) for Linux by eadwu on Thursday August 13, 2026 @05:29PM (#49292103)

    cap_add:
      - SYS_ADMIN
    security_opt:
      - seccomp:unconfined
      - apparmor:unconfined
Re:ChatGPT Desktop (Codex Desktop) for Linux by Phemist on Thursday August 13, 2026 @05:50PM (#49292295)
This kills the isolation.
Re:ChatGPT Desktop (Codex Desktop) for Linux by krzyk on Friday August 14, 2026 @02:09AM (#49295239)
What do you mean by "bundled bubblewrap nor the Ubuntu 24.04 bubblewrap works properly under Docker with the default options"?

Does it break anything? I didn't notice, I always run codex in "yolo" mode (the whole purpose of running it in docker).

Re:ChatGPT Desktop (Codex Desktop) for Linux by sh34r on Thursday August 13, 2026 @12:02PM (#49288002)
You have to add Linux capabilities to support creating nested namespaces. IIRC SYS_ADMIN is required. If you do that, what do you think you’re achieving with the container? It defeats the entire purpose IMO, just makes development more inconvenient.

If you need the sandboxing capabilities provided by the application and don’t want to run it on the host, you should set up a VM, not a container.

From a systems perspective, it’s foolish to rely on a proprietary application to provide its own isolation guarantees. This is an OS-layer responsibility.

ML/AI experts suffer badly from hubris. They are brilliant in one domain. It transfers poorly to systems engineering. The proof is in the FelonyBench results.

Re:ChatGPT Desktop (Codex Desktop) for Linux by fg137 on Thursday August 13, 2026 @06:55AM (#49284118)
At least on Windows/Mac, a significant number of users of this app are non developers, and you should tame your expectations about them handling things like "isolation".

Even for developers working on Linux, you'll be surprised how many have never run a docker command in their life.

Re:ChatGPT Desktop (Codex Desktop) for Linux by pjmlp on Thursday August 13, 2026 @09:37AM (#49285733)
A proof that normies just can't handle security is that when OS X came to be, many Mac OS users used to ask how to disable the root/regular user dichotomy.

Or the long process to educate Windows users, and developers as well, to not run as Administrator.