fix(deps): bump MCP SDK 1.27.1 → 1.29.0 to clear pre-existing npm audit failure - #187
Conversation
…m audit `npm audit --omit=dev --audit-level=high` (the CI Security Audit check) was failing on `main` with 6 vulnerabilities — 5 moderate + 1 high — all transitive through `@modelcontextprotocol/sdk@1.27.1`: - fast-uri 3.1.0 → 3.1.2 (HIGH: path traversal, host confusion) - hono 4.12.7 → 4.12.23 (moderate: 10 advisories) - @hono/node-server 1.19.11 → 1.19.14 (moderate) - express-rate-limit 8.3.0 → 8.5.2 (transitive ip-address bump) - ip-address 10.1.0 → 10.2.0 (moderate XSS) - qs 6.15.0 → 6.15.2 (moderate DoS) SDK 1.29.0's release notes specifically include "v1.x npm audit fix" (#1780) — this is exactly the cleanup we need. The 1.28.0 schema-validation tightening (#1596 "reject plain JSON Schema objects passed as inputSchema") does not affect our tool registrations: all 708 jest tests pass against the new SDK. Verification: - npm audit --omit=dev --audit-level=high → 0 vulnerabilities - npm test → 708/708 passing - npm run lint → 0 errors (24 pre-existing warnings unchanged) Unblocks PR #173/#174/#175 (community contribution batch from @taranasus) which were all hitting this pre-existing main-branch failure. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Warning Review limit reached
More reviews will be available in 28 minutes and 52 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Unblocks the Security Audit CI check, which has been failing on
mainfor a while with 6 vulnerabilities — 5 moderate + 1 HIGH — all transitive through@modelcontextprotocol/sdk@1.27.1. This was caught when running CI on the community contribution batch (#173/#174/#175): all three PRs inherited the pre-existing failure because they branched off main.Vulns cleared
fast-urihono@hono/node-serverexpress-rate-limitip-addressqsApproach
Single direct change: bump
@modelcontextprotocol/sdkfrom^1.27.1to^1.29.0. SDK 1.29.0's release notes specifically include "v1.x npm audit fix" (#1780) — exactly the cleanup we need. The other 5 transitive bumps follow automatically via npm's audit fix.Risk assessment
SDK 1.28.0 introduced one behaviour change worth flagging: fix: reject plain JSON Schema objects passed as inputSchema (#1596). All 708 jest tests pass against the new SDK, so none of our 22 tool registrations are affected — we already use proper inputSchema shapes per the MCP spec.
Verification
Test plan
🤖 Generated with Claude Code