Malicious Code Injection in mass_bobcat_z3n Package
Summary
MAL-2025-95408: Malicious code in mass_bobcat_z3n (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 mass_bobcat_z3n package is part of the npm ecosystem, often associated with token reward campaigns. It is designed to facilitate the generation and publication of derivative packages. However, this package has been identified as malicious, containing scripts that manipulate package metadata and flood the npm registry with unwanted variants.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the mass_bobcat_z3n package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The intent is to inflate developer reputation scores for token rewards while polluting the npm registry with numerous derivative packages. This can lead to security risks, including dependency confusion and potential exploitation of affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mass_bobcat_z3n
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 mass_bobcat_z3n package and monitor your project for any dependencies that might inadvertently include it. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities.
Conclusion
The mass_bobcat_z3n package poses a significant security risk due to its malicious code that modifies package metadata and floods the npm registry. It is crucial to remove this package from your project and monitor for any dependencies that may be affected. Utilizing tools like Vulert can help in identifying vulnerabilities in your project.
See every vulnerability recorded for mass_bobcat_z3n →
FAQ
mass_bobcat_z3n is an npm package associated with token reward campaigns, designed to generate and publish derivative packages.
The vulnerability can lead to the pollution of the npm registry and may introduce security risks, including dependency confusion.
You should uninstall the mass_bobcat_z3n package immediately using the command: npm uninstall mass_bobcat_z3n.
Yes, you can use Vulert to monitor your package-lock.json for open-source vulnerabilities without requiring code access or installation.
There is no patch for the mass_bobcat_z3n package due to its malicious nature; the best course of action is to remove it from your project.