Skip to content

security: patch runtime dependencies and strengthen release checks - #56

Merged
yufoxda merged 1 commit into
developfrom
security/patch-runtime-dependencies
Jul 15, 2026
Merged

security: patch runtime dependencies and strengthen release checks#56
yufoxda merged 1 commit into
developfrom
security/patch-runtime-dependencies

Conversation

@yufoxda

@yufoxda yufoxda commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

概要

入部届修正を main へリリースする前のセキュリティ/ビルド互換性ゲートです。監査で検出した本番ランタイム依存の既知脆弱性を更新し、Cloudflare向け成果物までCIで検証します。

変更

  • Better Auth 1.6.23、Hono 4.12.30、Next.js 16.2.10へ更新
  • Wrangler 4.111.0、OpenNext Cloudflare 1.20.1へ更新
  • Next.js同梱の旧PostCSSを8.5.13へoverride
  • Node.js要件を22以上(CI/推奨は24)に統一
  • memberの実行時pgをproduction dependencyへ移し、未使用Better Authを削除
  • Better AuthのHTTPS session cookieをSecureにし、localhost HTTPとの両方を回帰テスト
  • Next 16対応のESLint flat configへ移行
  • テストglobを引用し、Linux CIで一部テストだけが実行される問題を修正
  • runtime audit、ESLint、Wrangler dry-run、OpenNext Worker buildをCIへ追加

検証

  • member: 3 tests passed / TypeScript passed / Wrangler dry-run passed
  • community: 14 tests passed, 1 live Discord test skipped / TypeScript passed / Wrangler dry-run passed
  • frontend: 7 tests passed / TypeScript passed / ESLint 0 errors / OpenNext Worker build passed
  • npm audit --omit=dev --audit-level=high: 3パッケージともhigh以上なし
  • npm ci --ignore-scripts --dry-run: 3 lockfileとも再現可能

補足

  • ESLintにはTanStack TableとReact Compilerの既存warningが1件あります(errorなし)。
  • Better Authと独自JWTの鍵分離は本番secret移行を伴うため、このPRでは挙動変更せず別Issueで管理します。

@yufoxda
yufoxda merged commit 2c0890d into develop Jul 15, 2026
2 checks passed
@yufoxda
yufoxda deleted the security/patch-runtime-dependencies branch July 15, 2026 23:10
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