Critical Malicious Code Vulnerability in preview-server-auth-bounty Package
Summary
MAL-2025-6117: Malicious code in preview-server-auth-bounty (npm). Affects preview-server-auth-bounty versions >= 1.1.5. 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 preview-server-auth-bounty package is an npm module designed for server authentication functionalities. It is widely used in applications requiring secure user authentication processes. However, this package has been identified to communicate with a domain associated with malicious activities, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability arises from the package's communication with a malicious domain, which can lead to unauthorized access, data breaches, and exploitation of the affected applications. This issue was introduced in version 1.1.5 and can potentially compromise the integrity and confidentiality of user data.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall preview-server-auth-bounty
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
As a temporary workaround, you can remove the preview-server-auth-bounty package from your project until a secure version is released. You can do this by executing: npm uninstall preview-server-auth-bounty.
Conclusion
The preview-server-auth-bounty package has a critical vulnerability due to its communication with a malicious domain. It is essential to update or remove the package to safeguard your application from potential security threats.
See every vulnerability recorded for preview-server-auth-bounty →
FAQ
The vulnerability involves the package communicating with a domain linked to malicious activities, which can lead to security breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
If immediate updates are not possible, consider removing the package from your project as a temporary measure.
Yes, it is advisable to check for a patched version of the preview-server-auth-bounty package and update to that version.
Failing to address this vulnerability can lead to unauthorized access, data breaches, and exploitation of your application, compromising user data and trust.