Malicious Code Detected in lspushpage Package: Version 7.2.2 Compromised
Summary
MAL-2025-6208: Malicious code in lspushpage (npm). Affects lspushpage versions 7.2.1 – 7.2.2. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The lspushpage package is an npm library designed for facilitating page push notifications in web applications. It allows developers to enhance user engagement by sending timely updates directly to users' browsers. However, recent analysis has revealed that certain versions of this package contain malicious code that communicates with domains linked to harmful activities, posing significant security risks to applications utilizing it.
Vulnerability Detail
The vulnerability identified in the lspushpage package arises from its ability to connect to a domain associated with malicious activities. This could lead to data breaches, unauthorized access, or other forms of cyberattacks on applications that rely on this package. The malicious behavior was confirmed by the OpenSSF Package Analysis project, which flagged versions 7.2.1 and 7.2.2 as compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lspushpage
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
If immediate updating is not possible, consider removing the lspushpage package from your project until a secure version is released. You can do this by running: npm uninstall lspushpage.
Conclusion
The lspushpage package has been identified as malicious in specific versions, posing significant risks to applications that utilize it. It is crucial for developers to update to a secure version or remove the package until a fix is available. Tools like Vulert can assist in monitoring and identifying vulnerabilities in real-time.
See every vulnerability recorded for lspushpage →
FAQ
Versions 7.2.1 and 7.2.2 of the lspushpage package are confirmed to be malicious.
You can use Vulert to monitor and alert for vulnerabilities in your application. By simply uploading your package-lock.json file, Vulert provides real-time alerts for any open-source vulnerabilities.
As a temporary measure, you can remove the lspushpage package from your project until a secure version is available.
Utilizing tools like Vulert can help you monitor your dependencies for vulnerabilities without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by vulnerabilities without any signup.