chore(deps): clear pnpm audit gate — nodemailer 9, undici/js-yaml overrides (PP-6ln1)#1565
Merged
Merged
Conversation
…rrides The CI `pnpm audit --audit-level=high` gate went RED on main (advisories published 2026-06-17), cascading into CI Gate and blocking every open PR. - nodemailer ^8.0.5 → ^9.0.1: high SSRF/arbitrary-file-read advisory GHSA-p6gq-j5cr-w38f (message-level `raw` option). We only use nodemailer for the local/test SMTP transport (Mailpit); production uses Resend, and our usage doesn't touch `raw`. @types/nodemailer stays ^8.0.0 (no v9 published); typecheck is green against nodemailer 9. - pnpm override undici ^7.28.0: high TLS-cert-bypass GHSA-vmh5-mc38-953g (transitive via vitest→jsdom). Pinned to the 7.x line jsdom@29 expects. - pnpm override js-yaml >=4.2.0: moderate quadratic-DoS GHSA-h67p-54hq-rp68 (transitive via @eslint/eslintrc); clears the last remaining advisory. `pnpm audit` is now fully clean. SMTP transport is exercised against Mailpit by the email-transport integration test (CI test-integration-supabase). PP-6ln1. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Jun 19, 2026
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.
Why
CI's
pnpm audit --audit-level=highgate went RED onmain(advisories published 2026-06-17), cascading into CI Gate and blocking every open PR (#1558–#1562, #1388). This is the root-cause fix the huddle flagged on 2026-06-19; PP-vsdo (the/audit-overridecomment command) is the complementary per-PR escape hatch and is being built separately this session.What
<=9.0.0^8.0.5→^9.0.1>=7.23<7.28^7.28.0<=4.1.1>=4.2.0pnpm auditis now fully clean (was: 2 high + 2 moderate).Risk notes
src/lib/email/transport.ts— production email is Resend. The advisory concerns the message-levelrawoption, which we never set.@types/nodemailerhas no v9 published yet, so it stays^8.0.0; typecheck is green against nodemailer 9.^7.28.0(not>=) deliberately — an open-ended bound pulls undici 8.x, whichjsdom@29was not built against. Staying on the 7.x line keeps jsdom's fetch path intact.SMTPTransportis exercised against real Mailpit bysrc/test/integration/supabase/email-transport.test.ts(CItest-integration-supabase), which validates the nodemailer 9 bump end-to-end.Verification
pnpm audit/pnpm audit --audit-level=high: clean ✅pnpm run check(types, lint, format, 1261 unit + 70 py tests): green ✅PP-6ln1.
🤖 Generated with Claude Code