Malicious Code Detected in common-angular-test Package
Summary
MAL-2025-17426: Malicious code in common-angular-test (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 common-angular-test package is an npm library designed for testing Angular applications. It provides utilities and functions that facilitate the development and testing process for developers working with Angular frameworks. However, this package has been identified to contain malicious code, posing significant risks to users who integrate it into their projects.
Vulnerability Detail
The vulnerability in the common-angular-test package stems 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 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 library.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall common-angular-test
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 avoid using the common-angular-test package altogether and look for alternative libraries that provide similar functionality without the associated risks.
Conclusion
The common-angular-test package has been identified as containing malicious code, posing serious security risks to applications that utilize it. Developers are urged to remove this package and monitor for updates or alternatives to ensure the safety of their projects.
See every vulnerability recorded for common-angular-test →
FAQ
The common-angular-test package is an npm library used for testing Angular applications, providing various utilities for developers.
The malicious code can lead to unauthorized access and potential data breaches, compromising the security of applications that use the package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application by visiting the Vulert playground at Vulert Scanner.
Currently, there is no patched version available. It is advisable to remove the package until a secure version is released.
You should remove the common-angular-test package from your project immediately and consider using alternative libraries.