Malicious Code Injection in bilalcroissant Package: npm Vulnerability Summary
Summary
MAL-2025-170980: Malicious code in bilalcroissant (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 bilalcroissant package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and deployment of applications by providing reusable code. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages designed to manipulate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in the bilalcroissant package arises from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to inflate developer reputation scores and pollute the npm registry with derivative packages. The malicious payload can lead to unintended consequences, including the potential exposure of sensitive data and the compromise of application integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bilalcroissant
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, avoid using the bilalcroissant package and monitor your project for any unauthorized changes. You can also use tools like Vulert to monitor your package-lock.json file for vulnerabilities in real-time.
Conclusion
The bilalcroissant package poses a significant risk due to its malicious code designed to manipulate npm registry and developer reputation. It is essential to remove this package from your projects and utilize monitoring tools like Vulert to safeguard your applications against such vulnerabilities.
See every vulnerability recorded for bilalcroissant →
FAQ
bilalcroissant is an npm package that has been identified as part of a malicious campaign aimed at manipulating developer reputation scores.
The vulnerability can lead to unauthorized changes in your project, potential exposure of sensitive data, and overall compromise of application integrity.
You should uninstall the bilalcroissant package immediately using the command 'npm uninstall bilalcroissant' and review your project for any unauthorized changes.
Yes, you can use Vulert to monitor your package-lock.json file for vulnerabilities in real-time without requiring access to the code or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.