Malicious Code Injection in abdelcroissant Package - npm Vulnerability
Summary
MAL-2025-170625: Malicious code in abdelcroissant (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 abdelcroissant package is part of the npm ecosystem, which is widely used for managing JavaScript packages. This package, like many others, is intended to facilitate the development of applications by providing reusable code. However, it has been identified as part of a malicious campaign that exploits npm's publishing mechanisms to inflate developer reputation scores through the creation of derivative packages with randomized names.
Vulnerability Detail
The vulnerability in the abdelcroissant package stems from its involvement in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is designed to pollute the npm registry and can lead to the unintentional installation of compromised packages by developers. The malicious payload can significantly affect the integrity of the npm ecosystem, leading to potential security risks for applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall abdelcroissant
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, avoid using the abdelcroissant package and monitor your application for any dependencies that may inadvertently include it. Regularly check your package-lock.json file for any unauthorized packages.
Conclusion
The abdelcroissant package poses a significant security risk due to its malicious behavior of modifying package metadata and publishing unauthorized variants. It is essential for developers to remove this package from their projects and monitor their dependencies for any potential vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your applications.
See every vulnerability recorded for abdelcroissant →
FAQ
The abdelcroissant package is a JavaScript package in the npm ecosystem that has been identified as part of a malicious campaign to inflate developer reputation scores.
This vulnerability can lead to the installation of compromised packages, potentially introducing security risks and affecting the integrity of your application.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground at Vulert Scanner without any signup.
If you have installed the abdelcroissant package, it is crucial to uninstall it immediately using the command npm uninstall abdelcroissant.
While specific alternatives depend on your use case, it is advisable to look for reputable packages that provide similar functionality without the associated risks.