Repository navigation
Fix high-severity Dependabot alerts in runtime and dev dependencies - #63
Conversation
Raise the axios and undici overrides so the runtime tree resolves to axios 1.21.0 and undici 6.29.1, and refresh js-yaml, form-data, browserslist, brace-expansion, flatted, and minimatch within the ranges already declared by their parents. Rebuild dist from that tree. Co-authored-by: August Flanagan <aflanagan@users.noreply.github.com>
The remaining high advisory is a dev-only ReDoS in picomatch 2.3.1. Parents already allow ^2.0.4, ^2.2.3, and ^2.3.1, so the lockfile can move to 2.3.2 without an override. Co-authored-by: August Flanagan <aflanagan@users.noreply.github.com>
|
Opus 5.5 High review of 3f95d28: APPROVE. No blocking findings. 1. Alerts are out of their vulnerable ranges (pass)I could not read this repo's Dependabot alerts (the API returned 403), so I couldn't map alert numbers to advisory IDs. Instead, I checked every advisory in the GitHub Advisory Database for each package against the versions before and after this PR:
2. dist/ matches a clean rebuild (pass)
3. Runtime and the
|
6.28.1 is still affected by GHSA-xjj6-f33q-929c and GHSA-4qv8-2p9j-2685. The lockfile already resolves undici to 6.29.1, and npm install left it unchanged. Co-authored-by: August Flanagan <aflanagan@users.noreply.github.com>
|
Raised the undici override floor from Leaving the other notes as follow-ups:
|
|
Opus 5.5 High re-review @ d97c3da: APPROVE. No blocking notes. Change since 3f95d28 (pass). Only Full PR at d97c3da. Checked from a fresh worktree:
CI on d97c3da. |
Summary
Clears the open high-severity Dependabot alerts by updating the npm lockfile (and two
overridesentries).action.ymlinputs, outputs, andruns.usingare unchanged. No new environment variables or config files. Dependabot PR #52 is left open.cronitor@2.6.0andcronitor@2.6.1still declareaxios: ^1.6.5, so bumping cronitor does not force axios>=1.20.0. This PR pins that floor with an override instead of taking the cronitor bump in #52.dist/was rebuilt withnpm run prepare(ncc) on Node 16.20.2, which is whatcheck-dist.ymluses. Raising the undici override floor from^6.28.1to^6.29.1did not change the resolved tree ordist/.Alerts
overrides.axios=^1.20.0overrides.undici=^6.29.1(6.28.1 is still inside GHSA-xjj6-f33q-929c and GHSA-4qv8-2p9j-2685)^4.1.0^4.0.6@istanbuljs/load-nyc-config)^3.13.1^4.24.0/>=4.21.0(patched in 4.28.7)^1.1.7^3.2.9^3.0.4–^3.1.2^2.0.4/^2.2.3/^2.3.1No requested alert needed a cross-major override. Jest 29 still passes (
npm test, 20 tests).npm auditafter this change: 0 high, 0 critical. Still reported, and not part of this set:qs(moderate, via cronitor),ajv(moderate, dev),@babel/core(low, dev).Dependabot PR #52
#52 bumps cronitor from 2.5.2 to 2.6.0. That release does not cover the axios alerts: cronitor 2.6.0 (and 2.6.1) still depend on
axios: ^1.6.5, which is what resolved to the vulnerable 1.13.2 in this lockfile. This PR does not close #52.Follow-up
action.ymlstill declaresusing: node16. This PR does not change that. undici 6.x (already overridden on main, now 6.29.1) declaresengines.node: >=18.17, and the Node 16 action runtime is deprecated. Moving the action tonode24, and movingcheck-dist.ymloff Node 16 with it, should be a separate change.Test plan
npm ciandnpm test(jest, 20 passing) on Node 22npm ciandnpm run prepareon Node 16.20.2; a second prepare does not changedist/units-test(test.yml) andCheck dist/(check-dist.yml, Node 16.x) green on this PR