fix(deps): override tmp and tar-fs to patched versions #79
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.
Description
Added npm overrides to enforce patched versions of dependencies:
tmp
bumped to ^0.2.4tar-fs
pinned to 3.1.0 to remediate CVE-2025-59343 (symlink validation bypass)This ensures our lockfile pulls in safe versions and clears active Dependabot alerts.
Related Issue
Fixes Dependabot alert for CVE-2025-59343 in
tar-fs
.Resolves security warnings flagged in #7.
Motivation and Context
tar-fs
versions <3.1.1 and <2.1.4 are vulnerable to a symlink validation bypass.Since
dockerode
andtestcontainers
still transitively depend on older versions,explicit overrides are required to ensure patched versions are used.
Updating
tmp
to ^0.2.4 also addresses related security notices.How Has This Been Tested?
npm install
after overrides to confirm patched versions resolved innpm ls
.tar-fs
(3.1.0) andtmp
(^0.2.4) appear in dependency tree.npm test
).Documentation:
No documentation updates required since this is an internal dependency override.
Checklist: