Skip to content

fix(deps): bump engine.io and ws overrides on develop - #802

Merged
Starosdev merged 1 commit into
developfrom
fix/741-engine-io-bump
Sep 6, 2026
Merged

fix(deps): bump engine.io and ws overrides on develop#802
Starosdev merged 1 commit into
developfrom
fix/741-engine-io-bump

Conversation

@Starosdev

Copy link
Copy Markdown
Owner

Closes #741

Summary

develop still resolved engine.io 6.6.4 and ws 8.20.1, both covered by open Dependabot alerts. Dependabot's own fix PRs (#669, and now #781) target master, which tracks upstream AnalogJ/scrutiny, so they get closed rather than merged and develop never moves.

Pin the fixed versions through the frontend overrides block, which is already how the other transitive security pins in this file are handled (postcss, qs, socket.io-parser, and ws itself).

  • engine.io 6.6.4 to 6.6.9, closing GHSA-gr94-w7qr-f4j3 (affects >= 6.5.0, < 6.6.7, high).
  • ws 8.20.1 to 8.21.3, closing GHSA-96hv-2xvq-fx4p (affects >= 8.0.0, < 8.21.0, the advisory the issue refers to). The existing 8.20.1 pin predates that advisory.

Both are dev-only transitive dependencies of karma, so no shipped artifact changes.

The ws override is still required after the engine.io bump: socket.io-adapter requests ~8.17.1 independently, so without it npm resolves a nested ws 8.17.1 that remains in the vulnerable range.

Test plan

  • npm ci in webapp/frontend (clean, lockfile in sync with package.json)
  • npx ng test --watch=false --browsers=ChromeHeadless --code-coverage: 191/191 pass, which exercises karma's socket layer directly
  • npm audit --package-lock-only no longer lists engine.io or ws

Follow-ups (not in scope)

Dependabot's engine.io security PR targets master, which tracks upstream
AnalogJ/scrutiny, so it is closed rather than merged and develop keeps
resolving the vulnerable versions. Pin the fixed versions through the
frontend override block instead, which is how the other transitive
security pins in this file are already handled.

engine.io moves to 6.6.9, closing GHSA-gr94-w7qr-f4j3 (affects
>= 6.5.0, < 6.6.7). ws moves to 8.21.3, closing GHSA-96hv-2xvq-fx4p
(affects >= 8.0.0, < 8.21.0); the previous 8.20.1 pin predates that
advisory. Both are dev-only transitive dependencies of karma, so no
shipped artifact changes.

The ws override stays necessary after the engine.io bump because
socket.io-adapter still requests ~8.17.1.

Test plan:
- npm ci
- npx ng test --watch=false --browsers=ChromeHeadless --code-coverage
  (191/191 pass)
- npm audit --package-lock-only no longer reports engine.io or ws
@Starosdev
Starosdev merged commit 1d5c38e into develop Sep 6, 2026
23 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