Malicious Code Detected in angular-rs-alerts Package - Security Alert
Summary
MAL-2025-14531: Malicious code in angular-rs-alerts (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 angular-rs-alerts package is an npm library designed to provide alert functionalities for Angular applications. It is commonly used by developers to enhance user experience through notifications and alerts. However, this package has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the angular-rs-alerts package stems from the inclusion of malicious code that can compromise the security of applications using this library. This code may lead to unauthorized access, data breaches, or other malicious activities. The issue was introduced in version 0 of the package, and it is crucial for developers to be aware of the potential ramifications of using this compromised package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall angular-rs-alerts
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 workaround, you can temporarily disable the functionalities that rely on the angular-rs-alerts package until a secure alternative is implemented. Additionally, you can monitor your application for any suspicious activities that may arise from the use of this package.
Conclusion
The angular-rs-alerts package has been identified to contain malicious code that poses serious security risks. Developers are advised to remove the package and monitor their applications for any suspicious activities. Utilizing tools like Vulert can help in identifying vulnerabilities in real-time.
See every vulnerability recorded for angular-rs-alerts →
FAQ
The angular-rs-alerts package is an npm library that provides alert functionalities for Angular applications, enhancing user experience through notifications.
The malicious code can lead to unauthorized access and data breaches, posing significant security risks to applications using this library.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without any signup.
Currently, there is no patched version available. It is recommended to remove the package until a secure alternative is found.
You should remove the angular-rs-alerts package from your project and look for a secure alternative to ensure the safety of your application.