Malicious Code Detected in cladistics-markdown-pdf-loop-transform Package
Summary
MAL-2025-17087: Malicious code in cladistics-markdown-pdf-loop-transform (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 cladistics-markdown-pdf-loop-transform package is an npm library designed to facilitate the conversion of markdown files into PDF format, particularly for cladistics analysis. It is utilized by developers for its ease of use and integration capabilities. However, this package has been found to harbor malicious code, posing significant risks to users who integrate it into their applications.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the cladistics-markdown-pdf-loop-transform package. This code can potentially compromise the security of applications that utilize this package, leading to unauthorized access, data breaches, or other malicious activities. The issue was introduced in version 0 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 cladistics-markdown-pdf-loop-transform
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, users can consider using alternative packages that provide similar functionality without the associated risks. For instance, packages like 'markdown-pdf' or 'markdown-to-pdf' can be explored as safer options for converting markdown to PDF.
Conclusion
The discovery of malicious code in the cladistics-markdown-pdf-loop-transform package highlights the importance of vigilance when using open-source software. Users are strongly advised to remove this package and consider safer alternatives to protect their applications from potential threats.
See every vulnerability recorded for cladistics-markdown-pdf-loop-transform →
FAQ
The malicious code can execute unauthorized actions within the user's application, potentially leading to data theft or system compromise.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By analyzing your package-lock.json file, it can identify if your application is affected.
The best mitigation strategy is to remove the affected package and replace it with a secure alternative, as no patch is currently available.
You should immediately remove the cladistics-markdown-pdf-loop-transform package and consider using a safer alternative for your markdown to PDF conversion needs.
Utilizing tools like Vulert can help you monitor your dependencies for vulnerabilities in real-time without requiring access to the code or installation.