fix(deps): resolve high-severity advisories (axios, undici, fast-uri) - #44
Merged
Conversation
npm audit --audit-level=high --omit=dev failed on 3 high-severity advisories in the runtime tree, all transitive through third-party packages (fastmcp -> axios + undici; @modelcontextprotocol/sdk -> fast-uri). Our workspaces declare none of these directly. npm audit fix bumps the resolved versions within the upstream semver ranges via the shared root lockfile — no package.json or overrides needed: axios 1.16.0 -> 1.18.1 undici 7.25.0 -> 7.29.0 fast-uri 3.1.2 -> 3.1.4 Gate now passes (0 high, 0 critical; 5 moderate remain, below threshold). Build green; @authplane/fastmcp and @authplane/mcp test suites pass.
RobertoIskandarani
approved these changes
Jul 27, 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.
Problem
The Security Audit workflow (
npm audit --audit-level=high --omit=dev) is failing onmain— 3 high-severity advisories in the runtime dependency tree:@authplane/fastmcp→ fastmcp@authplane/fastmcp→ fastmcp@authplane/mcp→ @modelcontextprotocol/sdkAll three are transitive through third-party packages — our workspaces declare none of them directly.
Fix
This is an npm-workspaces monorepo with a single root
package-lock.json, sonpm audit fixat the root resolves transitive versions across all workspaces within the upstream semver ranges — nopackage.jsonedits and nooverridesrequired:Only
package-lock.jsonchanges.Verification
npm audit --audit-level=high --omit=dev→ PASS (0 high, 0 critical; 5 moderate remain, below the gate threshold)npm run build→ clean@authplane/fastmcptests 38/38,@authplane/mcptests 42/42Remaining moderate (not addressed here, below the gate)
hono (JSX cross-request /
cx()XSS), qs/express DoS, @hono/node-server serve-static path traversal. These don't fail CI; can be swept separately or left to dependabot.