fix(deps): remove unused cz-conventional-changelog to address CVE-2026-4800#3019
Open
Michael Pham (michaelphamcf) wants to merge 2 commits intomasterfrom
Open
fix(deps): remove unused cz-conventional-changelog to address CVE-2026-4800#3019Michael Pham (michaelphamcf) wants to merge 2 commits intomasterfrom
Michael Pham (michaelphamcf) wants to merge 2 commits intomasterfrom
Conversation
commitizen pins lodash at 4.17.21, which is vulnerable to code injection via _.template imports key names. Add npm override to force all transitive lodash to match the direct dependency range (^4.18.0). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Bito Automatic Review Skipped - Files Excluded |
…6-4800 commitizen pins lodash at 4.17.21, which is vulnerable to code injection via _.template imports key names. cz-conventional-changelog is unused in this repo — no scripts, hooks, CI workflows, or docs reference it. The changelog/release pipeline uses semantic-release, which is independent. Removing the dead dependency eliminates the vulnerable transitive lodash copy entirely and drops 94 packages from the tree. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
_.templateimports key names in lodash<= 4.17.23)commitizen@4.3.1(transitive dep ofcz-conventional-changelog) pinslodashat exactly4.17.21, creating a vulnerable nested copycz-conventional-changelogentirely — it's unused in this repo. No scripts, hooks, CI workflows, or docs reference it. The changelog/release pipeline usessemantic-release, which is independent of commitizen.lodashdevDependency from^4.17.20to^4.18.0Test plan
npm run test:unit— all 785 tests passnpm run build— builds cleanlynpm ls lodash— onlylodash@4.18.1remains, no nested vulnerable copies🤖 Generated with Claude Code