You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[SECURITY] Dockerfile does not explicitly drop Linux capabilities #797
The NemoClaw Dockerfile runs as non-root user sandbox (good), but does not explicitly drop Linux capabilities. The container inherits whatever default capabilities the container runtime provides.
Addressed in #830 — added deployment docs with Docker run and Compose examples for --cap-drop=ALL. Capability dropping is a runtime concern so the fix lives in documentation rather than the Dockerfile itself.
@BenediktSchackenberg There are several issues waiting to address the same point prior to your pr.
This shouldnt be "i was first with code" contest. Didn't you agree before opening the issue that you checked all previous issues and it didnt overlap? And how does this cover #797 ?
Fair point — you're right that our PR doesn't actually enforce capability dropping at the container level. That's a runtime concern (docker run / compose flags), not something the Dockerfile itself can do. We only documented it in the hardening guide, which isn't the same as fixing it.
Removing #797 from the PR's "Fixes" list. The docs guidance can still be useful alongside a proper fix, but this issue deserves its own focused solution.
Activity
fix: harden sandbox image — remove unnecessary tools, drop capabiliti…
BenediktSchackenberg commentedon Mar 24, 2026
Addressed in #830 — added deployment docs with Docker run and Compose examples for --cap-drop=ALL. Capability dropping is a runtime concern so the fix lives in documentation rather than the Dockerfile itself.
h-network commentedon Mar 25, 2026
@BenediktSchackenberg There are several issues waiting to address the same point prior to your pr.
This shouldnt be "i was first with code" contest. Didn't you agree before opening the issue that you checked all previous issues and it didnt overlap? And how does this cover #797 ?
Please follow the guidelines
BenediktSchackenberg commentedon Mar 25, 2026
Fair point — you're right that our PR doesn't actually enforce capability dropping at the container level. That's a runtime concern (docker run / compose flags), not something the Dockerfile itself can do. We only documented it in the hardening guide, which isn't the same as fixing it.
Removing #797 from the PR's "Fixes" list. The docs guidance can still be useful alongside a proper fix, but this issue deserves its own focused solution.
fix: harden sandbox image — remove unnecessary tools, drop capabiliti…
fix(security): drop unnecessary Linux capabilities at container startup
fix(security): drop unnecessary Linux capabilities at container start…
fix: harden sandbox image — remove unnecessary tools, drop capabiliti…
fix: harden sandbox image — remove gcc/netcat, add process limits, dr…
fix(security): drop unnecessary Linux capabilities at container start…
fix: harden sandbox image — remove gcc/netcat, add process limits, dr…
fix(security): drop cap_fowner from sandbox bounding set (NVIDIA#797)
fix(gateway): patch os.networkInterfaces() for ciao Docker/seccomp cr…
fix(sandbox): tighten bounding-set caps (#3328)