Repository navigation
chore(security): resolve pnpm audit vulnerabilities (1 moderate) - #593
Merged
Merged
Conversation
Contributor
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #593 +/- ##
========================================
Coverage 90.56% 90.56%
========================================
Files 217 217
Lines 12741 12741
Branches 3685 3578 -107
========================================
Hits 11539 11539
Misses 1199 1199
Partials 3 3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
pnpm audit fails the Audit CI jobs on every branch with one moderate advisory in a transitive production dependency: - ip-address <=10.7.3: Address6 matches a zone identifier in quadratic time ahead of its length limit (GHSA-rxp7-6hxx-x8q5), via mcp > @modelcontextprotocol/sdk > express-rate-limit. Raise the existing pnpm.overrides floor (ip-address >=10.5.1 -> >=10.7.4) and refresh the lockfile. No direct dependency changes: the latest SDK and every express-rate-limit release still declare ip-address ^10.2.0, so no upstream bump carries the fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xojah1Cd55qFBFkBRZQAcy
tkislan
force-pushed
the
chore/pnpm-audit-2026-10-23
branch
from
October 23, 2026 20:31
7e67416 to
b733d73
Compare
tkislan
marked this pull request as ready for review
October 23, 2026 20:59
m1so
approved these changes
Oct 24, 2026
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.
pnpm auditfails the Audit - Production and Audit - All jobs onmainand on every open PR. A full Qlty scan (qlty check --all,osv-scannerplugin) reports the same advisory. One advisory affects a transitive production dependency:mcp > @modelcontextprotocol/sdk > express-rate-limit > ip-address"pnpm": { "overrides": { ... - "ip-address": ">=10.5.1", + "ip-address": ">=10.7.4",Override floor, not a direct dependency bump
ip-addressis transitive. The repo already has a floor override for it, raised the same way in chore(security): patch pnpm audit vulnerabilities via overrides #376, chore(security): resolve pnpm audit vulnerabilities (3 high, 3 moderate) #438 and chore(security): resolve pnpm audit vulnerabilities (3 moderate) #546. This PR raises that floor again and keeps it open-ended, like the other floors.@modelcontextprotocol/sdk(1.32.2) still declaresexpress-rate-limit ^8.2.1, and everyexpress-rate-limitrelease up to 8.7.1 declaresip-address ^10.2.0.<=10.7.3), so there are no per-minor-line fixes to account for.Target version 10.7.4
latest. It was published 2026-10-11, well past the 24-hourminimumReleaseAgeinrenovate.json. The lockfile was resolved with--config.minimum-release-age=1440.Address4.fromArpainput to 32 characters. 10.7.4 finds the zone identifier withindexOfinstead of a regex.Exposure
The advisory can't be reached in practice. In the SDK, only the
server/auth/handlers/*modules loadexpress-rate-limit.packages/mcpimports onlyserver/index.js,server/stdio.jsandtypes.js. The fix is still needed becausepnpm audit --prodfails CI either way.Lockfile
ip-addressmoves, 10.7.2 → 10.7.4: the overrides entry, the package entry and both snapshot references.libc:anddeprecated:registry metadata to 50 package entries whose versions did not change. Those lines were removed so the diff holds only real changes, as in chore(security): resolve pnpm audit vulnerabilities (1 high, 3 moderate) #588 and chore(security): resolve pnpm audit vulnerabilities (2 moderate) #590. Runningpnpm install --lockfile-onlyon the result changes nothing.Not in this PR: zod (GHSA-mrhx-c7xc-m3w5)
A full Qlty scan also flags
zod@3.25.76with GHSA-mrhx-c7xc-m3w5 (high). The CI Qlty Check job doesn't show it, because on PR checkouts it reports "No modified files for checks were found" and scans nothing.pnpm auditdoesn't report it yet either, because its advisory database lags GitHub, so the Audit jobs will likely start failing on it. This PR deliberately leaves zod alone until we decide how to handle it:< 4.6.6was added today by a community PR ([GHSA-mrhx-c7xc-m3w5] Add affected version range for zod (< 4.6.6) github/advisory-database#10339), and zod's own repo has no advisory. The zod owner has said v3 will not get a new release and that he does not consider this a vulnerability (colinhacks/zod#6653, 2026-10-12). zod's SECURITY.md leaves older majors to "maintainer discretion"..max(),.length()or.size(). None of this repo's schemas use those.@deepnote/blocksand@deepnote/database-integrationsexport zod schemas, so both would need a major release.Verification
pnpm auditandpnpm audit --prod: no known vulnerabilities (both fail onmain)qlty check --all --filter osv-scanner: the ip-address finding is gone; only the zod finding above remainspnpm install --frozen-lockfile: passes, andpnpm install --lockfile-onlyleaves the lockfile unchangednpm view ip-address@10.7.4 dist.integritypnpm build,pnpm typecheck,pnpm lintAndFormat,pnpm spell-check: passpnpm test: 190 files, 3628 tests pass. Run locally with apython→python3shim on PATH, which thecli/run.test.tscases need in this workspace.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xojah1Cd55qFBFkBRZQAcy