Skip to content

Security review only (do not merge): #542 Dependabot group with the AsyncFd follow-up - #584

Closed
lydakis wants to merge 1 commit into
security-review/542-basefrom
security-review/542
Closed

lydakis wants to merge 1 commit into
security-review/542-basefrom
security-review/542

Conversation

@lydakis

@lydakis lydakis commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

Do not merge. This PR exists only so Codex runs a security review over what #542 landed (tracked in #531). The base is the commit before #542 merged (5d0991c^) and the head is the merge commit 5d0991c. Once findings are fixed on main or filed, this PR gets closed and both security-review/542* branches are deleted.

The bumps themselves were reviewed when #542 opened. What needs a review is the follow-up 5a3fe89: src/sandbox.rs (the approval socket pair) and src/tools/terminal.rs move from the deprecated AsyncFd::new to unsafe { AsyncFd::register(fd) }. Check that the SAFETY argument holds, meaning each wraps an OwnedFd that stays open until the AsyncFd drops.

Bumps aws-lc-rs 1.19.0, aws-lc-sys 0.47.0, libc 0.2.191, reqwest 0.13.5, rustls 0.23.46, rustls-platform-verifier 0.7.1, serde_json 1.0.154, tokio 1.54.1 and tokio-rustls 0.26.6.

tokio 1.54 deprecates AsyncFd::new as unsound without I/O safety; the terminal and the sandbox's socket now register their OwnedFd with AsyncFd::register. With the new reqwest and tokio, hyper refuses a reply that arrives before the request is written, so the stall test's fake server reads the request first.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T06:07:39.078925Z 5d0991c PR opened
🔒 Security Review ✅ Completed 2026-11-01T06:08:23.305643Z 5d0991c PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant