Skip to content

fix: replace unmaintained decompress with patched fork - #167

Merged
grothem merged 1 commit into
mainfrom
chore/deps
Aug 10, 2026
Merged

fix: replace unmaintained decompress with patched fork#167
grothem merged 1 commit into
mainfrom
chore/deps

Conversation

@grothem

@grothem grothem commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Fixes Dependabot alert #142decompress@4.2.1, critical (CVSS 9.1).

Upstream decompress is unmaintained and every version through its last release (4.2.1) is affected — there is no upstream fix. The advisory's own remedy is migrating to the @xhmikosr/decompress fork.

Resolves GHSA-mp2f-45pm-3cg9 / CVE-2026-53486 (critical): decompress
<=4.2.1 allows archive extraction to create files and links outside the
target directory. The upstream package is unmaintained with no patched
release, so the advisory's remedy is migrating to @xhmikosr/decompress.

decompress reaches us only as a transitive dep of @graphprotocol/graph-cli,
which imports it as an ESM default import, so an aliased npm override drops
in cleanly. Pinned to 11.1.3 rather than 10.2.1 because the 10.x sub-deps
pin a vulnerable file-type@20.5.0.

Bumps engines to node >=20.18.1, which graph-cli 0.98.1 already requires.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@grothem
grothem merged commit 85dae6b into main Aug 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants