MAL-2026-6521: Malicious code in @carvana.authentication-flows/shared (npm)
The npm package @carvana.authentication-flows/shared version 19.2.1 is a malicious package that executes a preinstall script upon installation. This script collects host system information and user identity details, then exfiltrates this data to an attacker-controlled server. The package impersonates the Carvana organization by using a deceptive npm scope name, but contains no legitimate functionality. Its sole purpose is reconnaissance and data exfiltration during installation.
AI Analysis
Technical Summary
The malicious npm package @carvana.authentication-flows/shared (version 19.2.1) contains a preinstall hook that runs unconditionally on npm install. The script gathers host identifiers such as hostname, user info, platform, architecture, home directory, current working directory, and executes system commands 'whoami' and 'id'. It then sends this collected information as JSON to a hardcoded external URL controlled by the attacker. The package name uses a misleading scope to impersonate the legitimate Carvana organization, but it does not provide any legitimate functionality. This behavior constitutes a supply chain attack vector through npm package installation.
Potential Impact
Installation of this package leads to unauthorized collection and exfiltration of sensitive host environment and user identity information to an attacker-controlled server. This compromises confidentiality and may facilitate further targeted attacks or reconnaissance. There is no indication of additional payloads or persistence mechanisms beyond the initial data exfiltration.
Mitigation Recommendations
No official patch or remediation is available for this malicious package. The package should be removed from any dependency lists and not installed. Users and organizations should verify package authenticity and source before installation, especially for packages with suspicious or impersonating names. Employing package integrity verification and using trusted registries can help prevent such supply chain attacks.
MAL-2026-6521: Malicious code in @carvana.authentication-flows/shared (npm)
Description
The npm package @carvana.authentication-flows/shared version 19.2.1 is a malicious package that executes a preinstall script upon installation. This script collects host system information and user identity details, then exfiltrates this data to an attacker-controlled server. The package impersonates the Carvana organization by using a deceptive npm scope name, but contains no legitimate functionality. Its sole purpose is reconnaissance and data exfiltration during installation.
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 malicious npm package @carvana.authentication-flows/shared (version 19.2.1) contains a preinstall hook that runs unconditionally on npm install. The script gathers host identifiers such as hostname, user info, platform, architecture, home directory, current working directory, and executes system commands 'whoami' and 'id'. It then sends this collected information as JSON to a hardcoded external URL controlled by the attacker. The package name uses a misleading scope to impersonate the legitimate Carvana organization, but it does not provide any legitimate functionality. This behavior constitutes a supply chain attack vector through npm package installation.
Potential Impact
Installation of this package leads to unauthorized collection and exfiltration of sensitive host environment and user identity information to an attacker-controlled server. This compromises confidentiality and may facilitate further targeted attacks or reconnaissance. There is no indication of additional payloads or persistence mechanisms beyond the initial data exfiltration.
Mitigation Recommendations
No official patch or remediation is available for this malicious package. The package should be removed from any dependency lists and not installed. Users and organizations should verify package authenticity and source before installation, especially for packages with suspicious or impersonating names. Employing package integrity verification and using trusted registries can help prevent such supply chain attacks.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6521
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a3ef7a927e9c79719ffb694
Added to database: 06/26/2026, 22:05:29 UTC
Last enriched: 06/26/2026, 22:25:32 UTC
Last updated: 06/26/2026, 22:25:32 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.