{"id":"MAL-2026-13458","revision":"b275e7430fb6428db706846854769e36","records":[{"revision":"b275e7430fb6428db706846854769e36","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13458","aliases":[],"title":"Malicious code in squeez (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a953148095c35441147f1622c4810e0b946e5d120a74cfbe14f1771276a731d7)\nsqueez@1.38.0 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.\n","state":0,"publishedAt":"2026-08-06T19:46:25+00:00","modifiedAt":"2026-08-06T23:50:21.0890161+00:00","affected":[{"ecosystem":"npm","name":"squeez","ranges":[],"versions":["1.40.0","1.44.1","1.42.1","1.38.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/squeez/v/1.40.0","https://www.npmjs.com/package/squeez/v/1.44.1","https://www.npmjs.com/package/squeez/v/1.42.1","https://www.npmjs.com/package/squeez/v/1.38.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13458","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13458","identifiers":["MAL-2026-13458"]},"retained":false,"historicalAffected":[]}],"coverage":[]}