Skip to content
Heist/ feed
Unrated

Malicious code in alelo-services (npm)

Type: advisorySource: OSV1 source record

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (2b31cdc535ad02d3d78533315ef2037d4860699d9c7a161ed96a176082824f07) alelo-services@99.0.0 runs both preinstall and postinstall lifecycle scripts that harvest installer data and POST it to the hardcoded bare-IP endpoint https://209.99.185.109 with TLS verification disabled (rejectUnauthorized:false). preinstall.js collects hostname, username, platform, cwd, and the entire process.env and sends the JSON to https://209.99.185.109/preinstall. index.js (also the package main, executed on postinstall) reads.env,.npmrc, package.json,../.env, and../../.env from the install directory, runs whoami/id, collects process.env, and POSTs the contents to https://209.99.185.109/postinstall. The.npmrc read captures npm auth tokens; the.env reads capture CI and cloud credentials from the installer and any parent project directories. Package metadata is generic ("internal utilities") and the 99.0.0 version is consistent with a dependency-confusion lure targeting a private scope name.

Announced Group revision 1
Original source ↗

MAL-2026-14027

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

alelo-services

Source reference: /affected/0/package/name

Affected versions
99.0.2

Source reference: /affected/0/versions

99.0.0

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-services",
      "purl": "pkg:npm/alelo-services",
      "ecosystem": "npm"
    },
    "versions": [
      "99.0.2",
      "99.0.0"
    ],
    "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/alelo-services/MAL-2026-14027.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "preinstall.js",
            "tlsh": "b0f084f491a9eab02e7857c0e09aa40296b3e1113b277cf4a9e90249678d1e41172cf6",
            "sha256": "b37206713fc25fedb6193f5d1ac2eecf834e826eed4c03b3bc570385a554e28d"
          },
          {
            "path": "index.js",
            "tlsh": "4311abf452a5b3b06ab556c4e5ee50016263e2023e27b5f0b9ec02556b499b805b3df4",
            "sha256": "70a8739590ceacd616e00eef3ccbe975d174c5cf731addb93da8eb7ad8a2fd5f"
          },
          {
            "path": "login.ps1",
            "tlsh": "d7f0a272910a614d3ee4466b00f4f536fd3b133269d4de94a6a916c9f8c195c2972833",
            "sha256": "d784a3de392836730544da8e2ba25bcaaad2632f0cc8e4b8ce76b5cb4fe82d2b"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "605350cd54e99f86c6310b6c3d7b729a3d31cc27",
              "sha512_sri": "sha512-ecstbC/mMWzFoyfeuYqZ/X/PXFSIlD9kjlmRR61WevnareayotTuLWaBIK8NxpXVJUAKZCKtH3Xbe1fIguGwhA=="
            },
            "filename": "alelo-services-99.0.2.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

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