Skip to content

docs: expand CONTRIBUTING.md with setup, tests, and PR guidelines - #127

Closed
WuKongAI-CMU wants to merge 1 commit into
NVIDIA:mainfrom
WuKongAI-CMU:docs/expand-contributing-guide
Closed

WuKongAI-CMU wants to merge 1 commit into
NVIDIA:mainfrom
WuKongAI-CMU:docs/expand-contributing-guide

Conversation

@WuKongAI-CMU

Copy link
Copy Markdown
Contributor

Summary

  • Adds development setup instructions (clone, install, build)
  • Adds test running instructions (node --test)
  • Adds project layout table showing where code lives
  • Adds PR guidelines (one fix per PR, reference issues, conventional commits)
  • Preserves the existing DCO section unchanged

The current CONTRIBUTING.md only covers DCO sign-off. New contributors need to know how to set up the dev environment, run tests, and submit good PRs.

Test plan

  • Markdown renders correctly on GitHub
  • No production code changes

Adds development setup instructions, test commands, project layout
table, and pull request guidelines above the existing DCO section.

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
…Policy, and nonce replay detection (NVIDIA#127)

* fix(security): harden sandbox SSH with mandatory HMAC secret, NetworkPolicy, and nonce replay detection

Closes NVIDIA#25

- Make NEMOCLAW_SSH_HANDSHAKE_SECRET mandatory: server and sandbox both
  refuse to start if the secret is empty/unset. Cluster deployments
  auto-generate it via openssl rand in the entrypoint script.
- Add Kubernetes NetworkPolicy restricting sandbox port 2222 ingress to
  the gateway pod only, preventing lateral movement from other cluster
  workloads.
- Add NSSH1 nonce replay detection with a TTL-bounded cache, rejecting
  replayed handshakes within the timestamp validity window.
- Add unit tests for verify_preface (valid, replay, expired, bad HMAC,
  malformed) and env injection.

* fix(deploy): pass sshHandshakeSecret in fast deploy helm upgrade

---------

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