Critical Malicious Code Vulnerability in alerttest Package
Summary
MAL-2025-14291: Malicious code in alerttest (npm). Affected versions are not published. 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 alerttest package is an npm library designed for testing alerts in applications. It is commonly used by developers to simulate alert scenarios during development. However, this package has been found to contain malicious code, which poses significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the alerttest package originates from the inclusion of malicious code that can compromise the security of applications using this library. This code can lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The malicious nature of this code was identified by Amazon Inspector, highlighting the importance of scrutinizing third-party packages for security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall alerttest
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 measure, you can avoid using the alerttest package in your application until a secure version is released. Consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The alerttest package has been identified as containing malicious code, posing significant security threats to applications. Immediate action is required to remove the package and monitor for updates. Utilizing tools like Vulert can help in identifying vulnerabilities in your projects effectively.
See every vulnerability recorded for alerttest →
FAQ
The alerttest package is an npm library used for testing alert scenarios in applications.
The malicious code can lead to unauthorized access and potential data breaches in applications that use the package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
It is crucial to remove the alerttest package from your project immediately and monitor for any updates or patches.
Yes, consider using other npm packages that offer similar alert testing functionalities without the security risks associated with alerttest.