logoalt Hacker News

beacon294today at 11:49 AM2 repliesview on HN

My codex just uses python to write files around the sandbox when I ask it to patch a sdk outside its path.


Replies

valleyertoday at 1:49 PM

Is it asking you permission to run that python command? If so, then that's expected: commands that you approve get to run without the sandbox.

The point is that Codex can (by default) run commands on its own, without approval (e.g., running `make` on the project it's working on), but they're subject to the imposed OS sandbox.

This is controlled by the `--sandbox` and `--ask-for-approval` arguments to `codex`.

Sharlintoday at 11:58 AM

It's definitely not a sandbox if you can just "use python to write files" outside of it o_O

show 1 reply