Repository navigation
fix(deps): clear the dependency audit (MCP SDK, proxy-addr, sprintf-js) - #22
Merged
Merged
Conversation
Three advisories published after 2026-10-05 turned the audit job red: - @modelcontextprotocol/sdk 1.27.1 -> 1.32.1 (GHSA-6qxp-vccf-f47h, high) - proxy-addr 2.0.7 -> 2.0.8 (GHSA-jqcg-44mw-7w3h, critical) - sprintf-js (GHSA-hp3w-g68c-fv3c, moderate): every version is affected. It arrives only through argparse 1.x, which js-yaml 3 loads in its command-line script and never in the library gray-matter uses. An override pins argparse to 2.x, which has no sprintf-js dependency. npm audit --omit=dev reports 0 vulnerabilities; registry signatures verify. Co-Authored-By: Claude Opus 5.5 <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.
Problem
The "Dependency audit" CI job is red on
master. Three advisories were published after 2026-10-05; no code change caused it.Change
@modelcontextprotocol/sdkproxy-addrsprintf-jssprintf-jshas no fixed version. It is pulled in only byargparse1.x, whichjs-yaml3 uses in its command-line script and never in the library thatgray-mattercalls. Anoverridesentry pinsargparseto 2.x, which does not depend onsprintf-js. The alternativenpm audit fix --forcewould downgradegray-matterto 2.0.1.Only
package.json(the override) andpackage-lock.jsonchange.Tests
npm audit --omit=dev --audit-level=moderate: 0 vulnerabilities.npm audit signatures: all verified.npm ci, isolated HOME: 146 pass, 0 fail (front matter parsing included).tools/listunder SDK 1.32.1: the same 12 tools, identical to before, all still carryingsecuritySchemes.initialize,tools/list,kb_search, refresh all pass.kb.js mcp(stdio) boots, lists 22 tools, runskb_search.Deploy
Merge, then in the live checkout:
git pull --ff-only,npm ci,sudo systemctl restart kb-server.🤖 Generated with Claude Code