squeez (npm) · Malicious Code
Affects squeezSource GCVE Database
Malicious package : remove squeez and rotate any secrets on hosts that installed it.
Data as of 7 Aug 2026, 07:42 UTC
Malicious package
Published to npm · OSV MAL-2026-13458
What to do
Remove squeez from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmsqueez | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'squeez' versions 1.38.0, 1.40.0, 1.42.1, and 1.44.1 include a postinstall script that executes automatically during installation. This script performs reconnaissance on the user's home directory and fetches executable content from mutable URLs on raw.githubusercontent.com, which can change without a package update. The script has the capability to spawn child processes, creating a risk of executing remote, potentially malicious code at install time.