Skip to content

fix: bump transitive deps to clear npm audit CI gate - #78

Merged
TheAmericanMaker merged 1 commit into
mainfrom
fix/audit-brace-expansion
Aug 2, 2026
Merged

fix: bump transitive deps to clear npm audit CI gate#78
TheAmericanMaker merged 1 commit into
mainfrom
fix/audit-brace-expansion

Conversation

@TheAmericanMaker

Copy link
Copy Markdown
Member

Problem

CI runs npm audit --omit=dev --audit-level=high. That step has been failing on main, so every open PR shows red CI regardless of its own content — including #77.

The blocking advisory is the one high: brace-expansion DoS via unbounded expansion, reached transitively:

@earendil-works/pi-coding-agent -> minimatch@10.2.5 -> brace-expansion@5.0.7

This also clears the two dependabot alerts on the default branch.

Fix

npm audit fixlockfile-only, package.json untouched, no overrides added:

Package From To Why
brace-expansion 5.0.7 5.0.9 the blocking high advisory
@modelcontextprotocol/sdk 1.29.0 1.30.0 satisfies existing ^1.29.0
@hono/node-server 1.19.14 2.0.12 moderate path-traversal advisory

The @hono/node-server major bump is transitive and worth a second look — but it is within the MCP SDK's own declared range (^1.19.9 || ^2.0.5 in @modelcontextprotocol/sdk@1.30.0), so it's a supported combination rather than a forced upgrade.

Verification

  • npm audit --omit=dev --audit-level=high → exit 0 (found 0 vulnerabilities)
  • npm run build → clean
  • npm test → 270/270 pass
  • MCP server smoke-checked directly against the bumped SDK: initialize handshake and tools/list both return correctly over stdio

Merge order

Merge this first, then update #77 — its CI should go green without any change to its own content.

🤖 Generated with Claude Code

CI runs `npm audit --omit=dev --audit-level=high`, which has been failing
on main and therefore on every open PR. The blocking advisory is the high
severity brace-expansion DoS (GHSA-mh99-v99m-4gvg), reached via
@earendil-works/pi-coding-agent -> minimatch -> brace-expansion@5.0.7.

`npm audit fix` resolves it as a lockfile-only change:

- brace-expansion 5.0.7 -> 5.0.9 (the high advisory)
- @modelcontextprotocol/sdk 1.29.0 -> 1.30.0 (satisfies existing ^1.29.0)
- @hono/node-server 1.19.14 -> 2.0.12 (moderate path traversal advisory;
  the major bump is within the SDK's own declared ^1.19.9 || ^2.0.5 range,
  not a forced override)

package.json is unchanged and no overrides were added. Verified: audit
gate exits 0, build clean, 270/270 tests pass, and the MCP server still
completes an initialize + tools/list handshake against the bumped SDK.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@TheAmericanMaker
TheAmericanMaker merged commit 8718f58 into main Aug 2, 2026
5 checks passed
@TheAmericanMaker
TheAmericanMaker deleted the fix/audit-brace-expansion branch August 2, 2026 16:05
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