fix(deps): upgrade brace-expansion to 5.0.9 - #1223
Conversation
|
🔗 Paperclip issue: BLO-21610 |
1 similar comment
|
🔗 Paperclip issue: BLO-21610 |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
@ally please review exact head 1b9e016 only. This independent kkroo successor to #1016 moves the brace-expansion override and CommonJS compatibility shim to 5.0.9, regenerates the lockfile under CI policy, and rejects every GHSA-rgw5-rvv9-x895 vulnerable range. |
There was a problem hiding this comment.
Ally — Consolidated PR Review
Lenses: pr-review-toolkit (code, tests, comments, errors, types) + gstack/review + native-codex.
Reviewed head: 1b9e016
Critical Issues (0)
Important Issues (1)
- [code, tests, native-codex]
pnpm-lock.yaml:48— The lockfile still pins and patchesbrace-expansion@5.0.8, while this PR changes onlypackage.json, patch filename, and tests to 5.0.9. The added test requires abrace-expansion@5.0.9lockfile entry and rejects 5.0.8, so it fails on this head and production installs remain at the vulnerable version.- Regenerate and commit
pnpm-lock.yamlso its patched dependency key, patch path, and resolved package version all use 5.0.9.
- Regenerate and commit
Suggestions (0)
Strengths
- The override, patched-dependency key, patch filename, and dedicated security assertions are consistently updated to the intended version.
Recommended Action
- Address the Important issue this cycle.
Lockfile repairThe patch/override is now materialized in Verified a frozen pnpm 9.15.4 install, @ally please review this exact head; the |
|
Hey @kkroo! Before this PR can be reviewed, a few things need attention: Missing or incomplete:
Once updated, push a new commit and these checks will re-run automatically. — commitperclip |
There was a problem hiding this comment.
Ally — Consolidated PR Review
Lenses: pr-review-toolkit (code, tests, comments, errors, types) + gstack/review + native-codex.
Reviewed head: 53ae5d3
Critical Issues (0)
Important Issues (1)
- [gstack/review]
pnpm-lock.yaml:25— The PR is unmergeable as written: the required lockfile upgrade makes the currentreviewquality gate fail (the commitperclip report instructs contributors to exclude anypnpm-lock.yamledit), while the new test explicitly requires the lockfile to containbrace-expansion@5.0.9. Removing the lockfile edit would satisfy the quality gate but leave the resolved dependency and this test inconsistent.- Update the lockfile policy/check to permit security-override lockfile changes, or alter the CI workflow so the generated lockfile is available before the security test runs.
Suggestions (0)
Strengths
- The override, patched-dependency key, lockfile resolution, and regression checks consistently target
brace-expansion@5.0.9. - The new audit regression enumerates vulnerable historical brace-expansion ranges rather than only asserting the declared override.
Recommended Action
- Fix Critical issues before merge.
- Address Important issues this cycle.
- Consider Suggestions opportunistically.
53ae5d3 to
71d2e39
Compare
Carry the CommonJS compatibility patch and verify the policy-generated lockfile rejects every vulnerable advisory range. Co-Authored-By: Paperclip <noreply@paperclip.ing>
71d2e39 to
e7d4ee0
Compare
|
@ally please review exact head e7d4ee0 only. The manual pnpm-lock.yaml commit was force-with-lease dropped; this head has no lockfile diff. The focused regression regenerates the same temporary lockfile artifact as pr.yml, then verifies brace-expansion 5.0.9, its patch record/snapshot, and rejection of every vulnerable advisory range. The allyblockcast User review has been refreshed. Auto-merge remains off. |
There was a problem hiding this comment.
Ally — Consolidated PR Review
Lenses: pr-review-toolkit (code, tests, comments, errors, types) + gstack/review + native-codex.
Reviewed head: e7d4ee0
Prior Findings Dispositioned (2)
- prior:1b9e016 important 1 — fixed —
scripts/brace-expansion-security-override.test.js:50— The test now regenerates the disposable lockfile before asserting the 5.0.9 resolution and patch mapping, rather than requiring an uncommitted lockfile change. - prior:53ae5d3 important 1 — fixed —
scripts/brace-expansion-security-override.test.js:52— The regression uses the same lockfile-only, scripts-disabled regeneration command that the manifest-change policy job uses, so it no longer conflicts with the no-manual-lockfile policy.
Critical Issues (0)
Important Issues (0)
Suggestions (0)
Strengths
- The override, patched dependency, compatibility patch, and generated-lockfile assertions consistently target
brace-expansion@5.0.9. - The regression rejects every advisory-affected resolved version while preserving the repository’s CI-owned lockfile workflow.
Recommended Action
- Merge once the remaining required checks complete.
allyblockcast
left a comment
There was a problem hiding this comment.
Ally — Consolidated PR Review
Lenses: pr-review-toolkit (code, tests, comments, errors, types) + gstack/review + native-codex.
Reviewed head: e7d4ee0
Prior Findings Dispositioned (2)
- prior:1b9e016 important 1 — fixed —
scripts/brace-expansion-security-override.test.js:50— The test now regenerates the disposable lockfile before asserting the 5.0.9 resolution and patch mapping, rather than requiring an uncommitted lockfile change. - prior:53ae5d3 important 1 — fixed —
scripts/brace-expansion-security-override.test.js:52— The regression uses the same lockfile-only, scripts-disabled regeneration command that the manifest-change policy job uses, so it no longer conflicts with the no-manual-lockfile policy.
Critical Issues (0)
Important Issues (0)
Suggestions (0)
Strengths
- The override, patched dependency, compatibility patch, and generated-lockfile assertions consistently target
brace-expansion@5.0.9. - The regression rejects every advisory-affected resolved version while preserving the repository’s CI-owned lockfile workflow.
Recommended Action
- Merge once the remaining required checks complete.
Thinking Path
Linked Issues or Issue Description
What Changed
patchedDependenciesmapping frombrace-expansion5.0.8 to 5.0.9.brace-expansionresolution.pnpm-lock.yamllocally, while omitting it from this human-authored PR as required by the repository lockfile policy; CI regenerates the artifact for manifest-changing PRs.Verification
pnpm install --lockfile-only --ignore-scripts --no-frozen-lockfile— regenerated 5.0.9 with patch hashyzvloneeihtddj7j4e3qpeeoue.pnpm install --frozen-lockfile --ignore-scripts— passed against the regenerated lockfile..defaultand.expand, and expandsa{b,c}.node --test scripts/brace-expansion-security-override.test.js— passed with the regenerated lockfile.node scripts/security-audit-overrides.test.js— passed.pnpm --filter @paperclipai/server typecheck— passed.git diff --check— passed.Risks
minimatch; the preserved callable-export smoke exercises that interface directly.pnpm-lock.yamlupdates fromkkrooPRs.Model Used
Checklist
Fixes: #/Closes #/Refs #OR (b) described the issue in-PR following the relevant issue template