Malicious code in firestore-lite (npm)
Description
The npm package 'firestore-lite' version 45.0.0 is a malicious package that uses dependency confusion by declaring its own name as a dependency with a bare HTTP URL. Installing this package results in execution of potentially harmful lifecycle scripts without integrity checks. The package mimics the legitimate Firebase 'firestore-lite' module but is designed to compromise any system where it is installed.
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
This threat involves a malicious npm package named 'firestore-lite' at version 45.0.0. The package.json declares a dependency on itself via a bare HTTP URL rather than a version range from a trusted registry, enabling npm to fetch and execute arbitrary code from an untrusted source. The package's index.js is an inert stub, indicating the payload is delivered through the manifest and lifecycle scripts. This is a dependency confusion attack aiming to hijack package resolution and execute malicious code. Any system with this package installed is considered fully compromised, with all stored secrets and keys at risk.
Potential Impact
Systems with this package installed are fully compromised. The attacker may gain full control over the affected computer, potentially accessing all secrets and keys stored on it. Removing the package does not guarantee removal of all malicious software or backdoors introduced by the package installation.
Mitigation Recommendations
Remove the malicious 'firestore-lite' package version 45.0.0 immediately. Rotate all secrets and keys from a separate, trusted system. Because full system compromise is possible, consider a full system audit and reinstallation to ensure removal of all malicious artifacts. Avoid installing packages from untrusted sources or with dependencies declared via bare HTTP URLs without integrity checks.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15534
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a92f7e3acd9273b49e75ce2
Added to database: 08/29/2026, 15:16:51 UTC
Last enriched: 09/09/2026, 20:53:04 UTC
Last updated: 10/04/2026, 03:37:45 UTC
Views: 21
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.