Skip to content

deps: bump ws to 8.23.0 (GHSA-37g9-w4hg-h9qr) - #641

Open
Pal Lakatos-Toth (pallakatos) wants to merge 1 commit into
mainfrom
deps-npm-advisories-2026-12
Open

Pal Lakatos-Toth (pallakatos) wants to merge 1 commit into
mainfrom
deps-npm-advisories-2026-12

Conversation

@pallakatos

Copy link
Copy Markdown
Collaborator

Summary

Lockfile-only bump of the ws runtime dependency from 8.21.0 to 8.23.0 in mesh-plugin and runtimes/openclaw, fixing GHSA-37g9-w4hg-h9qr (high: memory exhaustion via unbounded automatic pong responses, affects 8.0.0–8.22.2).

The advisory was published after the last green main run and now fails the npm audit --audit-level=high step of Mesh Plugin Build & Test and Runtime OpenClaw Build & Test on every PR (for example #640).

Both package.json ranges (^8.21.0, ^8.18.0) already accept 8.23.0, so only the node_modules/ws entry of each lockfile changes (version, resolved, integrity). No other packages move.

Supply-chain review:

  • The published ws-8.23.0.tgz matches the upstream 8.23.0 git tag byte-for-byte.
  • Dependencies, peer dependencies and lifecycle scripts are unchanged from 8.21.0. The new lib/ imports are Node built-ins only.
  • Released by the long-standing maintainer (lpinca).

Not in this PR (tracked separately):

  • CLI Build & Test still fails on cross-spawn GHSA-ghv9-86vm-4v8m (critical). The patched 7.1.x line is not yet available from the package feed used for validation; it will follow as a lockfile-only bump of cli/package-lock.json (the execa range ^7.0.6 already accepts it).
  • Headlamp Plugin Build findings (cross-spawn, ws dev, glob, minimatch, tar, ...) need a separate change; some require newer major versions.

Related Issues

Unblocks the npm audit steps for #640.

Type of Change

  • Bug fix
  • New feature
  • Security hardening
  • Documentation
  • CI/CD
  • Refactor

Checklist

  • Code compiles/builds without errors
  • Tests pass (make test)
  • Linting passes (make lint)
  • Documentation updated (if applicable)
  • No secrets committed
  • Helm chart updated (if K8s changes)

Testing

Local (Node 24, npm 11.6), per package, from a clean npm ci --ignore-scripts:

  • mesh-plugin: npm run typecheck passed; npm run build passed; npm test passed (68 passed, 3 skipped).
  • runtimes/openclaw (after building mesh-plugin): npm run typecheck passed; npm run lint passed (0 errors, 17 pre-existing warnings); npm run build passed; npm test passed (250/250).
  • npm ls ws resolves 8.23.0 in both packages.
  • Repo gates (BASE_REF=public/main bash ci/<gate>.sh): check-loc, no-stubs, no-custom-crypto, no-null-provider-prod, a2a-module-isolation, check-copyright-headers, security-audit-required all passed.
  • npm audit could not run locally (the local feed rejects the audit endpoint); CI runs it against the public registry.

Lockfile-only bump of the ws runtime dependency in mesh-plugin and
runtimes/openclaw from 8.21.0 to 8.23.0, which fixes unbounded automatic
pong responses (memory exhaustion DoS). Both package.json ranges already
accept 8.23.0.

Supply-chain review: published tarball matches the upstream 8.23.0 git tag
byte-for-byte; dependencies, peer dependencies and scripts are unchanged.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
npm/ws 8.23.0 🟢 5.9
Details
CheckScoreReason
Security-Policy🟢 10security policy file detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Maintained🟢 1025 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
Code-Review🟢 4Found 13/30 approved changesets -- score normalized to 4
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
Packaging⚠️ -1packaging workflow not detected
Binary-Artifacts🟢 10no binaries found in the repo
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
Signed-Releases⚠️ -1no releases found
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/ws 8.23.0 🟢 5.9
Details
CheckScoreReason
Security-Policy🟢 10security policy file detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Maintained🟢 1025 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
Code-Review🟢 4Found 13/30 approved changesets -- score normalized to 4
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
Packaging⚠️ -1packaging workflow not detected
Binary-Artifacts🟢 10no binaries found in the repo
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
Signed-Releases⚠️ -1no releases found
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0

Scanned Files

  • mesh-plugin/package-lock.json
  • runtimes/openclaw/package-lock.json

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