npm · Malicious package advisory
Malwarefirestore-lite
GHSA-r28g-prq7-6j7p
Malicious code in firestore-lite (npm)
Details
**Severity:** Critical **Affected versions:** `= 45.0.0` ## Source: amazon-inspector (3242d5a15b769961bcc2e6d24747a7da27e2afd293ea83e6b042eceeb4b97de2) package.json declares a single dependency whose value is a bare HTTP URL (https://repo.securityctrl.com/firestore-lite) rather than a registry version range. On `npm install`, npm fetches and installs whatever tarball that URL returns, running any lifecycle scripts contained in it, with no version pin and no integrity check. The dependency key is the package's own name, a dependency-confusion shape, and the shipped index.js is an inert stub — the manifest line is the entire published payload. The package name mimics the legitimate Firebase 'firestore-lite' module, and the version 45.0.0 is implausibly high for that name, consistent with an attempt to win version resolution against an internal package. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/d75ebb673b0185a99abe46e9e4a60aaa467fa7d8/osv/malicious/npm/firestore-lite/MAL-2026-15534.json)) **References:** - https://github.com/ossf/malicious-packages/blob/d75ebb673b0185a99abe46e9e4a60aaa467fa7d8/osv/malicious/npm/firestore-lite/MAL-2026-15534.json - https://www.npmjs.com/package/firestore-lite/v/45.0.0 - https://github.com/advisories/GHSA-r28g-prq7-6j7p
Compromised versions (1)
- = 45.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.