Malicious code in alelo-auth (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (b2585f71b11041c61a65dffdaa569b2e77a0e4415bd73e34a3142a61ad0f6c4e) The package's preinstall script (preinstall.js) collects hostname, username, platform, current working directory, and the full process.env, then POSTs the JSON payload to https://209.99.185.109/preinstall with TLS verification disabled. The postinstall path (index.js) additionally reads local credential files (.env,.npmrc, package.json,../.env,../../.env), captures process.env, runs whoami/id via child_process, and POSTs the aggregated data to https://209.99.185.109/postinstall, also with rejectUnauthorized:false. Both endpoints are a bare IPv4 address with no association to a public publisher..npmrc typically contains npm auth tokens and.env commonly contains cloud/API credentials, so the transmitted data is credential-grade. Package metadata (version 99.0.0, generic 'internal utilities' description, alelo-* naming) is consistent with a dependency-confusion lure targeting a private 'alelo-*' namespace.
MAL-2026-14021
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-14021
alelo-auth
Source reference: /affected/0/package/name
- Affected versions
- 99.0.0
Source reference:
/affected/0/versions99.0.2Source 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-auth",
"purl": "pkg:npm/alelo-auth",
"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."
},
{
"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-auth/MAL-2026-14021.json",
"indicators": {
"evidence_files": [
{
"path": "preinstall.js",
"tlsh": "2ff002f041b9f2f07af5a6c0b067982261b3e1103917bcf0c9d841456b8f4681173cf1",
"sha256": "d753bcad41ebf25fd1393ca3e6690c5213b956305ad9c50aa968b717ae7aec37"
},
{
"path": "index.js",
"tlsh": "4c21e1f067a4a3b07ab556d4e1ae50006263e2123d26b6f0b5d801917b1997815b3db0",
"sha256": "27b0b358d7bdb88d005f7ac164dff32b13f7ac2c52eea12495e29aac286d3b65"
},
{
"path": "package.json",
"tlsh": "92e02c3c48229e63a8cc1b990822010229e20eeb04867808228f412892ea73380bf20f",
"sha256": "d713a1837310824fb0c0b3f0b7444696287f44efc0399de5f409f94ddbc60fcb"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "88c1f78a6a5e649cd222073c433a09a6058feb01",
"sha512_sri": "sha512-RvgQCTos93CsQatdrnx1FEdre1STk75j5G7srEBcjQsAB1XpNSQA7deIIumM2dsqWlz0iXCxDHRKQjt7oTZYHQ=="
},
"filename": "alelo-auth-99.0.0.tgz"
}
]
}
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #10921 · Revision 1
- Added to Heist Feed
- Publisher date