Repository navigation
Conversation
The eval answered every ask with allow, and the sandbox asks exactly before a write outside the run, so a fake HOME did not keep agents out of the real one: an S1 backup landed in the owner's ~/Backups. The ACP client and allow_waiting now deny a call that names a path in the real home outside the run's root, and allow the rest as before (escalations with no path, system paths, anything in the run). After each run, what changed in the real home a few levels down (past hidden folders and Library) goes to outside.txt and is said on stderr. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGCrVNEpqFFEqPCMbC2
A command's write targets can't be read from its words, so the check now denies what could reach the real home rather than only literal paths in it: a folder above it (cd /Users && mkdir me/x), a `..` that climbs out of the run from its shallowest folder, a `~name`, and a call listed cut (task asks whose arguments were bounded) or one Sonny offered only to deny. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGCrVNEpqFFEqPCMbC2
…scripts Scanning a command's words can't stop a path built at run time (a Python call reading the real home from the user database), so the path check was a mitigation, not isolation. Runs now use an `eval` permissions row: the sandbox writes the agents' folders plus the run's backups and origin, the network (and with it every Unix socket) is off, and every call that would leave the sandbox comes to the eval, which allows only one plain call of ~/.agent/trigger or ~/.agent/memory (no operators, expansions or line breaks) and denies the rest, logging each answer. outside.txt stays as the after-run check. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGCrVNEpqFFEqPCMbC2
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
Security findingsFinding details are still loading. Check the individual review comments. ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e5e9612be3
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Do not merge. This PR exists only to get Codex's automatic security review on #590's current design, which replaced the version reviewed when #590 opened. It's tracked in #531 and will be closed, with its branches deleted, once the findings are handled.
Please check whether a role-eval run can still change anything outside its root:
evalpermissions row: extendsask, network off, writablebackupsandorigin.git.determinable(): the only calls allowed out of the sandbox are plain~/.agent/triggerand~/.agent/memorycalls.