Title: Bump pnpm from 9.15.9 to 10.28.2 by dependabot[bot] · Pull Request #73 · codinit-dev/codinit-dev · GitHub
Open Graph Title: Bump pnpm from 9.15.9 to 10.28.2 by dependabot[bot] · Pull Request #73 · codinit-dev/codinit-dev
X Title: Bump pnpm from 9.15.9 to 10.28.2 by dependabot[bot] · Pull Request #73 · codinit-dev/codinit-dev
Description: Bumps pnpm from 9.15.9 to 10.28.2.
Release notes
Sourced from pnpm's releases.
pnpm 10.28.2
Patch Changes
Security fix: prevent path traversal in directories.bin field.
When pnpm installs a file: or git: dependency, it now validates that symlinks point within the package directory. Symlinks to paths outside the package root are skipped to prevent local data from being leaked into node_modules.
This fixes a security issue where a malicious package could create symlinks to sensitive files (e.g., /etc/passwd, ~/.ssh/id_rsa) and have their contents copied when the package is installed.
Note: This only affects file: and git: dependencies. Registry packages (npm) have symlinks stripped during publish and are not affected.
Fixed optional dependencies to request full metadata from the registry to get the libc field, which is required for proper platform compatibility checks #9950.
Platinum Sponsors
Gold Sponsors
... (truncated)
Changelog
Sourced from pnpm's changelog.
10.28.2
Patch Changes
Security fix: prevent path traversal in directories.bin field.
When pnpm installs a file: or git: dependency, it now validates that symlinks point within the package directory. Symlinks to paths outside the package root are skipped to prevent local data from being leaked into node_modules.
This fixes a security issue where a malicious package could create symlinks to sensitive files (e.g., /etc/passwd, ~/.ssh/id_rsa) and have their contents copied when the package is installed.
Note: This only affects file: and git: dependencies. Registry packages (npm) have symlinks stripped during publish and are not affected.
Fixed optional dependencies to request full metadata from the registry to get the libc field, which is required for proper platform compatibility checks #9950.
10.28.1
Patch Changes
Fixed installation of config dependencies from private registries.
Added support for object type in configDependencies when the tarball URL returned from package metadata differs from the computed URL #10431.
Fix path traversal vulnerability in binary fetcher ZIP extraction
Validate ZIP entry paths before extraction to prevent writing files outside target directory
Validate BinaryResolution.prefix (basename) to prevent directory escape via crafted prefix
Both attack vectors now throw ERR_PNPM_PATH_TRAVERSAL error
Support plain http:// and https:// URLs ending with .git as git repository dependencies.
Previously, URLs like https://gitea.example.org/user/repo.git#commit were not recognized as git repositories because they lacked the git+ prefix (e.g., git+https://). This caused issues when installing dependencies from self-hosted git servers like Gitea or Forgejo that don't provide tarball downloads.
Changes:
The git resolver now runs before the tarball resolver, ensuring git URLs are handled by the correct resolver
The git resolver now recognizes plain http:// and https:// URLs ending in .git as git repositories
Removed the isRepository check from the tarball resolver since it's no longer needed with the new resolver order
Fixes #10468
pnpm run -r and pnpm run --filter now fail with a non-zero exit code when no packages have the specified script. Previously, this only failed when all packages were selected. Use --if-present to suppress this error #6844.
Fixed a path traversal vulnerability in tarball extraction on Windows. The path normalization was only checking for ./ but not .\. Since backslashes are directory separators on Windows, malicious packages could use paths like foo\..\..\.npmrc to write files outside the package directory.
When running "pnpm exec" from a subdirectory of a project, don't change the current working directory to the root of the project #5759.
Fixed a path traversal vulnerability in pnpm's bin linking. Bin names starting with @ bypassed validation, and after scope normalization, path traversal sequences like ../../ remained intact.
Revert Try to avoid making network calls with preferOffline #10334.
Fix --save-peer to write valid semver ranges to peerDependencies for protocol-based installs (e.g. jsr:) by deriving from resolved versions when available and falling back to * if none is available #10417.
Do not exclude the root workspace project, when it is explicitly selected via a filter #10465.
10.28.0
Minor Changes
... (truncated)
Commits
89a2c4e chore(release): 10.28.2
a484cea fix(npm-resolver): request full metadata for optional dependencies (#10455)
c908370 test: fix
0b5a56a chore(release): 10.28.1
916b26b fix: prevent implicit root exclusion when user filters are provided (#10465)
9cbba28 fix(exec): preserve user execution cwd (#10445)
91a241e chore(release): 10.28.0
a9784fb revert: "chore: upgrade qs to 6.14.1 (#10389)"
787ed46 chore: upgrade qs to 6.14.1 (#10389)
6bdba72 chore(release): 10.27.0
Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for pnpm since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot show
Open Graph Description: Bumps pnpm from 9.15.9 to 10.28.2. Release notes Sourced from pnpm's releases. pnpm 10.28.2 Patch Changes Security fix: prevent path traversal in directories.bin field. When pnpm installs...
X Description: Bumps pnpm from 9.15.9 to 10.28.2. Release notes Sourced from pnpm's releases. pnpm 10.28.2 Patch Changes Security fix: prevent path traversal in directories.bin field. When pnpm inst...
Opengraph URL: https://github.com/codinit-dev/codinit-dev/pull/73
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:44b91f54-370c-990f-9f28-f915423f116f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8CF0:2CF50:7931F6:9E15AF:698D68F4 |
| html-safe-nonce | 4e35f68fc432fa7c3d95949397a1eb5fdf8120e073e5ca39386928ac5737a11d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0YwOjJDRjUwOjc5MzFGNjo5RTE1QUY6Njk4RDY4RjQiLCJ2aXNpdG9yX2lkIjoiOTIxNTQ2MzMwMzAyNjY2NTcxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 40f8e0891b2449e10ad86f8f52c7c8d93e9d596c6a1d5605507ce52f4c3dbbfd |
| hovercard-subject-tag | pull_request:3212058204 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/codinit-dev/codinit-dev/pull/73/files |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Bumps pnpm from 9.15.9 to 10.28.2. Release notes Sourced from pnpm's releases. pnpm 10.28.2 Patch Changes Security fix: prevent path traversal in directories.bin field. When pnpm installs... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c0818105fa276287e9369cfdefa0a0fa7953719791ceff9b94d69623c0a4fe8a |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/codinit-dev/codinit-dev git https://github.com/codinit-dev/codinit-dev.git |
| octolytics-dimension-user_id | 216432367 |
| octolytics-dimension-user_login | codinit-dev |
| octolytics-dimension-repository_id | 1069539460 |
| octolytics-dimension-repository_nwo | codinit-dev/codinit-dev |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1069539460 |
| octolytics-dimension-repository_network_root_nwo | codinit-dev/codinit-dev |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 715890fa442134f528fb422ab338c0ad55c7a025 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width