MAL-2026-14021Malicious code in alelo-auth (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | alelo-auth | 99.0.0 |
| npm | alelo-auth | 99.0.2 |
{"modified":"2026-08-14T14:29:59Z","published":"2026-08-14T14:13:45Z","schema_version":"1.7.4","id":"MAL-2026-14021","summary":"Malicious code in alelo-auth (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b2585f71b11041c61a65dffdaa569b2e77a0e4415bd73e34a3142a61ad0f6c4e)\nThe 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.\n","affected":[{"package":{"ecosystem":"npm","name":"alelo-auth"},"versions":["99.0.0","99.0.2"],"database_specific":{"cwes":[{"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.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"preinstall.js","sha256":"d753bcad41ebf25fd1393ca3e6690c5213b956305ad9c50aa968b717ae7aec37","tlsh":"2ff002f041b9f2f07af5a6c0b067982261b3e1103917bcf0c9d841456b8f4681173cf1"},{"path":"index.js","sha256":"27b0b358d7bdb88d005f7ac164dff32b13f7ac2c52eea12495e29aac286d3b65","tlsh":"4c21e1f067a4a3b07ab556d4e1ae50006263e2123d26b6f0b5d801917b1997815b3db0"},{"path":"package.json","sha256":"d713a1837310824fb0c0b3f0b7444696287f44efc0399de5f409f94ddbc60fcb","tlsh":"92e02c3c48229e63a8cc1b990822010229e20eeb04867808228f412892ea73380bf20f"}],"package_integrity":[{"filename":"alelo-auth-99.0.0.tgz","hashes":{"sha1":"88c1f78a6a5e649cd222073c433a09a6058feb01","sha512_sri":"sha512-RvgQCTos93CsQatdrnx1FEdre1STk75j5G7srEBcjQsAB1XpNSQA7deIIumM2dsqWlz0iXCxDHRKQjt7oTZYHQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/alelo-auth/v/99.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/alelo-auth/v/99.0.2"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-017771","import_time":"2026-08-14T14:28:07.802700186Z","modified_time":"2026-08-14T14:13:45Z","sha256":"b2585f71b11041c61a65dffdaa569b2e77a0e4415bd73e34a3142a61ad0f6c4e","source":"amazon-inspector","versions":["99.0.0"]},{"id":"IN-MAL-2026-017772","import_time":"2026-08-14T14:28:07.893959128Z","modified_time":"2026-08-14T14:13:53Z","sha256":"cb244b6fb88a3ad885b94020697eae7c21b3014a549baa21785c9a112aee954b","source":"amazon-inspector","versions":["99.0.2"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0