From 46ac63a835df2013bd520b71996100bfdc05fab5 Mon Sep 17 00:00:00 2001 From: Widthdom Date: Fri, 23 Oct 2026 18:19:46 +0900 Subject: [PATCH] Fix brace-expansion audit failures in CI --- CHANGELOG.md | 2 ++ package-lock.json | 6 +++--- package.json | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b2aefa7..3c115dd4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), #### Fixed +- **npm audit CI uses patched brace-expansion** — Updated the 2.x override and lockfile from `2.1.4` to `2.1.7`, resolving the reported denial-of-service vulnerabilities and the transitive `minimatch` finding without adding audit exceptions. - **npm audit CI uses patched js-yaml** — Updated the 3.x override and lockfile to `3.15.2`, resolving `GHSA-2883-xcg3-v3hh` without adding an audit exception. - **Benchmark regression CI compares matching execution environments** — Preserved BenchmarkDotNet host metadata and partitioned trusted history by CPU, core topology, OS, architecture, runtime/SDK, build configuration, and BenchmarkDotNet version. Mixed-host legacy history starts a visible five-sample warmup per environment; warning/failure thresholds, ancestry checks, and trusted publication restrictions remain unchanged. Added regression coverage for environment isolation, invalid host metadata, report combination, and real slowdowns within one environment. @@ -1771,6 +1772,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), #### 修正 +- **npm audit CI で修正版 brace-expansion を使用** — 2.x override と lockfile を `2.1.4` から `2.1.7` に更新し、監査例外を追加せず、報告されたサービス拒否の脆弱性と依存先から波及した `minimatch` の検出を解消しました。 - **npm audit CI で修正版 js-yaml を使用** — 3.x override と lockfile を `3.15.2` に更新し、監査例外を追加せず `GHSA-2883-xcg3-v3hh` を解消しました。 - **ベンチマーク回帰 CI を同一実行環境で比較** — BenchmarkDotNet のホスト情報を保持し、CPU、コア構成、OS、アーキテクチャ、runtime/SDK、ビルド構成、BenchmarkDotNet バージョンごとに信頼済み履歴を分離しました。旧来のホスト混在履歴は環境ごとに明示的な 5 サンプルのウォームアップから開始し、warning/failure 閾値、祖先チェック、信頼済み公開の制約は維持します。環境分離、不正なホスト情報、レポート結合、同一環境内での実際の遅化に回帰テストを追加しました。 diff --git a/package-lock.json b/package-lock.json index c2104d4b..6c01ddf1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4791,9 +4791,9 @@ "license": "MIT" }, "node_modules/test-exclude/node_modules/brace-expansion": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.4.tgz", - "integrity": "sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==", + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.7.tgz", + "integrity": "sha512-uZbew1NqdmPDTMJ8ah1y+b+9QEJrfkXFk3RcTQw3X0jW/xRUvFKsg1CfQdSYGdTbXZWExtU3J3ccxtnfw1Fi0g==", "dev": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 84f28355..88f39b9f 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ }, "overrides": { "brace-expansion@<1.1.18": "1.1.18", - "brace-expansion@>=2.0.0 <2.1.4": "2.1.4", + "brace-expansion@>=2.0.0 <2.1.7": "2.1.7", "js-yaml@>=3.0.0 <3.15.2": "3.15.2" } }