Malicious code in alelo-auth (npm)
The alelo-auth npm package versions 99.0.0 and 99.0.2 contain malicious code that exfiltrates sensitive environment and credential data. Its preinstall script collects system information and environment variables, sending them to an untrusted IP address with TLS verification disabled. The postinstall script further reads local credential files and executes system commands to gather user identity data, which it also transmits insecurely to the same remote endpoint. This behavior indicates a credential-stealing backdoor likely intended for dependency confusion attacks targeting private namespaces.
AI Analysis
Technical Summary
The alelo-auth npm package versions 99.0.0 and 99.0.2 include malicious preinstall and postinstall scripts. The preinstall.js script collects hostname, username, platform, current working directory, and the full process environment, then sends this data via HTTPS POST to an IP address (https://209.99.185.109/preinstall) with TLS verification disabled (rejectUnauthorized:false). The postinstall script (index.js) reads local credential files such as .env, .npmrc, and package.json, captures process environment variables, executes system commands (whoami/id), and sends all aggregated data to https://209.99.185.109/postinstall, also with TLS verification disabled. The targeted data includes npm authentication tokens and cloud/API credentials, representing a high-value credential theft. The package metadata suggests it is a dependency confusion lure targeting private alelo-* namespaces.
Potential Impact
Sensitive credential data including npm authentication tokens and cloud/API credentials can be exfiltrated to an attacker-controlled server. This can lead to unauthorized access to private repositories, cloud services, and other resources. The use of disabled TLS verification increases the risk of interception or manipulation during data transmission. The malicious package poses a significant risk to environments that install it, potentially compromising developer and deployment credentials.
Mitigation Recommendations
Avoid using the alelo-auth package versions 99.0.0 and 99.0.2. Remove these versions from your dependency tree immediately. Since no official patch or remediation is indicated, do not install or update to these versions. Audit your environment for leaked credentials and rotate any potentially compromised tokens or secrets. Monitor for any unexpected network connections to suspicious IP addresses such as 209.99.185.109. Consider implementing strict dependency controls to prevent dependency confusion attacks.
Malicious code in alelo-auth (npm)
Description
The alelo-auth npm package versions 99.0.0 and 99.0.2 contain malicious code that exfiltrates sensitive environment and credential data. Its preinstall script collects system information and environment variables, sending them to an untrusted IP address with TLS verification disabled. The postinstall script further reads local credential files and executes system commands to gather user identity data, which it also transmits insecurely to the same remote endpoint. This behavior indicates a credential-stealing backdoor likely intended for dependency confusion attacks targeting private namespaces.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The alelo-auth npm package versions 99.0.0 and 99.0.2 include malicious preinstall and postinstall scripts. The preinstall.js script collects hostname, username, platform, current working directory, and the full process environment, then sends this data via HTTPS POST to an IP address (https://209.99.185.109/preinstall) with TLS verification disabled (rejectUnauthorized:false). The postinstall script (index.js) reads local credential files such as .env, .npmrc, and package.json, captures process environment variables, executes system commands (whoami/id), and sends all aggregated data to https://209.99.185.109/postinstall, also with TLS verification disabled. The targeted data includes npm authentication tokens and cloud/API credentials, representing a high-value credential theft. The package metadata suggests it is a dependency confusion lure targeting private alelo-* namespaces.
Potential Impact
Sensitive credential data including npm authentication tokens and cloud/API credentials can be exfiltrated to an attacker-controlled server. This can lead to unauthorized access to private repositories, cloud services, and other resources. The use of disabled TLS verification increases the risk of interception or manipulation during data transmission. The malicious package poses a significant risk to environments that install it, potentially compromising developer and deployment credentials.
Defensive Guidance
Avoid using the alelo-auth package versions 99.0.0 and 99.0.2. Remove these versions from your dependency tree immediately. Since no official patch or remediation is indicated, do not install or update to these versions. Audit your environment for leaked credentials and rotate any potentially compromised tokens or secrets. Monitor for any unexpected network connections to suspicious IP addresses such as 209.99.185.109. Consider implementing strict dependency controls to prevent dependency confusion attacks.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14021
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a7f43f1bf8831d5395d772b
Added to database: 08/14/2026, 16:36:01 UTC
Last enriched: 08/14/2026, 16:52:00 UTC
Last updated: 08/14/2026, 16:52:00 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.