Skip to content

fix(hermes): refresh OpenSSL base image pin - #10532

Merged
senthilr-nv merged 4 commits into
mainfrom
codex/fix-hermes-openssl-base-pin
Aug 28, 2026
Merged

senthilr-nv merged 4 commits into
mainfrom
codex/fix-hermes-openssl-base-pin

Conversation

@senthilr-nv

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

Copy link
Copy Markdown
Collaborator

Outcome

Hermes Portable sandbox builds now use the published multi-platform base image that contains the OpenSSL 3.5.7 package inventory required by the current final Dockerfile. The public installer and the managed-image validation path therefore select the same reviewed immutable base.

Reason

The Hermes final Dockerfile assertions were refreshed for OpenSSL 3.5.7, but its default base index still selected the preceding package inventory. A fresh Ubuntu 22.04 Portable install failed at the final security-package attestation while CI passed with an override to the newer published base.

Related issues

Part of #9211.

Relates to #10357.

Changes

  • Pin agents/hermes/Dockerfile to published OCI index sha256:d30f58b0374c7d281df07c126cc257baaf63eb051264a575b96099ec037d5e5d.
  • Preserve the existing dependency-review source binding; exact image selection remains qualified at the OCI and managed-image boundaries.
  • Record the exact producer run, source commit, native manifests, SLSA attestations, OpenSSL assertions, and managed-image validation in the internal dependency review.

Verification

  • GitHub Actions producer run 33139220833, attempt 1 — both Hermes base platforms, index publication, both complete managed images, and cohort promotion passed.
  • Exact OCI inspection — index resolves to linux/amd64 manifest sha256:c63cef760ad8bea079764bcde3678595820fcacb15d39100238760b158830374 and linux/arm64 manifest sha256:c3e831704ce2d59e528a3cf33766a8c3b4cfabc0d6b60cb0ae4b2dccc251e9a9; both SLSA attestations bind source 324a886fd05b01f6756bae0371ea503c651fbd11.
  • npx vitest run --project integration test/agents/hermes/hermes-dependency-review.test.ts — 7/7 passed.
  • npx vitest run --project cli src/lib/agent/base-image-hermes-resolution.test.ts — 5/5 passed.
  • npx vitest run --project integration test/agents/hermes/reviewed-hermes-platform-action.test.ts — 12/12 passed.
  • npm run test:changed — growth guardrails 32/32 passed; no changed CLI, plugin, or E2E-support test was selected.
  • npm run build:cli and npm run typecheck:cli — passed.
  • npm run checks:repository — passed.
  • Normal pre-commit, commit-msg, and pre-push hooks — passed.
  • git diff --check and hook gitleaks scan — passed; the diff contains no secrets, API keys, or credentials.

Review notes

The valid Advisor findings were resolved at GitHub-Verified commits 92d4c28d4b95f8313bb97ae2f4c4d61c62f027a5 and 12f681125e537941da4203a196f5ae8713010dee by removing the unapproved Dockerfile-digest-to-Markdown source-shape assertion and consolidating duplicated base-image provenance into one structured ledger. Production bytes are unchanged from the field integration candidate.

This changes the security-sensitive default sandbox base selector. It does not change installer, lifecycle, recovery, policy, credential, or runtime logic. The retained failed field VM remains untouched; a fresh exact integration candidate with #10505 is the remaining Portable field gate.


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

Summary by CodeRabbit

  • Security & Maintenance
    • Updated the Hermes runtime image to a refreshed, security-reviewed version.
    • Included the latest OpenSSL refresh information and multi-platform validation results.
    • Strengthened runtime provenance and promotion records for improved supply-chain assurance.
  • Tests
    • Updated dependency review checks to align with the refreshed image verification process.

@senthilr-nv senthilr-nv self-assigned this Aug 28, 2026
@github-code-quality

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

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / code-coverage/plugin

The overall line coverage in commit 12f6811 in the codex/fix-hermes-ope... branch remains at 96%, unchanged from commit 989842b in the main branch.

TypeScript / code-coverage/cli

The overall line coverage in commit 12f6811 in the codex/fix-hermes-ope... branch remains at 83%, unchanged from commit b7261ff in the main branch.

Show a line coverage summary of the most impacted files.
File main b7261ff codex/fix-hermes-ope... 12f6811 +/-
src/lib/actions...sor-relaunch.ts 94% 75% -19%
src/lib/actions...ary-recovery.ts 97% 92% -5%
src/lib/actions...eway-restart.ts 98% 97% -1%
src/lib/onboard...uild-context.ts 74% 74% 0%
src/lib/actions...ess-recovery.ts 85% 85% 0%
src/lib/inferen...board-probes.ts 82% 82% 0%
src/lib/sandbox...rce-identity.ts 82% 82% 0%
src/lib/securit...ot-sanitizer.ts 94% 94% 0%

Updated August 28, 2026 05:52 UTC

@coderabbitai

coderabbitai Bot commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: a13dac11-8243-44e3-8cdb-8e5d58fa60c5

📥 Commits

Reviewing files that changed from the base of the PR and between 92d4c28 and 12f6811.

📒 Files selected for processing (1)
  • internal/security-reviews/hermes-0.19.0-dependency-review.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • internal/security-reviews/hermes-0.19.0-dependency-review.md

Included review availability: Your plan provides up to 12 included reviews per hour; 6 remain after this review.


📝 Walkthrough

Walkthrough

The Hermes Dockerfile now uses a refreshed immutable base-image digest. The security review records the related OpenSSL assertion, provenance, attestations, and multi-platform validation. The dependency review test no longer verifies the exact digest.

Changes

Hermes base image refresh

Layer / File(s) Summary
Refresh base image pin and validation
agents/hermes/Dockerfile, internal/security-reviews/hermes-0.19.0-dependency-review.md
The Dockerfile uses the refreshed OCI index. The dependency review records the OpenSSL refresh, workflow provenance, attestations, source details, and multi-platform validation.
Update digest validation
test/agents/hermes/hermes-dependency-review.test.ts
The test no longer extracts the Dockerfile digest or requires the exact reviewed digest and matching security-review statement.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to 12f68

The Hermes sandbox base-image selector is refreshed to the reviewed immutable image, with the documented validation and checks passing; no actionable merge-blocking risk remains.

🚥 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. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
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: refreshing the Hermes OpenSSL base-image pin.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/fix-hermes-openssl-base-pin

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

@senthilr-nv senthilr-nv added v0.0.116 chore Build, CI, dependency, or tooling maintenance integration: hermes Hermes integration behavior area: packaging Packages, images, registries, installers, or distribution area: security Security controls, permissions, secrets, or hardening platform: container Affects Docker, containerd, Podman, or images security labels Aug 28, 2026
@senthilr-nv
senthilr-nv requested a review from sandl99 August 28, 2026 05:17
@github-actions

Copy link
Copy Markdown
Contributor

PR Review Advisor finished for commit 12f6811. Include the Advisor findings in the complete PR feedback collection. Verify and group valid findings before repair.

All previous runs

@senthilr-nv
senthilr-nv merged commit b105a59 into main Aug 28, 2026
106 checks passed
@senthilr-nv
senthilr-nv deleted the codex/fix-hermes-openssl-base-pin branch August 28, 2026 06:02
@wscurran wscurran removed the security label Oct 29, 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 chore Build, CI, dependency, or tooling maintenance integration: hermes Hermes integration behavior platform: container Affects Docker, containerd, Podman, or images

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants