Malicious code in squeez (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13458
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (a953148095c35441147f1622c4810e0b946e5d120a74cfbe14f1771276a731d7) [email protected] declares a postinstall hook ("postinstall": "node install.js") that runs automatically on npm install. install.js imports child_process, fs, https, and os; branches on process.platform; reads os.homedir(); performs fs.existsSync/readFileSync checks against paths under the user's home directory; and issues https.get requests to raw.githubusercontent.com URLs. The combination of an install-time lifecycle script, filesystem reads of home-directory paths, process spawning capability, and fetching content from a mutable third-party host at install time constitutes an install-time remote-content-fetch-and-execute pattern with home-directory reconnaissance. Fetching executable content from raw.githubusercontent.com at install time is a mutable, unpinned delivery channel: the current content of those URLs can change at any time without a package release, and the fetched bytes are handled inside a script that also has child_process available.
- Source published
- 6 Aug 2026 19:46:25 UTC
- Source modified
- 6 Aug 2026 23:50:21 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.