[agent] chore(deps): bump tmp to >=0.2.6 via overrides (GHSA-ph9p-34f9-6g65)#767
Draft
github-actions[bot] wants to merge 1 commit into
Draft
[agent] chore(deps): bump tmp to >=0.2.6 via overrides (GHSA-ph9p-34f9-6g65)#767github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
Add npm overrides to force tmp to >=0.2.6, patching the path traversal vulnerability CVE-2026-44705 / GHSA-ph9p-34f9-6g65. The tmp package is a transitive dependency of nx (which requires tmp@~0.2.1). Since nx's range already satisfies 0.2.6, the override ensures the lockfile resolves to the patched version. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.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
Addresses Dependabot alert #267 by bumping the transitive
tmpdependency to>=0.2.6.Vulnerability
tmpprefix/postfix/diroptions — allows files to be created outside the intended temp directory. Fixed intmp@0.2.6.Changes
overridesin rootpackage.jsonto forcetmp >= 0.2.6package-lock.json(now resolvestmp@0.2.6)Why overrides?
tmpis a transitive dependency ofnx, which declarestmp@~0.2.1. Although0.2.6satisfies that semver range, npm's lockfile had pinned the previous0.2.5. The override guarantees the lockfile always resolves the patched version going forward, regardless of future lockfile regeneration.