Skip to content

fix(security): backport libssh2 public key fixes - #8941

Merged
senthilr-nv merged 21 commits into
mainfrom
codex/security-libssh2-5805x
Aug 13, 2026
Merged

senthilr-nv merged 21 commits into
mainfrom
codex/security-libssh2-5805x

Conversation

@senthilr-nv

@senthilr-nv senthilr-nv commented Aug 13, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Backport the upstream fixes for CVE-2026-58050 and CVE-2026-58051 into the checksum-pinned libssh2 1.11.1 package used by all three managed base images.
The package revision advances from +nemoclaw1 to +nemoclaw2 so image inventory and runtime checks require the corrected build.

Changes

  • Add upstream commits a9758da45a52bc8c630ec9493804d0c6ea30b24a and 7c8a170c6dca3cd4cf24de836f43ba1a20e662d5 to the existing reviewed libssh2 patch bundle.
  • Initialize each expanded public-key list entry before parsing or cleanup.
  • Reject oversized public-key packet fields above LIBSSH2_PACKET_MAXPAYLOAD.
  • Require libssh2-1t64=1.11.1-1+deb13u1+nemoclaw2 in the builder, completed images, immutable inventories, and test fixtures.
  • Preserve the full upstream libssh2 test selection and add exact commit and patch-contract checks.
  • Record the new package contract, affected image boundaries, removal condition, and remaining multi-architecture publication gate.

Type of Change

  • 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)

Quality Gates

  • Tests added or updated for changed behavior
  • Existing tests cover changed behavior — justification:
  • Tests not applicable — justification:
  • Docs updated for user-facing behavior changes
  • Docs not applicable — justification: The package update changes no user-facing command, configuration, policy, or workflow; the repository-owned security dependency review is included.
  • Sensitive paths changed (security, policy, credentials, preflight, onboarding, inference, runner, sandbox, or messaging)
  • Sensitive-path review completed or maintainer-approved waiver recorded — reviewer/approval link/justification: Codex Desktop reviewed commit 93f1899f9 against all nine security-rubric categories and found no actionable issue. Source and original Debian packages remain HTTPS-only and SHA-256 pinned; patch application, architecture, symbol, soname, runtime, inventory, and package-state checks fail closed.
  • Non-success, skipped, or missing CI check accepted by maintainer — check name, approval link, and follow-up issue:

Documentation Writer Review

  • Documentation writer subagent reviewed the completed changes
  • Result: docs-updated
  • Evidence: docs/security/managed-base-libssh2-1.11.1-nemoclaw2-dependency-review.md records the reviewed artifacts, security concerns, package contract, affected images, removal condition, and remaining publication and rescan gates.
  • Agent: Codex Desktop

DGX Station Hardware Evidence

  • Tested on DGX Station
  • Tested commit: Not applicable
  • Station profile/scenario: Not applicable; scripts/prepare-dgx-station-host.sh is unchanged.
  • Result: Not applicable
  • Supporting evidence: Not applicable

Verification

  • PR description includes a Signed-off-by: line and every commit appears as Verified in GitHub
  • 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
  • Targeted behavior tests pass for the current change set, or tests are marked not applicable above — the native package, managed security-package, remote-dashboard lifecycle, and managed-image workflow suites pass, 101 tests total; the patched source also compiled successfully against OpenSSL 3.
  • Applicable broad gate passed — GitHub CI remains the authoritative broad and multi-architecture image gate.
  • Quality Gates section completed with required justifications or waivers
  • No secrets, API keys, or credentials committed
  • npm run docs builds without warnings (doc changes only) — the build passed with zero errors and two existing Fern warnings.
  • Doc pages follow the style guide (doc changes only)
  • New doc pages include SPDX header and frontmatter (new pages only) — this Markdown security review includes the required SPDX header; frontmatter is not used for this directory.

Signed-off-by: Senthil Ravichandran [email protected]

@senthilr-nv senthilr-nv self-assigned this Aug 13, 2026
@coderabbitai

coderabbitai Bot commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Updates libssh2 from nemoclaw1 to nemoclaw2 across package builds, managed images, inventories, mocks, and tests. Adds security fixes, dependency review evidence, and a canonical Dockerfile instruction digest.

Changes

libssh2 revision 2 update

Layer / File(s) Summary
libssh2 security patch and validation
scripts/security/patches/libssh2-1.11.1-cve-2026.patch, scripts/security/build-native-security-packages.sh, test/native-security-packages.test.ts, docs/security/...
Adds bounds checks, size validation, cleanup handling, patch metadata, package revision data, dependency review evidence, and patch-boundary tests.
Package identity propagation and image verification
Dockerfile*, agents/*/Dockerfile*, src/lib/sandbox-base-image/security-inventory.ts, src/lib/onboard/dockerfile-remote-dashboard-bind-contract.ts, test/helpers/*, test/sandbox-base-security-packages.test.ts
Updates package pins, installed-package checks, inventories, mocks, expected test entries, and the canonical Dockerfile instruction digest.

Estimated code review effort: 3 (Moderate) | ~30 minutes

Mergeability Score: 🟠 High · up to f6171

The libssh2 security backport does not yet cap attacker-controlled public-key attribute counts before allocation and parsing, leaving the intended vulnerability fix incomplete and potentially allowing excessive resource use. The PR is not merge-ready until this security correction is added or explicitly accepted.

Sequence Diagram(s)

sequenceDiagram
  participant BuildScript
  participant Libssh2Patch
  participant PackageTests
  participant ManagedImages
  BuildScript->>Libssh2Patch: Build libssh2 nemoclaw2
  Libssh2Patch->>PackageTests: Provide patched source
  PackageTests->>ManagedImages: Validate package revision and patch boundaries
  ManagedImages->>ManagedImages: Verify inventory and installed package version
Loading

Suggested labels: area: security, bug-fix

Suggested reviewers: apurvvkumaria, cv

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: backporting libssh2 public-key security fixes.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/security-libssh2-5805x

Comment @coderabbitai help to get the list of available commands.

@github-code-quality

github-code-quality Bot commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / code-coverage/plugin

The overall coverage in commit 1c73e55 in the codex/security-libss... branch remains at 96%, unchanged from commit a44610a in the codex/security-vim-9... branch.

TypeScript / code-coverage/cli

The overall coverage in commit 1c73e55 in the codex/security-libss... branch remains at 82%, unchanged from commit a44610a in the codex/security-vim-9... branch.

Show a code coverage summary of the most impacted files.
File codex/security-vim-9... a44610a codex/security-libss... 1c73e55 +/-
src/lib/onboard...der/snapshot.ts 83% 75% -8%
src/lib/onboard...press-resume.ts 82% 78% -4%
src/lib/securit...ntial-filter.ts 95% 91% -4%
src/lib/inferen...ollama/proxy.ts 36% 33% -3%
src/lib/state/o...d-checkpoint.ts 87% 90% +3%
src/lib/trace.ts 90% 94% +4%
src/lib/cua/run...ime-manifest.ts 84% 91% +7%
src/lib/cua/contract.ts 80% 87% +7%
src/lib/cua/bounded-file.ts 84% 94% +10%
src/lib/actions...ocker-health.ts 61% 78% +17%

Updated August 13, 2026 03:06 UTC

@github-actions

github-actions Bot commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

PR Review Advisor — No blocking findings reported

Advisor assessment: No blocking advisor findings reported
Next action: No advisor follow-up needed.
Findings: 0 blockers · 0 warnings · 0 suggestions

Model lanes

  • GPT-5.6 Terra (primary): Completed · high confidence · 0 blockers · 0 warnings · 0 suggestions
  • Nemotron 3 Ultra (second opinion): Failed

Second-opinion terminology and E2E selections are advisory. Live E2E does not run automatically for pull requests.

3 semantic terminology decisions

Terminology decisions are advisory. They affect the assessment only when a separate finding identifies concrete semantic impact.

  • established — managed base image at docs/security/managed-base-libssh2-1.11.1-nemoclaw2-dependency-review.md:49: Keep the established term.
  • established — package contract at docs/security/managed-base-libssh2-1.11.1-nemoclaw2-dependency-review.md:39: Keep the controlled term.
  • justified — public-key list at docs/security/managed-base-libssh2-1.11.1-nemoclaw2-dependency-review.md:33: Keep the modifier because it identifies the affected parsing structure.

E2E guidance

Advisory only. A maintainer can dispatch the default E2E suite for the commit under review.

Recommended E2E: None

Manual-only E2E: cloud-inference, cloud-onboard, full-e2e, hermes-e2e, hermes-inference-switch, managed-image-multiarch-startup, security-posture, onboard-repair, onboard-resume, ubuntu-repo-cloud-langchain-deepagents-code
The manual PR workflow does not run these selectors for the commit under review. Run them from reviewed code on main.

Workflow run details

This automated review informs maintainers. Warnings and suggestions do not require a response. A maintainer decides whether to merge.

Base automatically changed from codex/security-vim-9-2-0858 to main August 13, 2026 03:07
@copy-pr-bot

copy-pr-bot Bot commented Aug 13, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@senthilr-nv
senthilr-nv merged commit ce96811 into main Aug 13, 2026
41 of 42 checks passed
@senthilr-nv
senthilr-nv deleted the codex/security-libssh2-5805x branch August 13, 2026 03:16

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@scripts/security/patches/libssh2-1.11.1-cve-2026.patch`:
- Around line 184-263: In libssh2_publickey_list_fetch, validate
list[keys].num_attrs against LIBSSH2_PACKET_MAXPAYLOAD before allocating the
attribute array or entering its parsing loop. On violation, report
LIBSSH2_ERROR_OUT_OF_BOUNDARY with an appropriate error message and jump to
err_exit; clear list[keys] as needed so sentinel-based cleanup remains valid.

Apply the same fix in `@scripts/security/patches/libssh2-1.11.1-cve-2026.patch`
around lines 9 - 10: The bundle-level omission and the allocation-site defect
are the same missing CVE-2026-58050 remediation.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 445630da-a8de-4a9d-bc46-4633be4a406b

📥 Commits

Reviewing files that changed from the base of the PR and between efce512 and f6171c1.

📒 Files selected for processing (15)
  • Dockerfile
  • Dockerfile.base
  • agents/hermes/Dockerfile
  • agents/hermes/Dockerfile.base
  • agents/langchain-deepagents-code/Dockerfile
  • agents/langchain-deepagents-code/Dockerfile.base
  • docs/security/managed-base-libssh2-1.11.1-nemoclaw2-dependency-review.md
  • scripts/security/build-native-security-packages.sh
  • scripts/security/patches/libssh2-1.11.1-cve-2026.patch
  • src/lib/onboard/dockerfile-remote-dashboard-bind-contract.ts
  • src/lib/sandbox-base-image/security-inventory.ts
  • test/helpers/base-apt-security-functions.ts
  • test/helpers/onboard-script-mocks.cjs
  • test/native-security-packages.test.ts
  • test/sandbox-base-security-packages.test.ts

Comment on lines +184 to +263
@@ -1029,6 +1060,12 @@ libssh2_publickey_list_fetch(LIBSSH2_PUBLICKEY * pkey, unsigned long *num_keys,
goto err_exit;
}

+ if(list[keys].name_len > LIBSSH2_PACKET_MAXPAYLOAD) {
+ _libssh2_error(session, LIBSSH2_ERROR_OUT_OF_BOUNDARY,
+ "Public key name too large");
+ goto err_exit;
+ }
+
if(pkey->listFetch_s + list[keys].name_len <=
pkey->listFetch_data + pkey->listFetch_data_len) {
list[keys].name = pkey->listFetch_s;
@@ -1051,6 +1088,12 @@ libssh2_publickey_list_fetch(LIBSSH2_PUBLICKEY * pkey, unsigned long *num_keys,
goto err_exit;
}

+ if(list[keys].blob_len > LIBSSH2_PACKET_MAXPAYLOAD) {
+ _libssh2_error(session, LIBSSH2_ERROR_OUT_OF_BOUNDARY,
+ "Public key blob too large");
+ goto err_exit;
+ }
+
if(pkey->listFetch_s + list[keys].blob_len <=
pkey->listFetch_data + pkey->listFetch_data_len) {
list[keys].blob = pkey->listFetch_s;
@@ -1076,6 +1119,12 @@ libssh2_publickey_list_fetch(LIBSSH2_PUBLICKEY * pkey, unsigned long *num_keys,
goto err_exit;
}

+ if(list[keys].name_len > LIBSSH2_PACKET_MAXPAYLOAD) {
+ _libssh2_error(session, LIBSSH2_ERROR_OUT_OF_BOUNDARY,
+ "Public key name too large");
+ goto err_exit;
+ }
+
if(pkey->listFetch_s + list[keys].name_len <=
pkey->listFetch_data + pkey->listFetch_data_len) {
list[keys].name = pkey->listFetch_s;
@@ -1098,6 +1147,12 @@ libssh2_publickey_list_fetch(LIBSSH2_PUBLICKEY * pkey, unsigned long *num_keys,
goto err_exit;
}

+ if(list[keys].blob_len > LIBSSH2_PACKET_MAXPAYLOAD) {
+ _libssh2_error(session, LIBSSH2_ERROR_OUT_OF_BOUNDARY,
+ "Public key blob too large");
+ goto err_exit;
+ }
+
if(pkey->listFetch_s + list[keys].blob_len <=
pkey->listFetch_data + pkey->listFetch_data_len) {
list[keys].blob = pkey->listFetch_s;
@@ -1145,6 +1200,13 @@ libssh2_publickey_list_fetch(LIBSSH2_PUBLICKEY * pkey, unsigned long *num_keys,
goto err_exit;
}

+ if(list[keys].attrs[i].name_len >
+ LIBSSH2_PACKET_MAXPAYLOAD) {
+ _libssh2_error(session, LIBSSH2_ERROR_OUT_OF_BOUNDARY,
+ "Public key attribute name too large");
+ goto err_exit;
+ }
+
if(pkey->listFetch_s + list[keys].attrs[i].name_len <=
pkey->listFetch_data + pkey->listFetch_data_len) {
list[keys].attrs[i].name =
@@ -1171,6 +1233,13 @@ libssh2_publickey_list_fetch(LIBSSH2_PUBLICKEY * pkey, unsigned long *num_keys,
goto err_exit;
}

+ if(list[keys].attrs[i].value_len >
+ LIBSSH2_PACKET_MAXPAYLOAD) {
+ _libssh2_error(session, LIBSSH2_ERROR_OUT_OF_BOUNDARY,
+ "Public key attribute value too large");
+ goto err_exit;
+ }
+
if(pkey->listFetch_s +
list[keys].attrs[i].value_len <=
pkey->listFetch_data + pkey->listFetch_data_len) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔒 Security & Privacy | 🟠 Major | ⚡ Quick win

Bound list[keys].num_attrs before allocation and parsing.

The bundle initializes expanded public-key entries and checks packet field sizes, but it still omits the CVE-2026-58050 fix that caps attacker-controlled list[keys].num_attrs at 1024 before allocation and the parsing loop. Add that bound before allocation; otherwise oversized attribute counts can still drive excessive allocation/parsing and the backport remains incomplete.

📍 Affects 1 file
  • scripts/security/patches/libssh2-1.11.1-cve-2026.patch#L184-L263 (this comment)
  • scripts/security/patches/libssh2-1.11.1-cve-2026.patch#L9-L10
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@scripts/security/patches/libssh2-1.11.1-cve-2026.patch` around lines 184 -
263, In libssh2_publickey_list_fetch, validate list[keys].num_attrs against
LIBSSH2_PACKET_MAXPAYLOAD before allocating the attribute array or entering its
parsing loop. On violation, report LIBSSH2_ERROR_OUT_OF_BOUNDARY with an
appropriate error message and jump to err_exit; clear list[keys] as needed so
sentinel-based cleanup remains valid.

Apply the same fix in `@scripts/security/patches/libssh2-1.11.1-cve-2026.patch`
around lines 9 - 10: The bundle-level omission and the allocation-site defect
are the same missing CVE-2026-58050 remediation.

prekshivyas added a commit to HOYALIM/NemoClaw that referenced this pull request Aug 13, 2026
<!-- markdownlint-disable MD041 -->
## Summary

Backport the upstream fixes for `CVE-2026-58050` and `CVE-2026-58051`
into the checksum-pinned libssh2 1.11.1 package used by all three
managed base images.
The package revision advances from `+nemoclaw1` to `+nemoclaw2` so image
inventory and runtime checks require the corrected build.

## Changes

- Add upstream commits `a9758da45a52bc8c630ec9493804d0c6ea30b24a` and
`7c8a170c6dca3cd4cf24de836f43ba1a20e662d5` to the existing reviewed
libssh2 patch bundle.
- Initialize each expanded public-key list entry before parsing or
cleanup.
- Reject oversized public-key packet fields above
`LIBSSH2_PACKET_MAXPAYLOAD`.
- Require `libssh2-1t64=1.11.1-1+deb13u1+nemoclaw2` in the builder,
completed images, immutable inventories, and test fixtures.
- Preserve the full upstream libssh2 test selection and add exact commit
and patch-contract checks.
- Record the new package contract, affected image boundaries, removal
condition, and remaining multi-architecture publication gate.

## Type of Change

- [ ] Code change (feature, bug fix, or refactor)
- [x] Code change with doc updates
- [ ] Doc only (prose changes, no code sample modifications)
- [ ] Doc only (includes code sample changes)

## Quality Gates

- [x] Tests added or updated for changed behavior
- [ ] Existing tests cover changed behavior — justification:
- [ ] Tests not applicable — justification:
- [ ] Docs updated for user-facing behavior changes
- [x] Docs not applicable — justification: The package update changes no
user-facing command, configuration, policy, or workflow; the
repository-owned security dependency review is included.
- [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: Codex Desktop reviewed
commit `93f1899f9` against all nine security-rubric categories and found
no actionable issue. Source and original Debian packages remain
HTTPS-only and SHA-256 pinned; patch application, architecture, symbol,
soname, runtime, inventory, and package-state checks fail closed.
- [ ] Non-success, skipped, or missing CI check accepted by maintainer —
check name, approval link, and follow-up issue:

## Documentation Writer Review

- [x] Documentation writer subagent reviewed the completed changes
- Result: `docs-updated`
- Evidence:
`docs/security/managed-base-libssh2-1.11.1-nemoclaw2-dependency-review.md`
records the reviewed artifacts, security concerns, package contract,
affected images, removal condition, and remaining publication and rescan
gates.
- Agent: Codex Desktop
<!-- docs-review-head-sha: f6171c1 -->
<!-- docs-review-agents-blob-sha: c4923a3 -->

## DGX Station Hardware Evidence

- [ ] Tested on DGX Station
- Tested commit: Not applicable
- Station profile/scenario: Not applicable;
`scripts/prepare-dgx-station-host.sh` is unchanged.
- Result: Not applicable
- Supporting evidence: Not applicable

## Verification

- [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 — the native package, managed
security-package, remote-dashboard lifecycle, and managed-image workflow
suites pass, 101 tests total; the patched source also compiled
successfully against OpenSSL 3.
- [ ] Applicable broad gate passed — GitHub CI remains the authoritative
broad and multi-architecture image gate.
- [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) — the
build passed with zero errors and two existing Fern warnings.
- [x] 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)
— this Markdown security review includes the required SPDX header;
frontmatter is not used for this directory.

---

Signed-off-by: Senthil Ravichandran <[email protected]>

---------

Signed-off-by: Senthil Ravichandran <[email protected]>
Co-authored-by: Prekshi Vyas <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
(cherry picked from commit ce96811)
@sandl99 sandl99 mentioned this pull request Aug 13, 2026
11 of 23 tasks
sandl99 added a commit that referenced this pull request Aug 13, 2026
<!-- markdownlint-disable MD041 -->
## Summary

Refresh the Deep Agents Code staging QA source from `af2a73f…` to PR
#8941's merge commit, `ce96811…`. The rebuilt staging base now contains
the `libssh2` `nemoclaw2` inventory required by current candidate
images, so unrelated PRs such as #8903 no longer inherit this mismatch
from `main`.

## Changes

- Pin `STAGING_QA_SOURCE_SHA` to
`ce96811ddb418ad01c040521a1fe912b5bcb405e`.
- Update the workflow comment and exact integration assertion for the
`nemoclaw2` contract.
- Root cause: PR #8941 advanced the managed-image `libssh2` contract,
while the staging QA source remained on the earlier `nemoclaw1`
inventory.
- Detection gap: the source test enforced the recorded SHA but could not
establish image compatibility. The staging QA job detected the package
mismatch and remains the integration evidence for this repair.

## Type of Change

- [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)

## Quality Gates

- [x] Tests added or updated for changed behavior
- [ ] Existing tests cover changed behavior — justification:
- [ ] Tests not applicable — justification:
- [ ] Docs updated for user-facing behavior changes
- [x] Docs not applicable — justification: This change only refreshes an
internal staging QA source pin and its exact workflow assertion. It
changes no CLI, public configuration, API, default, or supported user
workflow.
- [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: Codex Desktop reviewed
commit `7445324bf` across all nine security categories. The full commit
SHA remains immutable, checkout credentials remain disabled, permissions
remain `contents: read`, and identity failures still stop the job.
- [ ] Non-success, skipped, or missing CI check accepted by maintainer —
check name, approval link, and follow-up issue:

## Documentation Writer Review

- [x] Documentation writer subagent reviewed the completed changes
- Result: `no-docs-needed`
- Evidence: Independent review: PASS — the internal staging comment
identifies the exact libssh2 inventory mismatch and the workflow
assertion pins the same reviewed source; no supported user-facing
behavior changes.
- Agent: Codex Desktop
<!-- docs-review-head-sha: 7445324 -->
<!-- docs-review-agents-blob-sha: c4923a3 -->

## DGX Station Hardware Evidence

- [ ] Tested on DGX Station
- Tested commit: Not applicable
- Station profile/scenario: Not applicable;
`scripts/prepare-dgx-station-host.sh` is unchanged.
- Result: Not applicable
- Supporting evidence: Not applicable

## Verification

- [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 — `npx vitest run --project integration
test/managed-image-publication-workflow.test.ts` passed 19 tests.
- [ ] Applicable broad gate passed — `npm test` for broad
runtime/test-harness changes; `npm run check` for repo-wide
validation/coverage changes — not applicable to this focused workflow
pin update.
- [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: San Dang <[email protected]>


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Chores**
* Updated the staging quality-assurance workflow to use the latest
approved source revision and description.
* Improved consistency between staging validation settings and the
intended candidate configuration.

* **Tests**
* Updated workflow validation expectations to reflect the revised
staging source revision.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@senthilr-nv

Copy link
Copy Markdown
Collaborator Author

Claiming the remaining Hermes main E2E image-build failures. Run 31697332892 job 94439945297 consumes the stale default Hermes base digest 4295138eb70f938189430f8dc7b3cd5db0aa762234e64e398a6a5ef60803126c, then fails the completed-image security package contract introduced here. Images / Base Images run 31695217175 published and validated replacement digest c9a3abd9e99816677d221a4d36001cf243263719f9065150a95603ba048c60c0 in job 94432455087. Exact-digest and Hermes base-refresh searches found no open PR owner. I will send a small draft PR that refreshes this one pin and its owning contract documentation.

@senthilr-nv

Copy link
Copy Markdown
Collaborator Author

Correction to the digest role above after reading the publication contract artifact: 10c9ad00c5355b91cc905d44b74623b48477adca4b6ae69868af614710a18666 is the published multi-platform OCI index that the Dockerfile must pin. c9a3abd9e99816677d221a4d36001cf243263719f9065150a95603ba048c60c0 is its validated linux/amd64 child used by job 94432455087; linux/arm64 is 7f22df12550d7f137ee601c8dbad6b3832e0bce66180733d7f88008ac6d518a5. The exact 10c9ad00 index search also found no open PR owner.

@wscurran wscurran added the bug-fix PR fixes a bug or regression label Aug 25, 2026
@wscurran wscurran added area: packaging Packages, images, registries, installers, or distribution area: security Security controls, permissions, secrets, or hardening platform: container Affects Docker, containerd, Podman, or images labels Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: packaging Packages, images, registries, installers, or distribution area: security Security controls, permissions, secrets, or hardening bug-fix PR fixes a bug or regression platform: container Affects Docker, containerd, Podman, or images

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants