chore: upgrade @humanfs/node to 0.16.8 to address GHSA-p498-v437-472g - #1630
Merged
Conversation
Refreshes the yarn.lock entry for @humanfs/node (transitive via eslint) from 0.16.7 to 0.16.8, which stops copy()/copyAll() from dereferencing symlinks and copying files from outside the source tree. The existing ^0.16.6 range already admits the patched version, so no package.json change is needed. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Contributor
License Audit
Weak Copyleft Packages (informational)
Resolved Packages (26)
|
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.
Fixes SOU-2142
Refreshes the
yarn.lockentry for@humanfs/nodefrom0.16.7to0.16.8to address GHSA-p498-v437-472g (Dependabot alert 334): recursive copy followed symlinked files, socopyAll()/copy()could read and copy data from outside the source tree.Details
@humanfs/nodeis a transitive dependency:eslint@9.39.3 → @humanfs/node@^0.16.6.^0.16.6range already admits the patched0.16.8, so this is a lockfile refresh only (yarn up -R @humanfs/node). Nopackage.jsonchange and noresolutionsoverride is needed.@humanfs/core@0.19.2and the new@humanfs/types@0.15.0dependency.Verification
yarn why @humanfs/nodereports only@humanfs/node@npm:0.16.8.yarn workspace @sourcebot/web lintpasses (eslint is the consumer of this package).yarn testpasses (2153 tests across queryLanguage, shared, backend, web).🤖 Generated with Claude Code
Note
Low Risk
Lockfile-only transitive dependency security patch with no application code changes; impact is limited to ESLint’s filesystem layer during lint runs.
Overview
Bumps the transitive
@humanfs/nodedependency from 0.16.7 to 0.16.8 via ayarn.lockrefresh (nopackage.jsonchanges) to address GHSA-p498-v437-472g / SOU-2142, where recursive copy could follow symlinks and read files outside the source tree.The resolved tree also moves to
@humanfs/core@0.19.2and adds@humanfs/types@0.15.0.eslintremains the consumer (^0.16.6already allowed 0.16.8). The unreleased CHANGELOG records the upgrade.Reviewed by Cursor Bugbot for commit 63ca585. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by cubic
Upgrades
@humanfs/nodeto0.16.8inyarn.lockto fix SOU-2142 (GHSA-p498-v437-472g), wherecopy()andcopyAll()followed symlinks and could read data from outside the source tree. This is a lockfile-only refresh; the existing^0.16.6range already permits the patched version, so nopackage.jsonchange is needed.@humanfs/core@0.19.2and adds@humanfs/types@0.15.0as a new dependency.Written for commit 63ca585. Summary will update on new commits.