Skip to content

Fix Dependabot security advisories (uuid, babel, brace-expansion)#121

Closed
MastaP wants to merge 1 commit into
mainfrom
fix/dependabot-advisories
Closed

Fix Dependabot security advisories (uuid, babel, brace-expansion)#121
MastaP wants to merge 1 commit into
mainfrom
fix/dependabot-advisories

Conversation

@MastaP

@MastaP MastaP commented Jun 3, 2026

Copy link
Copy Markdown
Member

Summary

Clears all 3 open Dependabot advisories on main. After the change, npm audit reports 0 vulnerabilities.

Package Sev Scope Change Where
uuid Moderate (GHSA-w5hq-g745-h8pq) runtime, direct 13.0.0 → 13.0.2 package.json + lockfile
@babel/plugin-transform-modules-systemjs High (GHSA-fv7c-fp4j-7gwp) dev, transitive 7.29.0 → 7.29.7 lockfile only
brace-expansion Moderate (GHSA-jxxr-4gwj-5jf2) dev, transitive 5.0.5 → 5.0.6 lockfile only

Reachability (none are exploitable in this package)

  • uuid — the SDK touches uuid only at src/api/json-rpc/JsonRpcHttpTransport.ts via import { v4 as uuid }, called as uuid() with no buf. The advisory affects v3/v5/v6 with a buf argument, so the vulnerable path isn't present. Bumped anyway for hygiene / to clear the alert.
  • @babel/...-systemjs & brace-expansion — dev-only, transitive, build-time tooling (babel-jest transform / glob matching of trusted config). Never shipped in the published tarball.

Scope

Only package.json change is the uuid pin; all other bumps are lockfile-only and within existing semver ranges (no major bumps, no API changes).

Verification

  • npm audit0 vulnerabilities
  • npm run build → clean
  • npm run test:ci15 suites / 56 tests pass

Note: a local npm run lint on node 26 surfaces 2 pre-existing import/order ordering nits in PredicateVerifierService.ts due to newer-ICU locale collation; CI lints on node 20.x where these don't appear (this PR changes no .ts source and no eslint deps). Tracked separately, out of scope here.

Clears the 3 open advisories on main (npm audit: 0 vulnerabilities):

- uuid 13.0.0 -> 13.0.2 (GHSA-w5hq-g745-h8pq, runtime dep). Not
  reachable here (SDK only uses v4() with no buf arg) but bumped for
  hygiene to clear the alert.
- @babel/plugin-transform-modules-systemjs 7.29.0 -> 7.29.7
  (GHSA-fv7c-fp4j-7gwp, high; dev/transitive, lockfile-only).
- brace-expansion 5.0.5 -> 5.0.6 (GHSA-jxxr-4gwj-5jf2; dev/transitive,
  lockfile-only).

Only package.json change is the uuid pin; everything else is
lockfile-only and within existing semver ranges. Build + test:ci pass.

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request updates dependency versions in package.json and package-lock.json. Specifically, the uuid package is upgraded from 13.0.0 to 13.0.2, various @babel packages are updated to version 7.29.7, and several peer dependency flags are removed from the lockfile. There are no review comments to address, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@MastaP MastaP requested a review from martti007 June 3, 2026 16:50
@MastaP MastaP closed this Jun 4, 2026
@MastaP MastaP deleted the fix/dependabot-advisories branch June 4, 2026 14:47
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