Malicious Code Detected in docin-cli Package - Security Alert
Summary
MAL-2025-18563: Malicious code in docin-cli (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 docin-cli package is a command-line interface tool designed for document processing and manipulation within Node.js applications. It provides various functionalities that enhance user productivity by streamlining document-related tasks. However, recent findings have revealed that this package contains malicious code, posing significant security risks to users and their applications.
Vulnerability Detail
The vulnerability in the docin-cli package stems from the inclusion of malicious code that can compromise user data and system integrity. This code may execute unauthorized actions, potentially leading to data theft or system exploitation. The issue was introduced in version 0 of the package 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 docin-cli
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 avoid using the docin-cli package until a secure version is released. Alternatively, consider using other document processing packages that do not have known vulnerabilities.
Conclusion
The discovery of malicious code in the docin-cli package highlights the importance of maintaining secure dependencies in software development. Users are urged to update their packages promptly and consider using monitoring tools like Vulert to stay informed about potential vulnerabilities.
See every vulnerability recorded for docin-cli →
FAQ
docin-cli is a command-line interface tool for document processing in Node.js applications.
The malicious code can execute unauthorized actions, potentially leading to data theft or exploitation of the user's system.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
If an immediate update is not possible, refrain from using the docin-cli package and consider alternative packages until a secure version is available.
Utilize tools like Vulert to monitor your package-lock.json file for real-time alerts on open-source vulnerabilities.