🤖🔵 fix: Resolve open Dependabot vulnerabilities for tar and lodash#21
Merged
🤖🔵 fix: Resolve open Dependabot vulnerabilities for tar and lodash#21
Conversation
Remove @yarnpkg/pnpify and @yarnpkg/sdks — Yarn Berry's PnP runtime handles tool resolution natively, making the pnpify wrapper unnecessary. The sdks command is still available via `yarn dlx` when needed. Upgrade mocha from v10 to v11, which moves to chokidar v4 (drops fsevents → node-gyp → tar@6 chain entirely). Update lodash from 4.17.21 to 4.17.23 in the lockfile. These changes eliminate tar from the dependency tree entirely and resolve all 5 open Dependabot alerts: - tar: CVE-2026-26960, CVE-2026-24842, CVE-2026-23950, CVE-2026-23745 - lodash: CVE-2025-13465 Co-authored-by: Cursor <cursoragent@cursor.com>
The check-executables-have-shebangs hook at v2.5.0 imports the `pipes` module which was removed in Python 3.14, causing CI failures. Co-authored-by: Cursor <cursoragent@cursor.com>
db178fb to
b1e87c4
Compare
michaelfarrell76
approved these changes
Feb 18, 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
@yarnpkg/pnpifyand@yarnpkg/sdksdev dependencies — eliminates the@yarnpkg/core→tar@^6transitive dependency chain. Yarn Berry's PnP runtime handles tool resolution natively, making the pnpify wrapper unnecessary. The sdks command is still available viayarn dlx @yarnpkg/sdkswhen needed.mochafrom v10 to v11 — moves tochokidarv4 which droppedfsevents, eliminating thefsevents→node-gyp→tar@^6chain.lodashfrom 4.17.21 to 4.17.23 in the lockfile (patched version within existing semver range).Net result: 118 transitive packages removed,
tareliminated from the dependency tree entirely.Vulnerabilities Fixed
tartartartarlodashChanges
package.json@yarnpkg/pnpifyand@yarnpkg/sdksfromdevDependenciesmochafrom^10.2.0to^11.0.0tsc,eslint,mochadirectly instead of viayarn pnpifyupdate:sdksscript to useyarn dlx @yarnpkg/sdksyarn.lock/.yarn/cachetar@6.2.1fully eliminatedlodashbumped to 4.17.23Test plan
yarn installsucceedsyarn buildcompiles cleanlyyarn test— all 11 tests passyarn lintpassesyarn why tarreturns empty (no tar in dependency tree)yarn why lodashshows 4.17.23Made with Cursor