Skip to content

fix(deps): override ws to 8.23.0 for GHSA-37g9-w4hg-h9qr - #408

Merged
ozsay merged 1 commit into
mainfrom
claude/bump-ws
Dec 6, 2026
Merged

ozsay merged 1 commit into
mainfrom
claude/bump-ws

Conversation

@ozsay

@ozsay ozsay commented Dec 6, 2026

Copy link
Copy Markdown
Contributor

Summary

The npm audit (dependencies) gate fails every PR (for example #407) on ws@8.21.0, GHSA-37g9-w4hg-h9qr (high: memory exhaustion via unbounded automatic pong responses). The fix is 8.23.0, which the gateway serves.

ws comes in through socket.io-client → engine.io-client, which pins ws ~8.21.0 in every 6.6.x release, so upgrading those can't fix it. This adds a root overrides entry, "ws": "8.23.0", and moves the single node_modules/ws lock entry to 8.23.0.

  • Pinned exactly: 8.23.1 is still inside the gateway's age block.
  • npm ls flags the engine.io-client → ws edge as invalid: "~8.21.0". A from-scratch lockfile with the same override shows the same thing, so it's npm's display of overrides in a workspace and not a broken tree. npm ci installs it, and npm install leaves the lock unchanged.
  • Limits: the override only covers this repo's lockfile, which is what the gate audits. Apps that install @base44/sdk or @base44/platform still resolve ws ~8.21.0 through socket.io-client until engine.io-client widens its range.

Testing

npm ci, then npm test --workspaces: 500 + 165 tests pass.

🤖 Generated with Claude Code

engine.io-client pins ws ~8.21.0 in every 6.6.x release, so the fixed ws
can only arrive through a root override. The audit gate fails every PR
until then.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Dec 6, 2026

Copy link
Copy Markdown
Contributor

🚀 Package Preview Available!


Install this PR's preview build with npm:

npm i @base44-preview/sdk@0.8.64-pr.408.9f50530

Prefer not to change any import paths? Install using npm alias so your code still imports @base44/sdk:

npm i "@base44/sdk@npm:@base44-preview/sdk@0.8.64-pr.408.9f50530"

Or add it to your package.json dependencies:

{
  "dependencies": {
    "@base44/sdk": "npm:@base44-preview/sdk@0.8.64-pr.408.9f50530"
  }
}

Preview published to npm registry — try new features instantly!

@ozsay
ozsay merged commit 67a9e81 into main Dec 6, 2026
8 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.

2 participants