Skip to content

chore(deps): remediate npm audit and Dependabot findings#1489

Merged
kkopanidis merged 1 commit into
mainfrom
chore/deps-vulnerability-remediation
Jun 19, 2026
Merged

chore(deps): remediate npm audit and Dependabot findings#1489
kkopanidis merged 1 commit into
mainfrom
chore/deps-vulnerability-remediation

Conversation

@kkopanidis

Copy link
Copy Markdown
Contributor

GitHub was sitting on ~148 open Dependabot alerts for main. Most of that count is repeat advisories on a small set of outdated direct and transitive deps rather than 148 distinct production bugs.

This PR bumps the direct offenders, pins patched transitives via pnpm-workspace.yaml overrides, and drops nodemailer-sendgrid (and the deprecated request chain) in favour of a thin @sendgrid/client nodemailer transport.

Summary

  • Bump axios, fast-jwt, protobufjs, @grpc/grpc-js, and turbo
  • Refresh AWS/Azure/GCP SDK deps in storage and communications
  • Bump @scalar/api-reference and add pnpm overrides for dompurify, hono, fast-xml-parser, node-forge
  • Replace nodemailer-sendgrid with sendgrid.ts transport backed by @sendgrid/client
  • pnpm audit on the lockfile: 173 → 95 (8 critical → 2)

Test plan

  • pnpm install
  • pnpm exec turbo run build
  • pnpm audit
  • SendGrid email send smoke test if you have a key handy

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Build-related changes
  • Other (please describe)

Does this PR introduce a breaking change?

  • Yes
  • No

firebase-admin goes to v14 but communications usage is unchanged. SendGrid sending still goes through nodemailer with the same provider surface.

The PR fulfills these requirements:

  • It's submitted to the main branch
  • When resolving a specific issue, it's referenced in the PR's description

Other information:

Remaining audit noise is mostly dev-only (minimist, glob/minimatch via tsup) or deep transitives with no upstream fix yet (elliptic, one dompurify IN_PLACE advisory). Happy to chase those in a follow-up if we want the Dependabot count closer to zero.

Bump axios, fast-jwt, protobufjs, grpc-js, and turbo; refresh cloud SDK
deps; add pnpm overrides for stuck transitives; replace nodemailer-sendgrid
with a SendGrid client transport to drop the deprecated request chain.
@kkopanidis
kkopanidis marked this pull request as ready for review June 19, 2026 08:02
@kkopanidis
kkopanidis merged commit a13ce54 into main Jun 19, 2026
6 of 7 checks passed
@kkopanidis
kkopanidis deleted the chore/deps-vulnerability-remediation branch June 19, 2026 08:02
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