Malicious Code Injection in fun_wolf_z3n Package - npm Vulnerability
Summary
MAL-2025-94630: Malicious code in fun_wolf_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 fun_wolf_z3n package is part of the npm ecosystem, often utilized by developers for various functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package is designed to inflate developer reputation scores through automated publishing scripts, which can lead to significant security risks.
Vulnerability Detail
The vulnerability in the fun_wolf_z3n package originates from its association with the tea.xyz token reward campaign. It contains malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only pollutes the npm registry but also poses a risk of unintentional code execution and dependency issues for developers who unknowingly integrate this package into their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall fun_wolf_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 fun_wolf_z3n package and look for alternative packages that provide similar functionality without the associated risks. Additionally, ensure that your package.json file does not include any references to this package.
Conclusion
The fun_wolf_z3n package poses a significant security risk due to its malicious code that modifies package files and publishes derivative packages. It is crucial to remove this package from your projects and monitor for any future updates or patches. Utilizing tools like Vulert can help you stay informed about vulnerabilities in your dependencies.
See every vulnerability recorded for fun_wolf_z3n →
FAQ
The fun_wolf_z3n package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
The vulnerability can lead to unintentional code execution, dependency issues, and pollution of the npm registry, potentially compromising your project's integrity.
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 have installed the fun_wolf_z3n package, you should uninstall it immediately using the command: npm uninstall fun_wolf_z3n.
Yes, you should look for alternative npm packages that provide similar functionality without the associated risks of malicious code.