docs: explain SSRF egress interaction - #4217
Conversation
Signed-off-by: Omri SirComp <omribz156@gmail.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
💤 Files with no reviewable changes (2)
📝 WalkthroughWalkthroughThis PR adds documentation clarifications explaining that OpenShell's SSRF protection operates independently from the network egress whitelist. A warning in the network policy guide and a note in security best practices explain the interaction and advise onboarding binaries at image build time when SSRF denials occur. ChangesSSRF Protection and Egress Policy Interaction
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
✨ Thanks for submitting this detailed PR that clarifies the interaction between SSRF protection and the sandbox egress policy. This proposes a fix for the documentation issue reported in #4209 and updates the security best-practices page to include a cross-reference to the detailed policy page. Related open issues: |
Summary
Fixes #4209.
This clarifies that adding a host to the sandbox egress policy does not bypass OpenShell's separate SSRF protection. The network-policy page now calls out that endpoint, port, method, and binary policy checks are separate from internal-address blocking, and points runtime binary/download failures toward build-time sandbox image installation with
nemoclaw onboard --from.The security best-practices page also adds a short cross-reference from Network Controls back to the detailed policy page.
Related Issue
Closes #4209.
Changes
Verification
Verification run:
git diff --checkrg -n "SSRF|internal-address|onboard --from|egress policy permits" docs/network-policy/customize-network-policy.mdx docs/security/best-practices.mdxnpx --yes fern-api@5.35.4 checkfromfern/reportedFound 0 errors and 2 warnings, then exited with a Windows libuv assertion (Assertion failed: !(handle->flags & UV_HANDLE_CLOSING))Implemented with Codex assistance; I manually scoped and reviewed the docs-only patch.
Signed-off-by: Omri SirComp omribz156@gmail.com
Summary by CodeRabbit