chore(security): patch 4 Dependabot alerts#286
Merged
Conversation
Bump lodash and lodash-es resolutions from ^4.17.23 to ^4.18.0 to resolve GHSA alerts for prototype pollution (_.unset/_.omit) and code injection (_.template). Both now resolve to 4.18.1 in yarn.lock. Remove redundant js-yaml and ajv resolutions — natural resolution now lands on the pinned version or higher on fresh install. https://claude.ai/code/session_011WvEQ5uLfCpgdGQ7VrXAQn
arnaud-moncel
approved these changes
Apr 22, 2026
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
4 fixed, 0 ignored, 0 deferred, 0 resolutions added, 2 resolutions removed.
All four open Dependabot alerts were on
lodash/lodash-esat4.17.23; the fix is a single bump of the existing root-level resolutions to^4.18.0(which now resolves to4.18.1inyarn.lock). No alerts were deferred (all are 12+ days old, past the 7-day gate) and none qualified for any of the IGNORE reasons.Fixed
lodash-esresolutions["lodash-es"]bumped from^4.17.23to^4.18.0lodash-eslodashresolutions["lodash"]bumped from^4.17.23to^4.18.0lodashIgnored
None.
Deferred
None (all alerts are older than the 7-day gate).
Resolutions added
None — both affected packages already had root-level
resolutionsentries; we only needed to raise the lower bound. The existing entries stayed unconditional at the root becauselodash/lodash-esare pulled in via several unrelated chains (semantic-release,@commitlint,@semantic-release/*,semantic-release-slack-bot).Resolutions removed
Two existing entries were found to be redundant during the resolutions audit (removed, re-ran
yarn install, verifiedyarn whystill reports a version that satisfies the original pin's intent):package.jsonjs-yaml: ^4.1.1js-yaml@^4.1.0fromcosmiconfig. After removal and fresh install,yarn why js-yamlstill reports4.1.1— the registry's latest4.xsatisfies the original intent without the pin.package.jsonajv: ^8.18.0ajv@^8.11.0from@commitlint/config-validator. After removal and fresh install,yarn why ajvstill reports8.18.0. The pin is no longer doing anything — upstream has already moved.The
semantic-release-slack-bot/**/micromatch: ^4.0.8entry was tested for removal too, but removal regressessemantic-release-slack-bot#micromatchto4.0.2, so it was restored — it is still load-bearing.Risks
_.unset/_.omitpath-bypass,_.templateimports key-name code injection) and contains no API changes. All call sites in this repo route throughsemantic-release,@commitlint, and friends — we don't importlodashdirectly.lodash; ESM variant, same patch contents, no consumer-facing API changes.yarn whyconfirms the resolved versions are unchanged (js-yaml@4.1.1,ajv@8.18.0), so this is a no-op at runtime — it just removes stale pins frompackage.json.No peer-dep bumps, no breaking majors, no test updates expected.
Manual testing
Covered by CI.
Validation
✅ CI green