Critical Malicious Code Vulnerability in bmphide Package
Summary
MAL-2025-15906: Malicious code in bmphide (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 bmphide package is an npm library designed for image processing, specifically aimed at hiding or embedding data within image files. It is utilized by developers for various applications that require image manipulation. However, this package has been identified to contain malicious code, posing significant risks to users and their applications.
Vulnerability Detail
The vulnerability in the bmphide package originates from the inclusion of malicious code that can compromise the security of applications utilizing this package. This code can lead to unauthorized access, data breaches, or other malicious activities, potentially affecting the integrity and confidentiality of user data. The vulnerability affects all versions of the package starting from its introduction, making it critical for users to take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bmphide
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, users may consider removing the bmphide package from their project until a secure version is released. This can be done by executing the command: npm uninstall bmphide. Additionally, users can explore alternative packages that provide similar functionality without the associated risks.
Conclusion
The bmphide package has been identified with a critical vulnerability due to the presence of malicious code. Users are strongly advised to update or remove the package to safeguard their applications. Monitoring tools like Vulert can assist in identifying vulnerabilities in real-time.
See every vulnerability recorded for bmphide →
FAQ
The bmphide package is used for image processing, specifically for hiding or embedding data within image files.
The malicious code can lead to unauthorized access and data breaches, compromising the security of applications that use this package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check your application using the Vulert playground at Vulert Scanner without any signup.
As of now, a patched version has not been released. Users should monitor the npm repository for updates.
If removal is not an option, consider isolating the package's usage and implementing additional security measures to mitigate risks until a fix is available.