Skip to content

chore(deps): clear 21 Dependabot alerts in the MCP bridge lockfile - #28

Merged
anilcancakir merged 1 commit into
mainfrom
chore/mcp-bridge-audit-fix
Aug 3, 2026
Merged

chore(deps): clear 21 Dependabot alerts in the MCP bridge lockfile#28
anilcancakir merged 1 commit into
mainfrom
chore/mcp-bridge-audit-fix

Conversation

@anilcancakir

Copy link
Copy Markdown
Contributor

What

Lockfile-only update of mcps/fluttersdk-mcp. package.json is untouched: every fix landed inside the existing semver ranges.

Package Was Now Why
hono 4.12.23 4.13.0 ReDoS in the CORS middleware via Access-Control-Request-Headers (high)
@hono/node-server 1.19.14 2.0.12 moderate advisories
ip-address 10.2.0 10.4.0 three SSRF / trust-boundary bypasses: leading-zero octet decoding, CIDR suffix suppressing special-use classification, IPv4-mapped and NAT64 misclassification (high)
fast-uri 3.1.2 3.1.5 high
body-parser 2.2.2 2.3.0 low
postcss 8.5.15 8.5.25 path traversal in source-map auto-loading, arbitrary .map disclosure (high, dev)
vite 8.0.14 8.2.0 server.fs.deny bypass on Windows alternate paths, plus the launch-editor NTLMv2 disclosure (high, dev)
@modelcontextprotocol/sdk 1.29.0 1.30.0 pulled in as the parent of the runtime half

Tree went from 171 to 165 packages.

Why

GitHub reported 21 open alerts (7 high, 13 moderate, 1 low) on the default branch, all pointing at mcps/fluttersdk-mcp/package-lock.json. The runtime half arrives transitively through @modelcontextprotocol/sdk (hono, @hono/node-server, body-parser) and the dev half through vitest (vite, postcss), so nothing here is a direct dependency choice, only a stale lock.

The ip-address group is the one worth naming: this package is a stdio-to-HTTP bridge, so SSRF-adjacent parsing bugs in the transitive tree are not purely theoretical for it.

Testing

  • npm audit: 8 advisory groups before, 0 vulnerabilities after.
  • npm run build (tsc): clean.
  • npm test (vitest run): 2 tests, both pass, unchanged from before.
  • No package.json edit, so the published package's declared dependency ranges are identical.

Noted, not fixed here

npm run lint runs eslint src/, but eslint is not in devDependencies, so the script fails from a clean clone. CI's MCP job runs build and test, not lint, which is why nobody has hit it. Worth either adding the dependency plus a config or dropping the script; both are a separate change from a security lockfile bump.

npm audit reported 8 advisory groups (5 high, 2 moderate, 1 low) against
mcps/fluttersdk-mcp: hono ReDoS in the CORS middleware, three ip-address
SSRF and trust-boundary bypasses, fast-uri, body-parser, and on the dev
side postcss path traversal in source-map auto-loading plus a vite
server.fs.deny bypass.

All of them resolved inside the existing semver ranges, so package.json is
untouched and this is a lockfile-only change. The runtime half arrives
transitively through @modelcontextprotocol/sdk (hono, @hono/node-server,
body-parser) and the dev half through vitest (vite, postcss).

npm audit now reports 0 vulnerabilities. tsc builds and the bridge tests
pass unchanged.
Copilot AI review requested due to automatic review settings August 3, 2026 22:52
@anilcancakir
anilcancakir merged commit a5ff8e8 into main Aug 3, 2026
4 checks passed
@anilcancakir
anilcancakir deleted the chore/mcp-bridge-audit-fix branch August 3, 2026 22:57
anilcancakir added a commit that referenced this pull request Aug 3, 2026
#29)

typescript 6.0.3 to 7.0.2, @types/node 25.9.1 to 26.1.1, vitest 4.1.7 to 4.1.10. All devDependencies; the published package's runtime deps and ranges are untouched. Each was an open Dependabot PR cut against the lockfile #28 replaced, so they are verified once here instead of three rebase cycles. tsc 7 compiles with no source change, vitest 4.1.10 runs the bridge tests green, npm audit stays at 0.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Files not reviewed (1)
  • mcps/fluttersdk-mcp/package-lock.json: Generated file

Comment on lines 27 to 34
"node_modules/@hono/node-server": {
"version": "1.19.14",
"resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-1.19.14.tgz",
"integrity": "sha512-GwtvgtXxnWsucXvbQXkRgqksiH2Qed37H9xHZocE5sA3N8O8O8/8FA3uclQXxXVzc9XBZuEOMK7+r02FmSpHtw==",
"version": "2.0.12",
"resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.0.12.tgz",
"integrity": "sha512-eWpQYr67tqJLeaSUl0Q+TquuYfUdTibpOJlUMV2FfUP7+KqCC5TufnwnlXL6mobZBJbGAYRd7ZvEBDCbLInjhg==",
"license": "MIT",
"engines": {
"node": ">=18.14.1"
"node": ">=20"
},
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