Repository navigation
fix(ui): remediate dependabot alerts for js-yaml and nanoid - #694
Conversation
Remediates high-severity Dependabot security alerts #99 and #102 in cmd/ui: - Alert #99: js-yaml (GHSA-5p4m-2wfm-xmqj) updated to 4.3.2 via overrides. - Alert #102: nanoid (GHSA-2v37-7h3g-55p8 / CVE-2026-67213) pinned to 3.3.18 in overrides. Regenerated cmd/ui/package-lock.json and verified npm audit and Bazel UI tests pass cleanly with 0 vulnerabilities. TAG=agy CONV=3541381a-390e-46d6-a976-4ce5bf317f65
There was a problem hiding this comment.
Code Review
This pull request updates dependencies in the cmd/ui package. Specifically, it upgrades js-yaml to version 4.3.2 and nanoid to version 3.3.18, adding nanoid explicitly to package.json. Additionally, it removes the listr2 dependency and its associated sub-dependencies from package-lock.json. There are no review comments, and I have no feedback to provide.
|
Both GitHub Dependabot audits the full transitive dependency graph in
Because they are not direct top-level dependencies, npm's |
Summary
Remediates high-severity Dependabot security alerts #99 and #102 in
cmd/uiby updatingjs-yamlto4.3.2and pinningnanoidto3.3.18via npm overrides.Motivation & Context
GitHub Dependabot flagged two high-severity vulnerabilities affecting transitive frontend dependencies in
cmd/ui:!!omapresolution injs-yamlversions< 4.3.1.nanoidversions< 3.3.18.Key Changes
js-yamlfrom4.3.0to4.3.2incmd/ui/package.jsonoverrides.nanoid: 3.3.18override incmd/ui/package.jsonoverrides.cmd/ui/package-lock.jsonwith 0 vulnerabilities audited.Assumptions
None — requirements were fully specified.
Verification & Testing
npm auditincmd/ui(0 vulnerabilities found).npm run format:check,npm run lint, andnpm run buildincmd/ui.bazel test //cmd/ui/...(//cmd/ui:server_testand//cmd/ui:ui_unit_testspassed)../.githooks/pre-commit(all pre-commit hooks passed)../tools/analyze_diff_size.py --base-ref origin/main...(within thresholds, no split needed).Related Issues / Bugs
N/A (Resolves Dependabot alerts #99 and #102)
TAG=agy
CONV=3541381a-390e-46d6-a976-4ce5bf317f65