Skip to content

fix(ci): clear high/critical audit advisories#11

Merged
rafiki270 merged 1 commit into
mainfrom
fix/ci-audit-vulns
Jun 15, 2026
Merged

fix(ci): clear high/critical audit advisories#11
rafiki270 merged 1 commit into
mainfrom
fix/ci-audit-vulns

Conversation

@rafiki270

Copy link
Copy Markdown
Contributor

CI (pnpm audit --audit-level high) has been red on every commit (2 critical + 32 high). This remediates them at the root.

Direct upgrades

  • nodemailer 6 → 7 (addressparser DoS) — usage is plain createTransport().sendMail(), unchanged
  • vitest 2 → 3 (critical: UI server arbitrary file read/exec)
  • vite → ^6.4.3 (server.fs.deny bypass), react-router-dom → ^7.14.2

pnpm.overrides pin patched transitive versions: axios ^1.15.2 (the old override still allowed the vulnerable range), fast-uri, fast-xml-builder, form-data, handlebars, protobufjs, react-router, vite, ws.

Documented exception (pnpm.auditConfig.ignoreGhsas) for three esbuild advisories only — GHSA-67mh-4wv8-2f99 (dev-server requests), GHSA-g7r4-m6w7-qqqr (Windows dev-server file read), GHSA-gv7w-rqvm-qjhr (Deno binary integrity). The only patched line (esbuild ≥0.28.1) is incompatible with Vite 6's build target, and all three are dev-server / Deno / Windows-only — none affect the production build output or the Linux Cloud Run service.

Verified locally: pnpm audit --audit-level high exits 0 (0 high/critical); build, typecheck, lint pass for API/Admin/Auth; 525 tests pass.

🤖 Generated with Claude Code

CI (`pnpm audit --audit-level high`) was red on every commit. Remediate
the 2 critical + 32 high advisories at the root:

Direct upgrades:
- nodemailer 6 -> 7 (addressparser DoS; standard createTransport/sendMail
  usage is unchanged)
- vitest 2 -> 3 (UI server arbitrary file read/exec, critical)
- vite -> ^6.4.3 (server.fs.deny bypass), react-router-dom -> ^7.14.2

pnpm.overrides pin patched transitive versions:
- axios ^1.15.2 (the existing override still allowed the vulnerable range),
  fast-uri, fast-xml-builder, form-data, handlebars, protobufjs,
  react-router, vite, ws.

Documented exception (pnpm.auditConfig.ignoreGhsas) for three esbuild
advisories only: GHSA-67mh-4wv8-2f99 (dev-server requests),
GHSA-g7r4-m6w7-qqqr (Windows dev-server file read), GHSA-gv7w-rqvm-qjhr
(Deno binary integrity). The only patched line (esbuild >=0.28.1) is
incompatible with Vite 6's build target, and all three are dev-server /
Deno / Windows-only — they don't affect the production build output or
the Linux Cloud Run service.

Verified: `pnpm audit --audit-level high` exits 0 (0 high/critical),
build/typecheck/lint pass for all packages, 525 tests pass.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@rafiki270 rafiki270 merged commit 24281a8 into main Jun 15, 2026
1 check passed
@rafiki270 rafiki270 deleted the fix/ci-audit-vulns branch June 15, 2026 19:45
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