Skip to content

npm audit fix で非破壊の脆弱性を解消#147

Merged
hideack merged 1 commit into
masterfrom
fix/audit-nonbreaking
Jul 20, 2026
Merged

npm audit fix で非破壊の脆弱性を解消#147
hideack merged 1 commit into
masterfrom
fix/audit-nonbreaking

Conversation

@hideack

@hideack hideack commented Jul 20, 2026

Copy link
Copy Markdown
Owner

概要

npm audit fix破壊的変更なし)で本番依存の既知脆弱性を解消。package.json の semver レンジは変更せず、package-lock.json のみ更新。

結果

  • 本番依存の脆弱性: 5件 (moderate 1 / high 4) → 3件 (high 3)
  • npm test(lint + mocha)62 passing

主な更新(すべて既存レンジ内)

パッケージ 変更 対応する脆弱性
lodash 4.17.x → 4.18.1 Prototype Pollution / _.template Code Injection
@hono/node-server 1.19.12 → 1.19.14 serveStatic のミドルウェアバイパス
@modelcontextprotocol/sdk 1.11.0 → 1.18.1 依存の更新

残課題(本PRの対象外)

axios / follow-redirects の high 3件は npm audit fix --force(メジャー更新=破壊的変更の恐れ)が必要。@slack/rtm-api 側の許容状況を確認したうえで別PRで対応する。

🤖 Generated with Claude Code

package.json のレンジは変えず lockfile のみ更新。
本番依存の脆弱性を 5件(moderate1/high4) → 3件(high3) に削減。

主な更新:
- lodash 4.17.x → 4.18.1 (Prototype Pollution / Code Injection)
- @hono/node-server 1.19.12 → 1.19.14 (serveStatic のミドルウェアバイパス)
- @modelcontextprotocol/sdk 1.11.0 → 1.18.1

残る axios / follow-redirects の high 3件は破壊的変更(--force)が
必要なため本PVには含めず別途対応する。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@hideack
hideack merged commit 7e2bb47 into master Jul 20, 2026
2 checks passed
@hideack
hideack deleted the fix/audit-nonbreaking branch July 20, 2026 03:18
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