Repository navigation
chore(deps): replace decompress with @xhmikosr/decompress 11.1.4 to fix vulnerability - #144
Merged
mathieu-benoit merged 1 commit intoNov 16, 2026
Conversation
…VE-2026-101894 Signed-off-by: Akash Reddy Jammula <akashreddyjammula@gmail.com>
Contributor
Author
|
Hi @mathieu-benoit, could you please review this PR when you get a chance? It replaces the unmaintained |
mathieu-benoit
requested review from
mathieu-benoit
and
a balanced review from Copilot
November 16, 2026 03:51
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the dependency override and corresponding lockfile update.
No open issues 🎉
What changed in this PR
This PR replaces the unmaintained archive-extraction dependency used by hugo-installer with a patched fork to address the reported symlink-chain path traversal vulnerability.
Changes:
- Adds an npm override mapping
decompressto@xhmikosr/decompress@^11.1.4. - Updates the lockfile to resolve version
11.1.4and refresh its transitive dependencies.
| File | Description |
|---|---|
| package.json | Adds the override for the patched extraction package. |
| package-lock.json | Locks the replacement package and updates its dependency tree. |
Review effort: Balanced
Contributor
Author
|
Thanks Mathieu |
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
Replaces the unmaintained
decompress@4.2.1transitive dependency (viahugo-installer@4.0.1) with the patched@xhmikosr/decompress@11.1.4package using npmoverridesto remediate the following vulnerability reported by security scanners / LFX Insights:GHSA-hrh2-vp3x-79xf): Path traversal via symlink chain indecompress <= 4.2.1and@xhmikosr/decompress < 10.2.2/>= 11.0.0, < 11.1.4(fixed in@xhmikosr/decompress10.2.2and11.1.4).Changes
"overrides": { "decompress": "npm:@xhmikosr/decompress@^11.1.4" }inpackage.json.package-lock.jsonsonode_modules/decompressresolves to@xhmikosr/decompress@11.1.4.Validation
npm ci(includingpostinstallhugo-installerbinary download and archive extraction) — passednpm ls decompress- resolved todecompress@npm:@xhmikosr/decompress@11.1.4node_modules/.bin/hugo/hugo- passed (46 pages built)