Malicious Code Detected in @ownbackup/ob-query-builder: A Critical Vulnerability
Summary
MAL-2025-192706: Malicious code in @ownbackup/ob-query-builder (npm). Affects @ownbackup/ob-query-builder versions 25.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 package @ownbackup/ob-query-builder is a Node.js library designed for building and executing database queries efficiently. It is widely used in applications that require robust data handling capabilities. However, the package has been identified to contain malicious code, which poses a significant security risk to users and their applications.
Vulnerability Detail
The vulnerability originates from a malicious code injection in version 25.0.0 of the @ownbackup/ob-query-builder package. This code can potentially compromise the integrity of applications using this package, leading to unauthorized access, data breaches, or other malicious activities. The malicious code was identified by ReversingLabs, highlighting the importance of scrutinizing third-party packages for security threats.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @ownbackup/ob-query-builder
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
If immediate updating is not feasible, consider removing the package from your project until a secure version is released. You can do this by running: npm uninstall @ownbackup/ob-query-builder. Additionally, monitor your application for any suspicious activity during this period.
Conclusion
The discovery of malicious code in the @ownbackup/ob-query-builder package underscores the importance of vigilance when using third-party libraries. Users are encouraged to update their packages promptly and utilize tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for @ownbackup/ob-query-builder →
FAQ
The malicious code can lead to unauthorized access to your application, data breaches, and potential exploitation of user data.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without any signup.
Yes, you can temporarily remove the package from your project or monitor your application closely for any unusual behavior.
The vulnerability was discovered by ReversingLabs, a security research firm specializing in identifying malicious packages.
If you suspect that your application has been compromised, conduct a thorough security audit, remove the malicious package, and restore any affected data from backups.