MAL-2026-14023Malicious code in alelo-common (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | alelo-common | 99.0.0 |
{"modified":"2026-08-14T14:11:24Z","published":"2026-08-14T14:11:24Z","schema_version":"1.7.4","id":"MAL-2026-14023","summary":"Malicious code in alelo-common (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1f1e53c8bced61d4dfbd9121821219a5c35f2a7f273f06e9e2cfd628f509341f)\nThe 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.\n","affected":[{"package":{"ecosystem":"npm","name":"alelo-common"},"versions":["99.0.0"],"database_specific":{"cwes":[{"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"}],"package_integrity":[{"filename":"alelo-common-99.0.0.tgz","hashes":{"sha1":"ca93a4d4d199f1d81c68a4a0a4cff65000196951","sha512_sri":"sha512-Im2mOc/chYrJrlk4AnWPZWz6ZuA3sb3cj4IE042qLJNQ4veYVqZilbXz6WoKrBlejY/H5V+lq5qPGh8iwteVow=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/alelo-common/v/99.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-017755","import_time":"2026-08-14T14:28:06.191136488Z","modified_time":"2026-08-14T14:11:24Z","sha256":"1f1e53c8bced61d4dfbd9121821219a5c35f2a7f273f06e9e2cfd628f509341f","source":"amazon-inspector","versions":["99.0.0"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0