npm audit fix で非破壊の脆弱性を解消#147
Merged
Merged
Conversation
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>
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.
概要
npm audit fix(破壊的変更なし)で本番依存の既知脆弱性を解消。package.jsonの semver レンジは変更せず、package-lock.jsonのみ更新。結果
npm test(lint + mocha)62 passing主な更新(すべて既存レンジ内)
lodash_.templateCode Injection@hono/node-server@modelcontextprotocol/sdk残課題(本PRの対象外)
axios/follow-redirectsの high 3件はnpm audit fix --force(メジャー更新=破壊的変更の恐れ)が必要。@slack/rtm-api側の許容状況を確認したうえで別PRで対応する。🤖 Generated with Claude Code