Malicious Code Detected in deploy-assert-debug-short-reject Package
Summary
MAL-2025-18293: Malicious code in deploy-assert-debug-short-reject (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 deploy-assert-debug-short-reject package is an npm library designed for debugging assertions in JavaScript applications. It allows developers to assert conditions during code execution, helping to identify issues early in the development process. However, this package has been found to contain malicious code, posing a significant risk to applications that utilize it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the deploy-assert-debug-short-reject package. This code can potentially compromise the security of applications that depend on this package, leading to unauthorized access, data breaches, or other malicious activities. The malicious code was introduced in version 0 and affects all subsequent versions.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall deploy-assert-debug-short-reject
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 workaround, you can temporarily disable any functionality that relies on the deploy-assert-debug-short-reject package until you can remove it from your project. Ensure that your application does not execute any code that depends on this package during this period.
Conclusion
The deploy-assert-debug-short-reject package has been identified as containing malicious code, posing a serious threat to applications that utilize it. It is crucial to remove this package from your project and consider alternatives to maintain the security of your application.
See every vulnerability recorded for deploy-assert-debug-short-reject →
FAQ
It is an npm library used for debugging assertions in JavaScript applications.
The malicious code was introduced in version 0 of the package and affects all subsequent versions.
Using this package can lead to unauthorized access, data breaches, and other malicious activities.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
Consider using an alternative package that is known to be secure and does not contain malicious code.