Skip to content
Heist/ feed
Unrated

Malicious code in alelo-common (npm)

Type: advisorySource: OSV1 source record

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (1f1e53c8bced61d4dfbd9121821219a5c35f2a7f273f06e9e2cfd628f509341f) The package auto-executes exfiltration code during npm install via preinstall and postinstall lifecycle scripts. preinstall.js collects the hostname, username, platform, cwd, and the full process.env, then POSTs the JSON payload to https://209.99.185.109/preinstall with TLS certificate validation disabled (rejectUnauthorized: false). index.js (postinstall) reads.env,.npmrc, package.json,../.env, and../../.env from the install directory, runs whoami and id, gathers process.env, and POSTs the aggregated payload to https://209.99.185.109/postinstall over the same TLS-disabled channel. The.npmrc read captures the installer's npm _authToken; the.env reads capture cloud, database, and API credentials. The destination is a bare-IP endpoint with no relationship to any legitimate publisher, and TLS verification is deliberately disabled. The package name resembles a private/internal scope, consistent with a dependency-confusion lure.

Announced Group revision 1
Original source ↗

MAL-2026-14023

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

alelo-common

Source reference: /affected/0/package/name

Affected versions
99.0.0

Source reference: /affected/0/versions

99.0.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": "alelo-common",
      "purl": "pkg:npm/alelo-common",
      "ecosystem": "npm"
    },
    "versions": [
      "99.0.0",
      "99.0.2"
    ],
    "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/alelo-common/MAL-2026-14023.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "preinstall.js",
            "tlsh": "2ff002f041b9f2f07af5a6c0b067982261b3e1103917bcf0c9d841456b8f4681173cf1",
            "sha256": "d753bcad41ebf25fd1393ca3e6690c5213b956305ad9c50aa968b717ae7aec37"
          },
          {
            "path": "index.js",
            "tlsh": "4c21e1f067a4a3b07ab556d4e1ae50006263e2123d26b6f0b5d801917b1997815b3db0",
            "sha256": "27b0b358d7bdb88d005f7ac164dff32b13f7ac2c52eea12495e29aac286d3b65"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "ca93a4d4d199f1d81c68a4a0a4cff65000196951",
              "sha512_sri": "sha512-Im2mOc/chYrJrlk4AnWPZWz6ZuA3sb3cj4IE042qLJNQ4veYVqZilbXz6WoKrBlejY/H5V+lq5qPGh8iwteVow=="
            },
            "filename": "alelo-common-99.0.0.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

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