Malicious Code Injection in wilful_barracuda_z3n Package
Summary
MAL-2025-92306: Malicious code in wilful_barracuda_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 wilful_barracuda_z3n package is part of the npm ecosystem, often utilized 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 designed to manipulate developer reputation scores through automated publishing scripts, which can lead to significant security risks.
Vulnerability Detail
The vulnerability in the wilful_barracuda_z3n package stems from its association with the tea.xyz token reward campaign. This package contains scripts that automatically generate and publish derivative packages with randomized names, effectively polluting the npm registry. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants, which can compromise the integrity of the npm ecosystem and lead to potential exploitation by malicious actors.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wilful_barracuda_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 wilful_barracuda_z3n package and replace it with a trusted alternative that provides similar functionality. Additionally, regularly audit your package dependencies to identify and remove any malicious packages.
Conclusion
The wilful_barracuda_z3n package poses a significant security risk due to its malicious code designed to manipulate npm registry integrity. It is essential to remove this package and monitor your dependencies for vulnerabilities to maintain a secure development environment.
See every vulnerability recorded for wilful_barracuda_z3n →
FAQ
The wilful_barracuda_z3n package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated publishing.
This vulnerability can compromise the integrity of your project by introducing malicious code that can manipulate your package dependencies and potentially expose your application to security risks.
If you have the wilful_barracuda_z3n package installed, you should remove it immediately and monitor your project for any signs of compromise.
You can use tools like Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software by analyzing your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.