Critical Malicious Code Vulnerability in blanl-pkg (npm)
Summary
MAL-2025-6699: Malicious code in blanl-pkg (npm). Affects blanl-pkg versions >= 16.0.0. 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 blanl-pkg package is an npm library designed for various functionalities within JavaScript applications. It is commonly used for its ease of integration and lightweight nature. However, this package has been identified as having a serious vulnerability that allows it to communicate with a domain associated with malicious activities, posing a risk to users and their applications.
Vulnerability Detail
The vulnerability originates from the package version 16.0.0 and above, where it has been found to connect to a malicious domain. This can lead to unauthorized data access, potential data breaches, and compromise of user systems. The technical aspect of this vulnerability lies in the package's ability to execute network requests to untrusted sources, which can be exploited by attackers to deliver harmful payloads.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall blanl-pkg
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 remove the blanl-pkg package from your project until a secure version is released. You can do this by running the command: 'npm uninstall blanl-pkg'. Additionally, consider using alternative packages that do not have known vulnerabilities.
Conclusion
The blanl-pkg package has a critical vulnerability that allows it to communicate with malicious domains, posing significant risks to users. It is essential to update the package to a secure version or consider alternative solutions to mitigate these risks. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for blanl-pkg →
FAQ
blanl-pkg is an npm package used for various functionalities in JavaScript applications, known for its lightweight and easy integration.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
The risks include unauthorized data access, potential data breaches, and the compromise of user systems due to communication with malicious domains.
Yes, it is recommended to update the blanl-pkg package to a secure version as soon as it is available.
As a temporary measure, consider uninstalling the package or using alternative packages that do not have known vulnerabilities.