Skip to content

chore(security): remediate remaining transitive advisories via overrides - #1785

Merged
ajile-in merged 1 commit into
chore/remove-unused-pdf-depsfrom
chore/security-dependency-remediation
Oct 19, 2026
Merged

ajile-in merged 1 commit into
chore/remove-unused-pdf-depsfrom
chore/security-dependency-remediation

Conversation

@ajile-in

Copy link
Copy Markdown
Member

Part of the security-backlog effort. Stacked on #1784 (merge #1784 first; this PR retargets to main automatically).

What

Updates the existing pnpm.overrides block (the repo already pins transitive fixes this way — several old pins had themselves become the vulnerable versions, e.g. brace-expansion@2.1.4, handlebars@4.7.9, fast-uri@3.1.6), plus a within-range refresh of the direct deps that carry advisories.

New/updated overrides

Package Was Now Advisory
proxy-addr 2.0.7 2.0.8 critical
axios (nested 0.x via @sendgrid/client) 0.26.1 0.34.0 high + moderate
handlebars 4.7.9 4.7.10 critical ×2
brace-expansion 2.1.4 / 5.0.9 2.1.7 / 5.0.12 3× high + 2× mod
ws 8.20.0 8.21.3 high + moderate
engine.io 6.6.9 6.6.10 high
qs 6.15.3 6.16.0 moderate
js-yaml@5 5.2.1 5.4.1 high + moderate
@fastify/busboy 3.2.0 3.2.2 high + moderate
@grpc/grpc-js 1.14.4 1.14.5 high + low
@opentelemetry/core 2.0.1/2.7.1 dupes 2.10.0 moderate
micromatch 4.0.5, yaml 2.3.1, fast-uri 3.1.6 → 4.0.8 / 2.9.0 / 3.1.8 moderate
Removed: ip-address pin (only vectors left the tree in #1784).

Direct refreshes (within existing ranges)

nodemailer→10.0.9+ fix, moment→2.31.0, firebase-admin→latest 13.x (clears node-forge), axios 1.x, @opentelemetry/* family.

Result

  • pnpm audit: 70 → 3 advisories (full series incl. chore(security): remove unused html-pdf, puppeteer and node-html-to-image #1784; this batch alone: 59 → 3)
  • Remaining 3 are documented accepted risks in .github/dependabot.yml: aws-sdk v2 (EOL, low — v3 migration tracked separately), uuid (fix is ESM-only, ignore-ruled), braces (no upstream fix, dev-only chain)
  • Jest (CI config): 19/19 suites, 233/233 tests
  • All pins stay within their current major (no forced major-version jumps)

@coderabbitai

coderabbitai Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1a43363a-6bf7-4787-97f2-8f1e3a39512b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Updates the pnpm.overrides block to current advisory fix floors and
refreshes direct dependencies. Several existing pins had themselves
become the vulnerable versions (brace-expansion 2.1.4, handlebars
4.7.9, fast-uri 3.1.6), so they are bumped forward; new pins cover
proxy-addr (critical), qs, ws, engine.io, micromatch, yaml, the nested
axios 0.x copy (via @sendgrid/client), @fastify/busboy, @grpc/grpc-js
and the stale @opentelemetry/core duplicates. The ip-address pin is
dropped: its only vectors left the tree with html-pdf/puppeteer.

Direct deps refreshed within range: nodemailer (>=10.0.9 fixes),
moment (2.31.0), firebase-admin (clears node-forge), axios 1.x and the
@opentelemetry/* family (unifies core >=2.8.0).

pnpm audit: 70 -> 3 advisories across the full backlog series (this
batch: 59 -> 3). Remaining are the documented accepted risks in
.github/dependabot.yml: aws-sdk v2 (EOL, migration tracked separately),
uuid (fix is ESM-only, blocked by the ignore rule) and braces (no
upstream fix, dev-only chain).

Jest: 19/19 suites, 233/233 tests.

Signed-off-by: Ajay Jadhav <ajay@ayanworks.com>
@ajile-in
ajile-in force-pushed the chore/security-dependency-remediation branch from 8ffcc35 to ca3d4b0 Compare October 18, 2026 16:57
@sonarqubecloud

Copy link
Copy Markdown

@ajile-in
ajile-in added this pull request to stack #1789 October 19, 2026 07:38
@ajile-in ajile-in self-assigned this Oct 19, 2026
@ajile-in
ajile-in merged commit 0719874 into chore/remove-unused-pdf-deps Oct 19, 2026
6 checks passed
ajile-in added a commit that referenced this pull request Oct 19, 2026
Resolve pnpm-lock.yaml conflict by regenerating with pnpm@9.15.9
(overrides from #1785 + patch-updates from #1783).

Signed-off-by: Ajay Jadhav <ajay@ayanworks.com>
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