Skip to content

ci: pin Node 24 and socketsecurity in Socket scan - #353

Merged
ping-huang1 merged 1 commit into
masterfrom
ping/pin-node-24-socketsecurity
Oct 26, 2026
Merged

ping-huang1 merged 1 commit into
masterfrom
ping/pin-node-24-socketsecurity

Conversation

@ping-huang1

@ping-huang1 ping-huang1 commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Why

The nightly Socket Security Scan fails since socketsecurity 2.11.2: its reachability engine needs Node 22.13+, and this workflow pins Node 20 (Requires Node.js version 22.13.0 or higher (current: 20.x), exit code 3). Socket support confirmed the cause and recommends Node 24.

  • node-version -> "24"
  • socketsecurity pinned to 2.11.3 (each CLI release pins its own reachability engine), instead of --upgrade, so the Node major version and the CLI version don't change without a deliberate bump (Node 24.x minor and patch releases still float). A comment in the workflow says to bump them together and check the Socket CLI changelog first.

Mirrors webflow/webflow#125541.

QA Spec

After merge, run "Socket Security Scan" via workflow_dispatch and confirm the job completes past "Run Socket Security Scan".

CI-only change (GitHub Actions); no product code touched.

https://linear.app/webflow/issue/APPSEC-2300/investigate-and-fix-socket-scan-failure-in-the-various-repos

socketsecurity 2.11.2+ needs Node >= 22.13 for reachability analysis,
and the nightly scan fails on Node 20. Pin Node 24 (recommended by
Socket) and the CLI version so neither changes under the scan
unannounced.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@ping-huang1 ping-huang1 self-assigned this Oct 26, 2026
@ping-huang1
ping-huang1 marked this pull request as ready for review October 26, 2026 21:28
@linear-code

linear-code Bot commented Oct 26, 2026

Copy link
Copy Markdown

APPSEC-2300

@ping-huang1
ping-huang1 merged commit cc3bfde into master Oct 26, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant