Skip to content

chore: add .nvmrc to pin Node.js 22 - #132

Closed
WuKongAI-CMU wants to merge 1 commit into
NVIDIA:mainfrom
WuKongAI-CMU:chore/add-nvmrc
Closed

WuKongAI-CMU wants to merge 1 commit into
NVIDIA:mainfrom
WuKongAI-CMU:chore/add-nvmrc

Conversation

@WuKongAI-CMU

Copy link
Copy Markdown
Contributor

Summary

  • Add .nvmrc pinning Node.js 22 so nvm use picks the correct version

Aligns with the Dockerfile (node:22-slim), the recommended version in install.sh, and the CI test matrix.

Test plan

  • cat .nvmrc returns 22

🤖 Generated with Claude Code

Matches the Dockerfile base image (node:22-slim) and the recommended
version in install.sh so that `nvm use` picks the right runtime.

Signed-off-by: Peter Tam <[email protected]>
Signed-off-by: peteryuqin <[email protected]>
@WuKongAI-CMU

Copy link
Copy Markdown
Contributor Author

Closing to reduce my open PR count below the repo policy limit and refocus on a smaller set of higher-signal changes. I can revive this branch later if it becomes the right path again.

mafueee pushed a commit to mafueee/NemoClaw that referenced this pull request Mar 28, 2026
Closes NVIDIA#32

Add post-condition checks in drop_privileges() to verify that setgid()
and setuid() actually changed the effective IDs. Also verify that
setuid(0) fails after dropping privileges, confirming root cannot be
re-acquired. This is a defense-in-depth hardening measure per CWE-250
and CERT POS37-C. All added syscalls (geteuid, getegid, setuid) are
async-signal-safe, so they are safe in the pre_exec context.

Co-authored-by: John Myers <[email protected]>
@wscurran wscurran added the chore Build, CI, dependency, or tooling maintenance label Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Build, CI, dependency, or tooling maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants