Skip to content

fix(deps): resolve high-severity advisories (axios, undici, fast-uri) - #44

Merged
muralx merged 1 commit into
mainfrom
fix/audit-high-advisories
Jul 27, 2026
Merged

fix(deps): resolve high-severity advisories (axios, undici, fast-uri)#44
muralx merged 1 commit into
mainfrom
fix/audit-high-advisories

Conversation

@muralx

@muralx muralx commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Problem

The Security Audit workflow (npm audit --audit-level=high --omit=dev) is failing on main3 high-severity advisories in the runtime dependency tree:

Package Advisory class Reached via
axios (1.0.0–1.17.0) DoS + prototype pollution @authplane/fastmcpfastmcp
undici (7.0.0–7.27.2) TLS-bypass, header injection, DoS @authplane/fastmcpfastmcp
fast-uri (3.0.0–3.1.3) host confusion @authplane/mcp@modelcontextprotocol/sdk

All 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, so npm audit fix at the root resolves transitive versions across all workspaces within the upstream semver ranges — no package.json edits and no overrides required:

axios     1.16.0 -> 1.18.1
undici    7.25.0 -> 7.29.0
fast-uri  3.1.2  -> 3.1.4

Only package-lock.json changes.

Verification

  • npm audit --audit-level=high --omit=devPASS (0 high, 0 critical; 5 moderate remain, below the gate threshold)
  • npm run build → clean
  • @authplane/fastmcp tests 38/38, @authplane/mcp tests 42/42

Remaining 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.

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.
@muralx
muralx requested a review from a team as a code owner July 27, 2026 11:55
@muralx
muralx merged commit 3401dd8 into main Jul 27, 2026
7 checks passed
@muralx
muralx deleted the fix/audit-high-advisories branch July 27, 2026 12:46
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.

2 participants