Malicious Code Injection in husky_boar_z3n Package
Summary
MAL-2025-94895: Malicious code in husky_boar_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 husky_boar_z3n package is part of the npm ecosystem, typically used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages. This package is associated with the tea.xyz token reward scheme, which aims to manipulate developer reputation scores through the automatic generation and publication of derivative packages.
Vulnerability Detail
The vulnerability in the husky_boar_z3n package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The origin of this issue is linked to a broader campaign that exploits npm's publishing mechanisms to pollute the registry and inflate token rewards, posing significant risks to developers and users relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall husky_boar_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 remove the husky_boar_z3n package from your project by executing: npm uninstall husky_boar_z3n. This will prevent any malicious code from executing while you seek a secure alternative package.
Conclusion
The husky_boar_z3n package poses a significant security risk due to its malicious code designed to manipulate npm's publishing system. It is crucial for developers to be vigilant, remove this package, and monitor their projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for husky_boar_z3n →
FAQ
The husky_boar_z3n package is an npm package that has been identified as part of a malicious campaign to manipulate developer reputation scores.
The vulnerability can lead to unauthorized modifications in your package.json file, potentially compromising your project's integrity and security.
If you have installed the husky_boar_z3n package, it is crucial to uninstall it immediately and update your project dependencies to remove any potential threats.
Yes, you can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.