Malicious Code Injection in aldorev Package: npm Vulnerability Overview
Summary
MAL-2025-170782: Malicious code in aldorev (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 aldorev package is part of the npm ecosystem, primarily used for various JavaScript applications. It is often employed in projects that require package management and dependency handling. However, this package has been identified as part of a malicious campaign that aims to exploit npm's publishing system, leading to potential security risks for developers and users alike.
Vulnerability Detail
The vulnerability in the aldorev package stems from its association with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that modify the package.json file to remove private flags, alter version numbers, and generate random names, ultimately republishing variants to pollute the npm registry. This can lead to unintentional usage of compromised packages, affecting application integrity and security.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall aldorev
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 aldorev package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The aldorev package has been identified as a vector for malicious code injection, posing significant risks to developers and their applications. It is essential to remove this package and monitor your dependencies for vulnerabilities to maintain application security.
See every vulnerability recorded for aldorev →
FAQ
The aldorev package is a JavaScript package available on npm, used for managing dependencies in JavaScript applications.
The vulnerability can lead to the inclusion of malicious code in your application, compromising its security and integrity.
You should uninstall the aldorev package immediately and check your project for any dependencies that may have been affected.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.