build(deps): bump ui dependencies to clear security advisories#2493
Merged
Conversation
Bumps @modelcontextprotocol/ext-apps from ^1.0.0 to ^1.7.2 (which pulls in newer @modelcontextprotocol/sdk and hono), and runs npm audit fix to update the transitive vite/rollup/postcss/picomatch/lodash chain. Closes the following GHSAs (all reachable only through /ui build deps): - hono: GHSA-xh87-mx6m-69f3, and the SSR/cookie/serveStatic family - fast-uri: GHSA path-traversal/host-confusion - ip-address, express-rate-limit, path-to-regexp, picomatch - vite path-traversal + dev-server WebSocket file-read - rollup arbitrary file write, postcss XSS, lodash prototype pollution No source changes required: the ext-apps React API we consume (useApp / App / ontoolresult / ontoolinput) is unchanged; typecheck and the full vite build pass. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the /ui build-time dependency tree to clear Dependabot security advisories by bumping @modelcontextprotocol/ext-apps and applying the resulting transitive upgrades (vite/rollup/postcss/picomatch/lodash, etc.). The change is scoped to UI build dependencies and is intended to leave runtime server behavior unchanged.
Changes:
- Bump
@modelcontextprotocol/ext-appsfrom^1.0.0to^1.7.2. - Update
ui/package-lock.jsonto reflect the new resolved dependency graph and patched transitive versions.
Show a summary per file
| File | Description |
|---|---|
| ui/package.json | Updates the UI dependency on @modelcontextprotocol/ext-apps to a newer version. |
| ui/package-lock.json | Refreshes the lockfile with updated direct/transitive package versions pulled in by the bump/audit fix. |
Copilot's findings
Files not reviewed (1)
- ui/package-lock.json: Language not supported
- Files reviewed: 1/2 changed files
- Comments generated: 1
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use the v1.7.0 useApp options to: - autoResize iframes to content height (helps issue-write/pr-write/get-me surfaces which all render variable-height forms and result cards) - enable strict handshake-ordering checks in development builds so any out-of-order handler registration surfaces immediately Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.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.
What
Bumps
@modelcontextprotocol/ext-appsfrom^1.0.0→^1.7.2(which pulls in newer@modelcontextprotocol/sdkandhono), and runsnpm audit fixto update the transitive vite/rollup/postcss/picomatch/lodash chain.Why
Closes the security advisories surfaced on the Dependabot alerts page that are reachable only through
/uibuild deps:hono: GHSA-xh87-mx6m-69f3 + the SSR/cookie/serveStatic family (≈15 alerts)fast-uri: path-traversal / host-confusionip-address,express-rate-limit,path-to-regexp,picomatch,lodashvitepath-traversal + dev-server WebSocket file-readrolluparbitrary file writepostcssXSSAfter the bump,
npm auditreports 0 vulnerabilities.Code-change impact
None required. The
@modelcontextprotocol/ext-appsReact API we consume inui/src/hooks/useMcpApp.ts(useApp,App,ontoolresult,ontoolinput) is unchanged between 1.0.x and 1.7.x.Verification
npm audit→found 0 vulnerabilitiesnpm run typecheck→ cleanscript/build-ui→ all three apps (get-me, issue-write, pr-write) build successfully with vite 6.4.2Only the build-time UI dep tree changed; nothing in the runtime distroless image is affected.