Repository navigation
Sandbox and approval hardening - #1197
Conversation
…puts, tools, pacing Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGDpkiKPsLxySzYXho2
…md trust and reads, commit triggers confined Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGDpkiKPsLxySzYXho2
…, project folders, backup secrets, listings, SECURITY.md Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013jkdGDpkiKPsLxySzYXho2
… and leads by record Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ 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. |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 21d966ea05
ℹ️ 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".
…tree's git folder Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5c3d690f67
ℹ️ 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".
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Over a link, the agent's machine checked where a saved file goes, then made its folders and opened it following every link but one in the file's own place. A folder on the way swapped for a link after the check led the write anywhere the person may write. Now it writes as a confined agent's saves here already are (#1197): each folder below the agent's opened, or made, following no link, and the file opened in it following none. One shared writer serves both. An agent that runs unconfined writes anywhere, as before. Claude-Session: https://claude.ai/code/session_013jkdGHWYTLgA8idNmFy5qp Co-authored-by: Claude <[email protected]>
Hardening of the sandbox, approvals and Sonny's agent handling for 0.10.2. Details will follow in an advisory after the release, per
SECURITY.md.What changes, in short:
outputsand at most its creator's tools. A patch's removals and modes run inside the sandbox's helper, one helper per patch. Rate-limit headers out of range are refused or clamped. AGENTS.md composition reads nothing in the folders kept unreadable.worktreesis read-only, and a checkout writes only its own entry there.SECURITY.mdsays what each rule is, along with the known limits.Regression tests come with each change.
Measurements
On Linux, a sandboxed command's start with 15 worktrees takes 4.5 ms, down from 6.2 ms today (bwrap's base is about 4.2 ms). With a single worktree it is about 0.3 ms slower. Patches spawn one helper whatever the number of files.
Requested by George
Generated by Claude Code