Skip to content

chore(deps): patch runtime deps with open advisories - #2139

Open
tac0turtle wants to merge 1 commit into
dydxprotocol:mainfrom
tac0turtle:chore/deps-runtime-security-bumps
Open

tac0turtle wants to merge 1 commit into
dydxprotocol:mainfrom
tac0turtle:chore/deps-runtime-security-bumps

Conversation

@tac0turtle

Copy link
Copy Markdown

Changes

Bumps direct runtime dependencies that ship to the browser and have open advisories. All bumps stay within the current major version.

  • lodash 4.17.21 -> 4.18.1 (GHSA-r5fr-rjxr-66jc high, GHSA-xxjr-mmjv-4gpg moderate). We don't use _.template, so this is defense in depth.
  • react-router-dom 6.30.1 -> 6.30.6. This pulls @remix-run/router 1.23.4, which fixes an XSS via open redirect.
  • socket.io-client 4.8.1 -> 4.8.4, plus a pnpm override socket.io-parser: ^4.2.7. The client pins ~4.2.4, so pnpm kept the vulnerable 4.2.4 in the lockfile without the override. Fixes unbounded binary-attachment memory exhaustion. socket.io-client is the only consumer.

The lockfile diff is about 80 lines.

Not fixed here: two moderate react-router advisories are only fixed in v7. One is a backslash open redirect in <Link>/useNavigate. The other is SSR-only and doesn't apply to us. Both belong in a separate v7 migration.

Verification

  • tsc --noEmit: clean
  • vitest run: 14 files, 110 tests pass
  • pnpm lint: 0 errors (warning count unchanged from main)
  • pnpm audit --prod: lodash, @remix-run/router, socket.io-parser no longer flagged

- lodash 4.17.21 -> 4.18.1 (GHSA-r5fr-rjxr-66jc, GHSA-xxjr-mmjv-4gpg)
- react-router-dom 6.30.1 -> 6.30.6, pulls @remix-run/router 1.23.4
  (XSS via open redirect)
- socket.io-client 4.8.1 -> 4.8.4, plus override socket.io-parser to
  ^4.2.7 (unbounded binary attachment memory exhaustion)
@tac0turtle
tac0turtle requested a review from a team as a code owner November 20, 2026 12:54
@vercel

vercel Bot commented Nov 20, 2026

Copy link
Copy Markdown

@tac0turtle is attempting to deploy a commit to the dYdX Trading Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant