Skip to content

chore(deps): security fixes and dependency hygiene from stack audit#7

Merged
stefanowitschdev merged 1 commit into
masterfrom
chore/dependency-security-audit
Jun 13, 2026
Merged

chore(deps): security fixes and dependency hygiene from stack audit#7
stefanowitschdev merged 1 commit into
masterfrom
chore/dependency-security-audit

Conversation

@stefanowitschdev

Copy link
Copy Markdown
Owner

Kontext

Ergebnis eines Stack- & Paket-Audits. Umgesetzt sind die risikoarmen P1/P2-Punkte
(Security-Fixes + Hygiene). Die bewussten Versionsentscheidungen des Templates bleiben erhalten
(AI SDK v5, ESLint 9, TypeScript 5.9, Next 16) — diese Majors werden absichtlich nicht angefasst.

Security (pnpm audit: 6 moderate + 1 low → 1 low)

  • postcss Override >=8.5.10 — schließt GHSA-qx2v-qp2m-jg93 (CSS-Stringify-XSS, über Next gebündelt, Build-Zeit)
  • qs >=6.15.2 & hono >=4.12.21 — dev-only über das shadcn-CLI (@modelcontextprotocol/sdk), nicht ausgeliefert

Hygiene

  • @types/node ^20^22 — passend zur Node-22-Runtime (Node 20 ist EOL)
  • engines.node ">=22" ergänzt — sichert den LTS-Floor ab
  • @tailwindcss/postcss "latest""^4.3.0" — reproduzierbare Installs

Bewusst nicht geändert

  • Verbleibendes Low (@ai-sdk/provider-utils): innerhalb AI SDK v5 nicht patchbar (3.0.98 existiert nicht); Fix nur über v6-Major → aufgeschoben.
  • better-auth bleibt 1.6.17: pnpm-minimumReleaseAge-Cooldown hält das gestern erschienene 1.6.18 zurück; der Caret-Range zieht es automatisch nach, sobald die Sperrfrist abläuft. Die Sicherheitssperre wird nicht umgangen.
  • @react-email/components: trägt einen pauschalen npm-Deprecation-Flag, ist aber weiterhin die aktuelle Komponenten-API (@react-email/render nicht deprecated, react-email = CLI). Keine Migration des auth-kritischen Mail-Codes auf wackliger Quellenbasis.

Verifikation

  • pnpm lint
  • pnpm typecheck
  • pnpm build

🤖 Generated with Claude Code

Resolve open advisories and align packages with the Node 22 LTS target,
keeping deliberate version choices (AI SDK v5, ESLint 9, TS 5.9) intact.

Security (pnpm audit: 6 moderate + 1 low -> 1 low):
- override postcss >=8.5.10 (clears GHSA-qx2v-qp2m-jg93, bundled via Next)
- override qs >=6.15.2 and hono >=4.12.21 (dev-only, via shadcn CLI)

Hygiene:
- @types/node ^20 -> ^22 to match the Node 22 runtime (Node 20 is EOL)
- add engines.node ">=22" to enforce the LTS floor
- pin @tailwindcss/postcss "latest" -> "^4.3.0" for reproducible installs

Notes:
- remaining low (@ai-sdk/provider-utils) is not patchable within AI SDK v5;
  the fix requires the v6 major and is intentionally deferred
- better-auth stays at 1.6.17: the pnpm minimumReleaseAge cooldown holds
  1.6.18 (just published); the caret range picks it up automatically once
  the cooldown lapses
- @react-email/components carries a blanket npm deprecation flag but remains
  the current component API (render not deprecated, react-email is the CLI);
  no migration performed

Verified: pnpm lint, pnpm typecheck, pnpm build all pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@stefanowitschdev stefanowitschdev merged commit fcc1a56 into master Jun 13, 2026
4 checks passed
@stefanowitschdev stefanowitschdev deleted the chore/dependency-security-audit branch June 13, 2026 08:57
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.

2 participants