Critical Malicious Code Vulnerability in @huntersofbook/core-nuxt Package
Summary
MAL-2025-191230: Malicious code in @huntersofbook/core-nuxt (npm). Affects @huntersofbook/core-nuxt versions 0.4.2. 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 @huntersofbook/core-nuxt package is a Node.js library designed for building applications using the Nuxt.js framework. It provides essential functionalities for developers, including server-side rendering and static site generation. However, this package has been compromised, making it susceptible to a severe security threat that can lead to unauthorized access and data loss.
Vulnerability Detail
The vulnerability originates from a malicious NPM worm known as Sha1-Hulud: The Second Coming. This worm embeds itself within the @huntersofbook/core-nuxt package, allowing it to steal user tokens and credentials, which are then published to GitHub. Additionally, the worm can propagate to other NPM packages owned by the user and establish persistence through GitHub actions. The malicious code poses a significant risk as it may also delete the user's home directory, leading to potential data loss.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @huntersofbook/core-nuxt
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 remove the @huntersofbook/core-nuxt package from your project by executing: npm uninstall @huntersofbook/core-nuxt. This will prevent the malicious code from executing while you await a secure version.
Conclusion
The @huntersofbook/core-nuxt package has been compromised by a malicious NPM worm, posing significant risks to users. It is essential to take immediate action by updating or removing the package to mitigate potential threats. Regular monitoring of dependencies is crucial for maintaining application security.
See every vulnerability recorded for @huntersofbook/core-nuxt →
FAQ
The malicious code is part of an NPM worm that steals sensitive information and can delete files from the user's system.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without needing to sign up.
Immediately uninstall the package and monitor your system for any unauthorized access or data loss.
Regularly monitor your dependencies using tools like Vulert to receive real-time alerts for open-source vulnerabilities.
Failure to address this vulnerability can lead to unauthorized access to sensitive data, loss of credentials, and potential data destruction.