Malicious Code Injection in husky_bobcat-tool: A Threat to npm Packages
Summary
MAL-2025-103865: Malicious code in husky_bobcat-tool (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 husky_bobcat-tool package is part of the npm ecosystem, which is widely used for JavaScript development. This package, like many others, is intended to facilitate various development tasks. However, it has been identified as part of a malicious campaign that exploits npm's package management system, leading to significant security risks for developers who utilize it.
Vulnerability Detail
The vulnerability in husky_bobcat-tool stems from its association with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts designed to automatically modify package.json files, removing private flags, altering version numbers, and generating random package names. This behavior not only compromises the integrity of the affected packages but also pollutes the npm registry, making it difficult for developers to trust the ecosystem. The malicious payload can lead to unauthorized access and manipulation of projects that rely on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall husky_bobcat-tool
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 husky_bobcat-tool and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your package dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The husky_bobcat-tool package poses a significant security risk due to its malicious code that modifies package configurations and floods the npm registry. Developers should take immediate action to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for husky_bobcat-tool →
FAQ
Husky_bobcat-tool is an npm package that has been identified as part of a malicious campaign targeting the npm ecosystem.
The vulnerability can lead to unauthorized modifications of your project's package.json file and the introduction of potentially harmful code.
You should uninstall the package immediately and check for any other affected packages in your project.
You can use tools like npm audit or services like Vulert, which monitors your package-lock.json for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.