Critical Malicious Code Vulnerability in @baanx/domain Package
Summary
MAL-2026-16486: Malicious code in @baanx/domain (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 @baanx/domain package is a Node.js library designed for domain management and related functionalities within applications. It is commonly used in various npm projects for its ease of integration and utility. However, this package has been identified as containing malicious code, posing significant security risks to any system utilizing it.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the @baanx/domain package. This code can compromise any computer that has the package installed, potentially allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of this code means that systems using this package should be considered fully compromised, and immediate action is required to mitigate the risks associated with it.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @baanx/domain
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
There are no effective workarounds for this vulnerability other than removing the package entirely. Ensure to monitor your systems for any unusual activity following the removal.
Conclusion
The @baanx/domain package has been identified as containing malicious code that compromises the security of systems using it. Immediate removal of the package and rotation of sensitive information is essential to mitigate risks. Users are encouraged to utilize tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for @baanx/domain →
FAQ
You should immediately uninstall the package and rotate any sensitive information stored on the affected system.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
Currently, there is no patched version available. The only course of action is to remove the package.
Failing to address this vulnerability could lead to unauthorized access to sensitive data and full control of your system by malicious actors.
It is highly recommended to avoid using this package until a secure version is released, as it poses significant security risks.