Skip to content
Heist/ feed
Unrated

Malicious code in alpha-helper (npm)

Type: advisorySource: OSV1 source record

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (9758eecca0cf755a3c7cc43115b413dfda31f149bbeed40cdfaeb5e46d739efb) The exported getPlugin in index.js issues an HTTPS request to a hardcoded bare-IP endpoint at 46.183.25.232:45000/icons/116 and passes the response field data.credits into a new Function(...) constructor with require, module, process, Buffer, and Promise bound into scope. Any consumer calling the exported function runs attacker-controlled JavaScript with full Node privileges. index.js also contains a decoy setDefaultModule that builds cdnjs-style font-awesome URLs across cloudflare/fastly/jsdelivr hostnames, which is not on the reachable code path. The package.json describes the module as a lightweight utility toolkit while the README describes an unrelated gamified trading system, and declared runtime dependencies include @primno/dpapi (Windows DPAPI unwrap), better-sqlite3, and node-machine-id, consistent with staging for browser-credential extraction.

Announced Source revision 1
Original source ↗

MAL-2026-12338

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

alpha-helper

Source reference: /affected/0/package/name

Affected versions
1.3.4

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": "alpha-helper",
      "purl": "pkg:npm/alpha-helper",
      "ecosystem": "npm"
    },
    "versions": [
      "1.3.4"
    ],
    "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/alpha-helper/MAL-2026-12338.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "index.js",
            "tlsh": "98c16f6546fa21a36a67e4eef30f100271a5e313365de971f48e42902fca568e5f24e8",
            "sha256": "771076c5104a94f76808da0fa6c00da8210c0194c10a6e3397a1e24b8ff54c7f"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "14ef0e89161df4ea236293e883e7e0f5abcfeb3d",
              "sha512_sri": "sha512-J8HplQ3c4hYcrL1unaU0mJia8W4zDZ48xmCFuwfnV2oLElfveuf5xtWrm6YXvTg15epafrM6in9LW76OF/HZnQ=="
            },
            "filename": "alpha-helper-1.3.4.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

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