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
fix(policy): grant managed startup CA bundle read access (#9391)
Managed startup writes the active CA bundle to
`/run/nemoclaw/managed-startup-ca-bundle.pem`, but the shipping
filesystem policies do not allow agents to read that file. This change
grants exact-file read access without granting access to the mutable
`/run/nemoclaw` directory.
Fixes#9360
- Grant the managed startup CA bundle exact read-only access in each
shipping OpenClaw, Hermes, and LangChain Deep Agents Code baseline and
permissive policy.
- Add a real-policy regression test that covers every shipping
managed-image agent and rejects read or write grants to `/run` and
`/run/nemoclaw`.
- [x] Code change (feature, bug fix, or refactor)
- [ ] Code change with doc updates
- [ ] Doc only (prose changes, no code sample modifications)
- [ ] Doc only (includes code sample changes)
- [x] Tests added or updated for changed behavior
- [ ] Existing tests cover changed behavior — justification:
- [ ] Tests not applicable — justification:
- [x] Sensitive paths changed (security, policy, credentials, preflight,
onboarding, inference, runner, sandbox, or messaging)
- [x] Sensitive-path review completed or maintainer-approved waiver
recorded — reviewer/approval link/justification: [PR Review
Advisor](https://github.com/NVIDIA/NemoClaw/actions/runs/32094112349)
reported 0 blockers, 0 warnings, and 0 suggestions on exact head
`53efaff8d6`; maintainer security review found no findings.
- [ ] Non-success, skipped, or missing CI check accepted by maintainer —
check name, approval link, and follow-up issue:
- [ ] Tested on DGX Station
- Tested commit:
- Station profile/scenario:
- Result:
- Supporting evidence:
- [x] PR description includes a `Signed-off-by:` line and every commit
appears as `Verified` in GitHub
- [x] Normal `pre-commit`, `commit-msg`, and `pre-push` hooks passed, or
`npm run validate:pr` passed after refreshing `origin/main` when hooks
were skipped or unavailable
- [x] Targeted behavior tests pass for the current change set, or tests
are marked not applicable above — command/result or justification: `npx
vitest run --project cli
src/lib/onboard/initial-policy-real-policy.test.ts` passed 59/59; `npm
run validate:configs` validated all 53 configuration files.
- [ ] Applicable broad gate passed — `npm test` for broad
runtime/test-harness changes; `npm run check` for repo-wide
validation/coverage changes — command/result: Not run; this diff changes
six policy entries and one focused regression test.
- [x] Quality Gates section completed with required justifications or
waivers
- [x] No secrets, API keys, or credentials committed
- [ ] `npm run docs` builds without warnings (doc changes only)
- [ ] Doc pages follow the [style
guide](https://github.com/NVIDIA/NemoClaw/blob/main/docs/CONTRIBUTING.md)
(doc changes only)
- [ ] New doc pages include SPDX header and frontmatter (new pages only)
---
Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
* **Bug Fixes**
* Updated sandbox policies to provide read-only access to the managed
startup certificate bundle.
* Ensured startup certificate access does not broaden permissions for
other runtime directories.
* Improved certificate availability during startup while preserving
existing filesystem protections across supported managed agents.
* **Tests**
* Added coverage verifying the certificate bundle is readable, not
writable, and restricted to the intended path across supported managed
agents.
* Expanded policy validation to cover all shipped agent and sandbox
policy combinations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Signed-off-by: Aaron Erickson <aerickson@nvidia.com>
0 commit comments