Skip to content

chore(deps): update the Docker image CLI toolchain (Node.js 24, Python CLI 2.13.2, npm CLI 1.16.0) - #137

Merged
lelia merged 10 commits into
mainfrom
dependabot/docker/app_tests/docker-app-tests-major-b073b8d4f2
Nov 20, 2026
Merged

lelia merged 10 commits into
mainfrom
dependabot/docker/app_tests/docker-app-tests-major-b073b8d4f2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Updates the images' CLI toolchain: moves all three images to Node.js 24 instead of the Node 25 Dependabot proposed, stops Dependabot proposing Node majors, and bumps both Socket CLIs.

Why not Node 25

Node 25 is an odd-numbered "Current" release. Those never become LTS, and 25 reached end of life on 2026-06-01. node:25-slim hasn't been rebuilt since 2026-05-20, so it no longer receives Node security fixes. Node 24 is LTS, supported until 2028-04-30.

Changes

  • app_tests/Dockerfile: node:24-slim.
  • Dockerfile and Dockerfile.heavy: nodesource setup_24.x, and the version floor moves from 22.23.4 to 24.22.1, the first Node 24 release that rejects the compromised eMudhra intermediates. Both currently resolve to 24.22.2.
  • .github/dependabot.yml: ignores node major updates for app_tests, alongside the python minor rule from chore(deps): bump trufflehog to 3.99.9 and keep the images on Python 3.12 #142. The two root Dockerfiles install Node through nodesource, which Dependabot can't see, so a Node major has to change all three images together. Node 24 minor and patch releases still arrive through the floating node:24-slim tag and nodesource setup_24.x on every build.
  • Socket npm CLI (socket) 1.15.0 -> 1.16.0 in all three images. 1.16.0 moves its Coana reachability engine pin from 15.15.0 to 15.15.2, matching the Python CLI.
  • Socket Python CLI (socketsecurity) 2.13.1 -> 2.13.2 in the heavy and app-tests images. It's a patch release that fixes how the CLI's alert reports name packages and the dependencies that introduced them. It keeps the socketdev==3.6.3 and Coana 15.15.2 pins from 2.13.1, so the SDK doesn't move.
  • scripts/check_core_tools.py: core-tool-watch retries Socket scoring up to twice (after 15s, then 45s) when socketdev marks the failure transient: 408/502/503/504, a dropped connection, or a timeout. It also rescores pinned versions that come back still pending analysis after Socket's server-side poll, which failed main's rerun for six long-analyzed versions; pending rows for the latest releases only feed drift reporting and never trigger a wait. Auth, permission, quota, and empty-result failures still fail closed on the first attempt. Failures now name the exception, HTTP status, and underlying requests error; before, socketdev's message-less exceptions logged only Socket analysis failed: .
  • Changelog entries under Unreleased, including the TruffleHog 3.99.9 bump from chore(deps): bump trufflehog to 3.99.9 and keep the images on Python 3.12 #142, which didn't have one.

The smoke tests build all three images.

Dependabot stops rebasing this branch now that it has a non-Dependabot commit.

@dependabot
dependabot Bot requested a review from a team as a code owner November 6, 2026 22:48
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 6, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 6, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: docker. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot
dependabot Bot deployed to socket-firewall November 6, 2026 22:48 Active
@lelia lelia added the docker label Nov 6, 2026
@lelia
lelia deployed to socket-firewall November 6, 2026 23:06 — with GitHub Actions Active
@lelia lelia changed the title chore(deps): bump node from 22-slim to 25-slim in /app_tests in the docker-app-tests-major group chore(deps): move the images to Node.js 24 Nov 6, 2026
@lelia
lelia deployed to socket-firewall November 6, 2026 23:06 — with GitHub Actions Active
@SocketDev Socket (SocketDev) deleted a comment from cursor Bot Nov 14, 2026
@lelia lelia self-assigned this Nov 20, 2026
@lelia lelia changed the title chore(deps): move the images to Node.js 24 chore(deps): move the images to Node.js 24 and bump Socket Python CLI to 2.13.2 Nov 20, 2026
dependabot Bot and others added 6 commits November 20, 2026 18:02
Bumps the docker-app-tests-major group in /app_tests with 1 update: node.


Updates `node` from 22-slim to 25-slim

---
updated-dependencies:
- dependency-name: node
  dependency-version: 25-slim
  dependency-type: direct:production
  dependency-group: docker-app-tests-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Node 25 is an odd-numbered release, never LTS, and reached end of life on
2026-06-01; node:25-slim has not been rebuilt since May. Node 24 is LTS and
supported until April 2028.

Moves all three images together. Dockerfile and Dockerfile.heavy install Node
through nodesource, which Dependabot cannot see, so their setup script, version
floor and comment move with the app_tests node stage. The version floor is
24.22.1, the first Node 24 release that rejects the compromised eMudhra
intermediates.

Dependabot now ignores Node major versions for app_tests, so majors move by
hand across all three images, and minor and patch updates still arrive.
2.13.2 keeps the socketdev==3.6.3 and Coana 15.15.2 pins from 2.13.1, so
only the image ARGs and changelog move. Also moves the Node.js 24 changelog
entry back under Unreleased; rebasing onto 3.5.0 had placed it in the
released section.
1.16.0 moves its Coana reachability engine pin from 15.15.0 to 15.15.2,
the same version Socket Python CLI 2.13.2 pins.
@lelia
lelia force-pushed the dependabot/docker/app_tests/docker-app-tests-major-b073b8d4f2 branch from 69c2c5a to d805dfe Compare November 20, 2026 23:05
@lelia lelia changed the title chore(deps): move the images to Node.js 24 and bump Socket Python CLI to 2.13.2 chore(deps): update the images' CLI toolchain (Node.js 24, Socket npm CLI 1.16.0, Socket Python CLI 2.13.2) Nov 20, 2026
@lelia lelia changed the title chore(deps): update the images' CLI toolchain (Node.js 24, Socket npm CLI 1.16.0, Socket Python CLI 2.13.2) chore(deps): update the Docker Image CLI toolchain (Node.js 24, Socket npm CLI 1.16.0, Socket Python CLI 2.13.2) Nov 20, 2026
@lelia lelia changed the title chore(deps): update the Docker Image CLI toolchain (Node.js 24, Socket npm CLI 1.16.0, Socket Python CLI 2.13.2) chore(deps): update the Docker images' CLI toolchain (Node.js 24, Socket npm CLI 1.16.0, Socket Python CLI 2.13.2) Nov 20, 2026
@lelia lelia changed the title chore(deps): update the Docker images' CLI toolchain (Node.js 24, Socket npm CLI 1.16.0, Socket Python CLI 2.13.2) chore(deps): update the Docker image CLI toolchain (Node.js 24, Socket npm CLI 1.16.0, Socket Python CLI 2.13.2) Nov 20, 2026
@lelia lelia changed the title chore(deps): update the Docker image CLI toolchain (Node.js 24, Socket npm CLI 1.16.0, Socket Python CLI 2.13.2) chore(deps): update the Docker image CLI toolchain (Node.js 24, Python CLI 2.13.2, npm CLI 1.16.0) Nov 20, 2026
lelia

This comment was marked as duplicate.

@lelia
lelia deployed to socket-firewall November 20, 2026 23:10 — with GitHub Actions Active
A 502, dropped connection, or timeout from the Socket API failed the job
outright, and the log said only "Socket analysis failed: " because socketdev
raises those exceptions without a message.

Scoring now retries up to twice (after 15s, then 45s) when socketdev's
is_transient_error() says a retry may succeed. Auth, permission, quota, and
empty-result failures still fail closed on the first attempt. Every failure
names the exception, its HTTP status, and the underlying requests error, so a
red run says what went wrong.
@lelia
lelia deployed to socket-firewall November 20, 2026 23:14 — with GitHub Actions Active
A batch can answer 200 with pinned coordinates still pendingScan after the
server-side poll, even for long-analyzed releases like socketdev 3.6.3. That
failed the run with nothing to retry, since no exception was raised.

Scoring now rescores just the pending pinned coordinates of covered tools,
with the same 15s and 45s waits as a transient failure. Pending rows for
the discovered latest releases only feed drift reporting, so they never
trigger a wait. Rows still pending after the last attempt fail closed as
before.
@lelia
lelia deployed to socket-firewall November 20, 2026 23:17 — with GitHub Actions Active
@lelia
lelia deployed to socket-firewall November 20, 2026 23:25 — with GitHub Actions Active
@SocketDev Socket (SocketDev) deleted a comment from cursor Bot Nov 20, 2026
The app-tests image is internal and unpublished, so its missing 32-bit ARM
build is not an upgrade note for users. The smoke-test docs keep it for
contributors. Also applies Black to the new core-tool-watch test.
@lelia
lelia deployed to socket-firewall November 20, 2026 23:32 — with GitHub Actions Active
@lelia
lelia merged commit 45d7654 into main Nov 20, 2026
27 checks passed
@dependabot
dependabot Bot deleted the dependabot/docker/app_tests/docker-app-tests-major-b073b8d4f2 branch November 20, 2026 23:34

This branch was successfully deployed

1 active deployment
socket-firewall — 72e6f205 Deployed Nov 20, 2026 by lelia via analyze #188
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file docker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant