Malicious Code Vulnerability in hiro-docs Package
Summary
MAL-2025-192801: Malicious code in hiro-docs (npm). Affects hiro-docs versions 1.0.0. 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 hiro-docs package is an npm library designed for documentation generation and management. It provides developers with tools to create, maintain, and publish documentation for their projects. However, this package has been identified as containing malicious code, which poses significant security risks to users and their applications.
Vulnerability Detail
The vulnerability in the hiro-docs package stems from the presence of malicious code that can compromise the integrity of applications utilizing this package. This issue was reported by ReversingLabs and affects version 1.0.0 of the package. The malicious code could potentially lead to unauthorized access, data breaches, or other harmful actions within the affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall hiro-docs
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, you can avoid using the hiro-docs package until a secure version is released. Consider using alternative documentation tools that do not have known vulnerabilities.
Conclusion
The hiro-docs package has been identified as containing malicious code that poses significant security risks. Users are advised to remove the affected version and monitor for updates or consider alternative documentation tools. Utilizing services like Vulert can help keep your applications secure by providing real-time vulnerability alerts.
See every vulnerability recorded for hiro-docs →
FAQ
The hiro-docs package is an npm library used for documentation generation and management in software projects.
The malicious code in hiro-docs can lead to unauthorized access and potential data breaches in applications that use this package.
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 you are using hiro-docs, it is recommended to remove the package and look for secure alternatives until a patched version is released.
The vulnerability was reported by ReversingLabs, a cybersecurity firm specializing in threat intelligence.