Malicious Code Detected in dctk Package - Security Alert
Summary
MAL-2025-6280: Malicious code in dctk (npm). Affects dctk versions >= 99.99.1. 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 dctk package is an npm library designed for data communication and transformation tasks. It is widely used in various applications for its efficient handling of data. However, recent findings have revealed that this package communicates with a domain associated with malicious activities, posing a significant security risk to applications that utilize it.
Vulnerability Detail
The vulnerability in the dctk package arises from its communication with a domain linked to malicious activities. This could lead to unauthorized data access, data breaches, or the execution of harmful code within applications that depend on this package. The issue was introduced in version 99.99.1, and it is critical for developers to be aware of the potential ramifications of using this compromised package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dctk
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, you can remove the dctk package from your project until a secure version is available. This can be done using the command: npm uninstall dctk. Alternatively, consider using an alternative package that provides similar functionality without the security risks.
Conclusion
The dctk package has been identified as having a serious vulnerability due to its communication with a malicious domain. Developers are urged to take immediate action by updating or removing the package to safeguard their applications. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for dctk →
FAQ
The dctk package is used for data communication and transformation tasks in various applications.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
If an immediate update is not possible, consider uninstalling the package or using an alternative until a secure version is released.
Currently, there is no specific patch version mentioned, but it is advisable to check the official repository for updates.
Using the compromised dctk package can lead to unauthorized data access, data breaches, and the execution of harmful code in your application.