Malicious Code Injection in bilalnaseem Package: npm Vulnerability Overview
Summary
MAL-2025-170984: Malicious code in bilalnaseem (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 bilalnaseem package is part of the npm ecosystem, primarily used for various JavaScript applications. It has been identified as part of a larger malicious campaign that aims to exploit npm's package management system. This package, like others in the campaign, is designed to inflate developer reputation scores through automated scripts that publish numerous derivative packages with randomized names.
Vulnerability Detail
The bilalnaseem package contains malicious code that modifies the package.json file by removing private flags and altering version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to significant security risks, including the potential for dependency confusion and the introduction of further vulnerabilities into applications that rely on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bilalnaseem
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 prevent the installation of the bilalnaseem package by removing it from your package.json file and running the following command: npm uninstall bilalnaseem. Additionally, consider using npm audit to identify and address other vulnerabilities in your project.
Conclusion
The bilalnaseem package poses a significant security risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to remove this package and monitor their applications for vulnerabilities to maintain security and integrity.
See every vulnerability recorded for bilalnaseem →
FAQ
bilalnaseem is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You should uninstall the bilalnaseem package immediately and check for any other vulnerabilities in your project.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring a signup.