chore: remediate build-tool glob advisories#365
Conversation
bntvllnt
left a comment
There was a problem hiding this comment.
Review — 0 findings (0 blocking, 0 warn)
@bntvllnt PR #365 is clean from this review gate. Approval is recommended, with final approval reserved for the human reviewer.
VERIFIED CLEAN
- Scope matches issue #363: only
package.jsonandpnpm-lock.yamlchanged, limited to Vite/picomatch/brace-expansion dependency remediation. - PR body links
Closes #363, matches the current head2c76fea7e00bb5dd5b5d8c1eb2996b344ba747c5, and documents the remaining unrelated audit advisories. - No PostCSS remediation is included in this diff; existing
postcss@8.5.6lockfile paths are unchanged and remain outside this issue's route (#355/#360). - No evidence of using, repairing, or broadening superseded PR #359: this head is a single commit on current
origin/main, with only the two dependency files changed. - Vite moved only by patch versions (
6.4.1 -> 6.4.2,7.3.1 -> 7.3.2), not by major version.
VALIDATION
- Reviewed live PR metadata and diff for current head
2c76fea7e00bb5dd5b5d8c1eb2996b344ba747c5. - CI evidence:
Quality Gates,Enforce issue-linked PRs, CodeQL, react-doctor, Vercel Preview Comments, and Storybook Vercel are green.Vercel – ui.vllnt.aiis canceled/failing externally from Vercel, not a code-level finding in this dependency-only PR. - Ran
pnpm audit --json --audit-level moderatelocally on the review worktree: exit 1 because unrelated advisories remain, but target advisory counts arevite=0,picomatch=0,brace-expansion=0. - Checked the lockfile directly: old scoped vulnerable entries
vite@6.4.1,vite@7.3.1,picomatch@2.3.1,picomatch@4.0.3,brace-expansion@1.1.12, andbrace-expansion@5.0.4are absent.
Verdict: clean/manual-review-ready; no blocking findings.
|
Status-gate classification for current head 2c76fea:
Recommendation: safe for bntvllnt manual next step if he accepts the known external preview-status caveat. Approval/merge remains manual. |
bntvllnt
left a comment
There was a problem hiding this comment.
@bntvllnt APPROVE — dependency/security review clean for the scoped build-tool/glob remediation.
Evidence checked at head 2c76fea7e00bb5dd5b5d8c1eb2996b344ba747c5:
- Diff is limited to
package.jsonandpnpm-lock.yaml; it adds targeted overrides for Vite, picomatch, and brace-expansion resolution floors plus corresponding lockfile updates. pnpm install --frozen-lockfile --ignore-scriptspassed.pnpm audit --jsonstill exits 1 for unrelated advisories, but scoped targets are absent:vite: 0,picomatch: 0,brace-expansion: 0.- PR body links
Closes #363and documents the remaining advisory count as out of scope. - GitHub checks are green for Quality Gates, CodeQL, health scan, issue-link, JS/TS analysis, actions analysis, preview comments, and Storybook;
Vercel – ui.vllnt.airemains failed/canceled externally and needs human/Vercel handling before merge if the repo treats that preview as required.
No blocking source/dependency findings from this review.
|
Preview ready · pr-365-ui-registry
Inspect
|
bntvllnt
left a comment
There was a problem hiding this comment.
Review — 1 blocking finding (REQUEST_CHANGES recommended)
GitHub will not allow this account to submit REQUEST_CHANGES on this PR (Can not request changes on your own pull request), so I am posting this as a comment review. Treat this as blocking until fixed.
BLOCKING
C1 — brace-expansion v5 override still resolves to an audited vulnerable version- Evidence:
package.json:58pinsbrace-expansion@>=4.0.0 <5.0.5to5.0.5, andpnpm-lock.yamlresolvesbrace-expansion@5.0.5. - Local validation:
pnpm audit --json --audit-level moderatestill reports advisory1119088forbrace-expansionwith vulnerable range>=5.0.0 <5.0.6and patched range>=5.0.6. - Why it matters: issue #363 acceptance requires the scoped Vite/picomatch/brace-expansion advisories to be absent or explicitly documented as out of scope. This PR body currently says the target advisories are absent, but live audit still reports the scoped brace-expansion advisory.
- Fix: change the v5 brace-expansion override to a patched version (
5.0.6or newer), regenerate the lockfile, rerun audit, then update the PR validation note.
- Evidence:
VERIFIED CLEAN
- Scope is limited to
package.jsonandpnpm-lock.yaml. - No generated registry/dist artifacts are included.
- The old scoped lockfile entries for
vite@6.4.1,vite@7.3.1,picomatch@2.3.1,picomatch@4.0.3,brace-expansion@1.1.12, andbrace-expansion@5.0.4are absent. - GitHub checks at PR head are green/neutral, and
pnpm install --frozen-lockfilesucceeds locally.
VALIDATION
- Ran:
pnpm install --frozen-lockfile— pass. - Ran:
pnpm audit --json --audit-level moderate— expected nonzero overall, but still includes scopedbrace-expansionadvisory1119088for5.0.5. - Checked PR metadata/body and issue #363 acceptance criteria.
| "picomatch@<2.3.2": "2.3.2", | ||
| "picomatch@>=4.0.0 <4.0.4": "4.0.4", | ||
| "brace-expansion@<1.1.13": "1.1.13", | ||
| "brace-expansion@>=4.0.0 <5.0.5": "5.0.5" |
There was a problem hiding this comment.
This v5 override still lands on brace-expansion@5.0.5, but a fresh pnpm audit --json --audit-level moderate reports advisory 1119088 with vulnerable_versions: >=5.0.0 <5.0.6 and patched_versions: >=5.0.6. That means the scoped brace-expansion target is still present, contrary to the PR validation note and issue #363 acceptance criteria. Please override to 5.0.6 or newer, regenerate the lockfile, and rerun/update the audit evidence.
|
Remediation for the current-head brace-expansion blocker is pushed at a1f0aa2. Evidence:
PR body has been refreshed with the updated validation note. |
bntvllnt
left a comment
There was a problem hiding this comment.
Review — 0 findings (0 blocking, 0 warn)
@bntvllnt PR #365 is clean from this retry publication gate. Approval is recommended, but final approval remains reserved for the human reviewer; I am not merging or approving from automation.
BLOCKING
- None.
WARN
- None.
VERIFIED CLEAN
- Reviewed current head
a1f0aa2854ce1ef7bbcfb803d97d2929dbb2de55; it is still open, non-draft, mergeable, andmergeStateStatus: CLEAN. - Changed-file scope is limited to
package.jsonandpnpm-lock.yaml. - The diff only adds/preserves targeted overrides and lockfile resolutions for the dependency/security remediation: Vite 6.4.2 / 7.3.2, picomatch 2.3.2 / 4.0.4, and brace-expansion 1.1.13 / 5.0.6.
- The previous brace-expansion v5 blocker is resolved: the v5 override is now
brace-expansion@>=4.0.0 <5.0.6: 5.0.6, and the lockfile package/snapshot entries now resolve tobrace-expansion@5.0.6. - PR metadata matches the current diff, links
Closes #363, and accurately documents the residualpnpm auditadvisories as unrelated to the target packages. - Current GitHub checks are green for the visible required gates, including Quality Gates, build, PR Issue Link, CodeQL, react-doctor, and preview deploy.
VALIDATION
- Re-checked live GitHub metadata/check state for PR #365 immediately before publication.
- Re-checked local diff at the exact head against
origin/main:package.jsonandpnpm-lock.yamlonly. - Reused the prior same-head package/lockfile validation evidence:
pnpm install --frozen-lockfile --ignore-scriptspassed, andpnpm audit --json --audit-level moderateremained nonzero only for unrelated advisories while confirming target packages absent from audit findings. - Did not rerun full local build/test gates in this publication retry; current PR body and live GitHub checks report the workspace gates green at this head.
Summary
Closes #363
Validation
Notes