Malicious Code Vulnerability in dialyze Package
Summary
MAL-2025-18432: Malicious code in dialyze (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 dialyze package is an npm library designed for analyzing and optimizing code. It provides developers with tools to improve code quality and performance. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the dialyze package stems from the inclusion of malicious code that can compromise the security of applications using it. This code can lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to address it promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dialyze
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, users can remove the dialyze package from their project until a secure version is released. This can be done by executing the command: 'npm uninstall dialyze'. Consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The discovery of malicious code in the dialyze package highlights the importance of maintaining vigilance when using open-source libraries. Users are strongly advised to update or remove the package to protect their applications from potential threats.
See every vulnerability recorded for dialyze →
FAQ
The dialyze package is an npm library used for code analysis and optimization, helping developers improve code quality.
The malicious code was identified by security researchers from Amazon Inspector, who reported the findings to the community.
Using the compromised package can lead to unauthorized access, data breaches, and other security vulnerabilities in your application.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If you cannot update the package right away, consider removing it from your project and using alternative packages until a secure version is released.