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
Medium Risk
Changes how the container validates TLS for all Node HTTPS traffic; misconfiguration could break outbound connections or leave trust policy wrong until the image is rebuilt.
Overview Hardens TLS trust for the Node production container by switching from node:22-slim to node:22-bookworm-slim and sharing a common base stage for both build and runtime images.
The base stage installs Debian ca-certificates and fails the image build if the package is older than 20250419~deb12u2, so compromised or stale CA bundles are not silently shipped. NODE_OPTIONS=--use-openssl-ca makes Node use the system trust store instead of its bundled roots (per nodejs/node#66871) until upstream Node drops the affected intermediates.
Build and final stages now FROM base instead of repeating a bare Node image, so both npm ci / npm run build and the runtime node server/server.js process share the same CA setup.
Reviewed by Cursor Bugbot for commit 04dd6d9. Bugbot is set up for automated code reviews on this repo. Configure here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
馃専 Purpose
Update the Rust and Python TLS dependencies and the CA certificates bundled with uv. Keep the development-tool and container versions of uv aligned.