Malicious Code Detected in bim-authorization Package - Security Alert
Summary
MAL-2025-15687: Malicious code in bim-authorization (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 bim-authorization package is an npm library designed to facilitate authorization processes in applications. It provides developers with tools to manage user permissions and access controls efficiently. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the bim-authorization package. This code can potentially compromise the security of applications by allowing unauthorized access or manipulation of sensitive data. The issue was introduced in version 0 and affects all subsequent versions, making it critical for developers to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bim-authorization
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, consider removing the bim-authorization package from your project until a secure version is released. You can do this by running the command: npm uninstall bim-authorization.
Conclusion
The discovery of malicious code in the bim-authorization package highlights the importance of regularly monitoring and updating dependencies in software projects. Developers must take immediate action to secure their applications by updating or removing the affected package.
See every vulnerability recorded for bim-authorization →
FAQ
The bim-authorization package is an npm library used for managing user permissions and access controls in applications.
The malicious code can potentially allow unauthorized access to sensitive data and manipulate application behavior.
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.
It is crucial to check the package repository for any updates or patches that address the vulnerability.
As a temporary measure, consider uninstalling the bim-authorization package until a secure version is available.