Skip to content
Heist/ feed
Unrated

Malicious code in ventrix-kit (npm)

Type: advisorySource: OSV1 source record

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (82b68f964850d0777c1f3993c52e3b66dc425b02ee82fb33bcd958514f730926) ventrix-kit@1.5.2 ships a loader that, when the package's default `getPlugin` export is invoked, performs an HTTP request to the hardcoded endpoint http://31.97.137.157:45000/icons/116 and passes the response's `credits` field to the JavaScript `Function` constructor, executing the returned code with `require`, `module`, `exports`, `process`, `Buffer`, and other Node globals in scope. The destination is a bare IP on a non-standard port with no pinning, signing, or integrity verification; the executed content is fully attacker-controlled and mutable server-side. The package's metadata and identifiers frame the loader as a CDN icon fetcher (`iconDomain`, `path = "/icons/"`, a `bearrtoken: "logo"` header, a `font-awesome`-shaped path, and an unused `setDefaultModule` referencing cdnjs/cloudflare/fastly), and the README advertises the package as a lightweight zero-dependency helper while `dependencies` include axios, express, better-sqlite3, @primno/dpapi, node-machine-id, and socket.io-client — a native-Windows-credential (DPAPI) plus persistent-socket stack inconsistent with an icon helper. Any code path that reaches `getPlugin` grants remote code execution on the consumer's host to the operator of 31.97.137.157.

Announced Source revision 1
Original source ↗

MAL-2026-12494

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

ventrix-kit

Source reference: /affected/0/package/name

Affected versions
0.5.2

Source reference: /affected/0/versions

1.5.2

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": "ventrix-kit",
      "purl": "pkg:npm/ventrix-kit",
      "ecosystem": "npm"
    },
    "versions": [
      "0.5.2",
      "1.5.2"
    ],
    "database_specific": {
      "cwes": [
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        },
        {
          "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/ventrix-kit/MAL-2026-12494.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "index.js",
            "tlsh": "ccc1706546fa21a36a67a0eef30f100271a5e3133759e931f48e42902fca568e5f24e8",
            "sha256": "7a5abb1a5f719ddd3d6dd70d6d4874363c32fcc21540dc72afe18db78aaf3202"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "3fe8164d50a92c30f1ee65e0c22cb3441465aeaf",
              "sha512_sri": "sha512-fs6DFaW5T/9941lOF1roRxT2bohJofq/1eHh7ZpRaFMY20sHwJVTvxeu5GyCPZWtnZgUhOJe7iPAXZZWtKePHw=="
            },
            "filename": "ventrix-kit-0.5.2.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

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