Critical Malicious Code Vulnerability in @quick-start-soft/quick-markdown-print Package
Summary
MAL-2025-191306: Malicious code in @quick-start-soft/quick-markdown-print (npm). Affects @quick-start-soft/quick-markdown-print versions 1.4.2511142126. 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 @quick-start-soft/quick-markdown-print package is an npm library designed to facilitate the conversion of Markdown documents into printable formats. It is commonly used in web applications to enhance document presentation. However, this package has been compromised, exposing users to severe security risks due to embedded malicious code.
Vulnerability Detail
The vulnerability originates from a malicious payload introduced by the Sha1-Hulud: The Second Coming NPM worm. This payload is capable of stealing tokens and credentials, which are then published to GitHub. Additionally, the worm can propagate itself to other npm packages owned by the user and establish persistence through GitHub actions. The malicious code may also lead to the destruction of the user's home directory, making it a critical security threat.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @quick-start-soft/quick-markdown-print
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, avoid using the @quick-start-soft/quick-markdown-print package until it has been confirmed safe. Consider using alternative packages for Markdown printing that do not have known vulnerabilities.
Conclusion
The @quick-start-soft/quick-markdown-print package has been compromised, posing significant security risks to users. It is crucial to uninstall the package immediately and take necessary precautions to secure any exposed credentials. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in the future.
See every vulnerability recorded for @quick-start-soft/quick-markdown-print →
FAQ
Immediately uninstall the package and rotate any secrets or keys that may have been compromised.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.
The consequences include unauthorized access to sensitive information, potential data loss, and the risk of further propagation of the malicious code to other packages.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated on security advisories related to the packages you use.
The malicious code was introduced by a known NPM worm, which exploits vulnerabilities in package management to inject harmful payloads.