Repository navigation
fix(deps): resolve dependabot security advisories - #5
Merged
Merged
Conversation
Bump vulnerable direct dependencies (axios, next, nodemailer, sharp, undici, zod, express, express-rate-limit, js-yaml, nanoid, ip-address, ua-parser-js, postcss, node-gyp, commitizen) and refresh vulnerable transitive packages in the lockfile. Add pnpm overrides where a parent package pins a vulnerable range (glob, minimatch, nodemailer, postcss-selector-parser, qs, tar, uuid) and point sqlite3's node-gyp peer at the direct node-gyp dependency instead of the 8.4.1 pin. Adjust the email transport typing for nodemailer 10's bundled types and coerce axios response headers to strings in the image proxy. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RnghqAkpHr5qF3HeAS1oti
jcam2803
marked this pull request as ready for review
November 18, 2026 10:08
jcam2803
pushed a commit
that referenced
this pull request
Nov 18, 2026
develop gained the Dependabot security update (#5), which overlaps with the upstream sync on this branch. Conflict resolution: - package.json: keep the newer security versions from develop (axios, express-rate-limit, ip-address, undici, next eslint plugin, baseline-browser-mapping) on top of upstream's layout. Keep upstream's sqlite3 v6 and drop the sqlite3>node-gyp override that only applied to sqlite3 v5. humanize-duration stays removed, as upstream removed it. - server/lib/email/index.ts, server/lib/imageproxy.ts: both sides made the same fix; keep upstream's wording to stay aligned with upstream. - pnpm-lock.yaml: regenerated from the resolved package.json. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RnghqD5NZ2nMdRsSsDsvUp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Resolves the open dependency security advisories.
pnpm auditgoes from 357 advisories (11 critical, 145 high, 176 moderate, 25 low) to 4 high, none of which have an upstream fix yet.Direct dependency bumps
Transitive packages
pnpm-lock.yamlonly (handlebars, brace-expansion, fast-uri, undici 6, svgo, multer, systeminformation, mailparser, and others).pnpm.overrideswere added only where a parent pins a vulnerable range:glob,minimatch,nodemailer(email-templates wants ^7),postcss-selector-parser,qs,tar,uuid.sqlite3>node-gypnow points at the directnode-gypdependency instead of the8.4.1pin, which removes the oldtar@6/make-fetch-happen/@tootallnate/oncechain.Source changes
server/lib/email/index.ts: nodemailer 10 ships its own type definitions, which no longer match the@types/nodemailerdeclarations that@types/email-templatesuses. The transport is cast at that boundary; no runtime change. The direct@types/nodemailerdevDependency is removed.server/lib/imageproxy.ts: axios header values are now typed more broadly, socontent-typeandcache-controlare coerced to strings before use.Not fixed (no patched release exists)
extract-zip2.0.1 (GHSA-jmr9-qjv8-65gv, GHSA-7pqw-9j4j-h8q3), via cypress, dev only.picomatch(GHSA-fc5q-39xc-vjpf), affects every published version, lint/dev tooling only.Things worth a reviewer's eye
NoAuthrenamed toENOAUTH(not referenced in this codebase), and remote attachment fetches now validate TLS certificates by default (SMTP TLS handling viaallowSelfSignedis unchanged).How Has This Been Tested?
Node 22.23.5, pnpm 10.24.0, Linux x64:
pnpm audit: 4 remaining (listed above)pnpm typecheck: passpnpm lint: 0 errors (20 existing warnings)pnpm test: 260 / 260 passpnpm build: pass/api/v1/statusresponds,/setupreturns HTTP 200test-emailtemplate through email-templates with nodemailer 10.6.0sqlite3build with node-gyp 12.4.0 and ran a query against itScreenshots / Logs (if applicable)
Checklist:
pnpm buildpnpm i18n:extract🤖 Generated with Claude Code
https://claude.ai/code/session_01RnghqAkpHr5qF3HeAS1oti