Malicious Code Detected in cydashboard-directives Package
Summary
MAL-2025-17881: Malicious code in cydashboard-directives (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 cydashboard-directives package is a component of the npm ecosystem, designed to provide directives for dashboards in web applications. It is utilized by developers to enhance user interfaces with interactive and dynamic elements. However, this package has been identified to contain malicious code, posing significant risks to applications that incorporate it.
Vulnerability Detail
The vulnerability in the cydashboard-directives package stems from the inclusion of malicious code that can compromise the security of applications using this package. This code may lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The vulnerability was introduced in version 0 and affects all subsequent versions, making it critical for users to address this issue promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall cydashboard-directives
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, consider removing the cydashboard-directives package from your project until a secure version is released. You can do this by executing the following command: npm uninstall cydashboard-directives.
Conclusion
The cydashboard-directives package has been found to contain malicious code, posing a serious threat to applications that utilize it. Users are advised to update or remove the package to mitigate risks. Tools like Vulert can assist in monitoring for such vulnerabilities in real-time.
See every vulnerability recorded for cydashboard-directives →
FAQ
The cydashboard-directives package is an npm component that provides directives for creating interactive dashboards in web applications.
The malicious code found in the cydashboard-directives package can lead to unauthorized access and potential data breaches.
You can use Vulert, a tool that monitors open-source vulnerabilities in your software. By analyzing your package-lock.json file, Vulert can alert you to any vulnerabilities, including those in the cydashboard-directives package.
Yes, Vulert allows you to monitor vulnerabilities using just your package-lock.json file, without requiring any code access or installation.
Detailed information about this vulnerability can be found on the GitHub repository of the malicious packages project, specifically for cydashboard-directives.