Malicious code in alelo-api (npm)
The npm package 'alelo-api' versions 99.0.0 and 99.0.2 contain malicious code that executes during installation. It collects sensitive environment information, including hostname, username, environment variables, and secret files such as .env and .npmrc, then exfiltrates this data to a hardcoded IP address. This behavior indicates a typosquatting or dependency confusion attack targeting the Alelo organization. No official patch or remediation guidance is provided.
AI Analysis
Technical Summary
The 'alelo-api' npm package versions 99.0.0 and 99.0.2 execute attacker-controlled code during installation via preinstall.js and index.js scripts. The preinstall script collects system information and environment variables and sends them to a hardcoded IP address with TLS verification disabled. The postinstall script reads sensitive secret files from the current and parent directories, executes system commands to gather user identity information, and exfiltrates this data to the same IP. The package includes artifacts suggesting it is a typosquatting or dependency confusion attack aimed at Alelo, leaking npm tokens and environment secrets to an attacker-controlled endpoint.
Potential Impact
Any user running 'npm install alelo-api' for the affected versions risks leaking sensitive environment variables, npm authentication tokens, and secret files (.env, .npmrc, package.json) from their working directory and parent directories. This can lead to credential compromise and unauthorized access to systems or services relying on these secrets.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing the 'alelo-api' package versions 99.0.0 and 99.0.2. Verify package authenticity before installation and monitor for typosquatting or dependency confusion attempts. Check vendor advisories or trusted sources for updates or official fixes.
Malicious code in alelo-api (npm)
Description
The npm package 'alelo-api' versions 99.0.0 and 99.0.2 contain malicious code that executes during installation. It collects sensitive environment information, including hostname, username, environment variables, and secret files such as .env and .npmrc, then exfiltrates this data to a hardcoded IP address. This behavior indicates a typosquatting or dependency confusion attack targeting the Alelo organization. No official patch or remediation guidance is provided.
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-api' npm package versions 99.0.0 and 99.0.2 execute attacker-controlled code during installation via preinstall.js and index.js scripts. The preinstall script collects system information and environment variables and sends them to a hardcoded IP address with TLS verification disabled. The postinstall script reads sensitive secret files from the current and parent directories, executes system commands to gather user identity information, and exfiltrates this data to the same IP. The package includes artifacts suggesting it is a typosquatting or dependency confusion attack aimed at Alelo, leaking npm tokens and environment secrets to an attacker-controlled endpoint.
Potential Impact
Any user running 'npm install alelo-api' for the affected versions risks leaking sensitive environment variables, npm authentication tokens, and secret files (.env, .npmrc, package.json) from their working directory and parent directories. This can lead to credential compromise and unauthorized access to systems or services relying on these secrets.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing the 'alelo-api' package versions 99.0.0 and 99.0.2. Verify package authenticity before installation and monitor for typosquatting or dependency confusion attempts. Check vendor advisories or trusted sources for updates or official fixes.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14020
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a7f43f1bf8831d5395d772f
Added to database: 08/14/2026, 16:36:01 UTC
Last enriched: 08/14/2026, 16:52:08 UTC
Last updated: 08/14/2026, 16:52:08 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.