Repository navigation
fix: undici・minimatchの公開済み脆弱性に対応 - #2
Merged
Merged
Conversation
seipass
marked this pull request as ready for review
November 1, 2026 13:57
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.
公開済みの脆弱性に該当する依存を更新し、不正なHTTP応答によるプロセス停止を防ぎます。
undici: 8.10.2 → 8.12.2。Issue npm配布版0.1.7: undici・minimatchの公開済み脆弱性への対応 #1 の8件のアドバイザリーに対応。minimatch: 10.2.6 → 11.0.1。glob前処理の増幅によるDoSに対応。undici.fetchと設定済みのグローバルfetchの両方を確認し、Hasilan専用CIの実行対象に追加。undici の更新区間のリリースノートを確認しました。HTTP/2・プロキシ・圧縮・キャッシュなどに修正があるため、既存のHTTPプロキシテストも実行しています。minimatch 11 はマッチャーの実装と一部APIが変わるため、モデル選択とパッケージ管理のテストも確認しています。
undici 8.12.2 / minimatch 11.0.1
検証:
npm run build:hasilan: 成功。npm run check: 成功。commandcode default undefinedで1件失敗。変更前の HEAD の別worktreeでも同じ失敗を再現。./test.shも実行し、失敗を確認した時点で全体実行を途中停止しました。実行環境のfd不足、未ビルドのワークスペース参照、カタログ設定との不整合による失敗があるため Draft としています。scripts/npm-audit.mjsは、別の依存経路の undici 6系・node-forge・zod のアドバイザリー14件が残って失敗します。このPRで全依存の監査がクリーンになるとはしていません。Node.js v25.9.0 / Linux x86_64で確認。依存の更新によってNode.js自体の組み込みundiciが置き換わるわけではないため、ランタイムの更新は別途必要です。
Closes #1
AI-assisted implementation and validation.