Critical Malicious Code Vulnerability in debuild Package
Summary
MAL-2025-18147: Malicious code in debuild (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 debuild package is a tool used in the Node.js ecosystem, primarily for building Debian packages from source. It simplifies the process of package creation, making it easier for developers to distribute their software. However, this package has been identified to contain malicious code, posing a significant risk to users who rely on it for their development needs.
Vulnerability Detail
The vulnerability in the debuild package stems from the inclusion of malicious code that can compromise the integrity of applications utilizing this package. This malicious code can lead to unauthorized access, data breaches, or the execution of harmful operations within the user's environment. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall debuild
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 measure, users can avoid using the debuild package until a secure version is released. Alternatively, consider using other packages that provide similar functionality without the associated risks.
Conclusion
The debuild package has been identified to contain malicious code, posing a significant risk to users. It is crucial to update the package as soon as a patched version is available and to monitor your applications for vulnerabilities using tools like Vulert.
See every vulnerability recorded for debuild →
FAQ
The debuild package is a tool for building Debian packages from source, commonly used in Node.js development.
The malicious code can compromise application integrity, leading to unauthorized access and potential data breaches.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
As of now, a patched version has not been released. Users should monitor the package repository for updates.
Consider using alternative packages that provide similar functionality or avoid using the debuild package until a secure version is available.