Malicious Code Detected in angular-4-datatable-custom Package
Summary
MAL-2025-14521: Malicious code in angular-4-datatable-custom (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-4-datatable-custom package is an npm library designed to provide customizable data tables for Angular applications. It allows developers to create dynamic and interactive tables with various features such as sorting, filtering, and pagination. However, this package has been found to contain malicious code, posing a significant security risk to applications that utilize it.
Vulnerability Detail
The vulnerability in the angular-4-datatable-custom 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 harmful actions within the application. The malicious nature of this code was identified by security researchers, highlighting the importance of scrutinizing third-party packages before integration.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall angular-4-datatable-custom
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, consider removing the angular-4-datatable-custom package from your project and replacing it with a similar library that does not have known vulnerabilities. Additionally, you can use the following command to uninstall the package: npm uninstall angular-4-datatable-custom.
Conclusion
The discovery of malicious code in the angular-4-datatable-custom package underscores the importance of vigilance when using third-party libraries. Developers should take immediate action to remove the affected package and consider alternatives to safeguard their applications.
See every vulnerability recorded for angular-4-datatable-custom →
FAQ
It is an npm library used for creating customizable data tables in Angular applications.
The malicious code can lead to unauthorized access and potential data breaches.
You can use Vulert's playground to check for vulnerabilities in your application without requiring access to the code or installation.
Consider removing the package and using an alternative library until a secure version is available.
Vulert uses package-lock.json to monitor and alert in real-time for open-source vulnerabilities in your software.