Malicious code in alelo-sdk (npm)
alelo-sdk@99.0.0 on npm contains malicious lifecycle scripts that harvest sensitive environment data (credentials, tokens, secrets) and exfiltrate it to a hardcoded IP endpoint. The package uses dependency confusion tactics targeting a private 'alelo' scope with an inflated version number.
- Disclosed
- Last updated
- Blast radius
- Any developer workstation or CI environment where alelo-sdk@99.0.0 is installed; affects organizations using the private 'alelo' scope.
- Ecosystems
- Attack vectors
- Affected entities
- alelo-sdk · 99.0.0
alelo-sdk version 99.0.0 published to npm contains malicious code in its lifecycle scripts (preinstall.js and postinstall/index.js). The preinstall script collects system information including hostname, username, platform, current working directory, and the full process environment, then POSTs this data to https://209.99.185.109/preinstall with TLS certificate verification disabled.\n\nThe postinstall script performs additional credential harvesting by reading .env, .npmrc, and parent-directory .env files, executing whoami and id commands, and exfiltrating the collected content to https://209.99.185.109/postinstall. Since .npmrc files typically contain npm publish tokens and .env files contain cloud and API credentials, any environment where this package is installed (developer workstation or CI/CD pipeline) has its secrets compromised.\n\nThe package metadata (name 'alelo-sdk', version 99.0.0, description 'internal utilities', author 'Alelo Dev Team') follows the canonical dependency confusion attack pattern, targeting a private 'alelo' internal scope with an artificially inflated version number to trick dependency resolution into installing the malicious public package instead of the legitimate private one.\n\nThe incident was identified by Amazon Inspector and credited to the OpenSSF malicious packages project.
Indicators of compromise
- Packages
- alelo-sdk@99.0.0
- IPs
- 209.99.185.109
Remediation
- Immediately remove alelo-sdk@99.0.0 from all environments
- Audit npm install logs to identify all systems where the package was installed
- Rotate all credentials, tokens, and secrets that may have been exposed (npm tokens, cloud API keys, database passwords, etc.)
- Review CI/CD logs and environment variables for any suspicious activity or data exfiltration
- Implement package allow-listing and dependency verification to prevent dependency confusion attacks
- Monitor the hardcoded IP endpoint (209.99.185.109) for any data exfiltration attempts
- Use npm audit and supply chain security tools to detect similar malicious packages
Sources
- GitHub Advisory GHSA-mqpp-48wh-cm9m · GitHub Advisory Database
Cite this entry
"Malicious code in alelo-sdk (npm)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 14, 2026; last updated August 14, 2026. https://supplychainattack.org/incident/malicious-code-in-alelo-sdk-npm-1aisxu
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- resolvedcritical
Malicious code in fastly-vcl-language-client (npm)
The npm package fastly-vcl-language-client contained malicious code in a preinstall script that collected system information and CI environment variables, exfiltrating data to an external webhook endpoint. The package appears to be a dependency-confusion attack targeting internal Fastly tooling.
npmCompromised packageDependency confusion - resolvedcritical
Malicious code in depcruise-wrap-stream-in-html (npm)
depcruise-wrap-stream-in-html@99.9.1 is a malicious npm package that mimics an internal helper of dependency-cruiser. It is a hollow package that downloads and executes arbitrary code from a Google Cloud Storage bucket during installation.
npmCompromised packageDependency confusionTyposquatting - containedcritical
Malicious code in alelo-utils (npm)
Malicious code in alelo-utils npm package version 99.0.0 exfiltrates system information and credentials during installation. The package uses preinstall and postinstall scripts to collect hostname, username, environment variables, .npmrc tokens, .env files, and cloud credentials, sending them to an attacker-controlled IP address.
npmCompromised packageDependency confusion - resolvedcritical
Malicious code in alelo-core (npm)
The npm package alelo-core contained malicious preinstall and postinstall scripts that exfiltrated sensitive data including credentials, tokens, environment variables, and host identity to an attacker-controlled IP address. The package name resembled an internal/branded package, consistent with a dependency-confusion attack.
npmCompromised packageDependency confusion