Malicious Code Injection in stormy_sheep_z3n: A Threat to npm Users
Summary
MAL-2025-109153: Malicious code in stormy_sheep_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 package stormy_sheep_z3n is part of the npm ecosystem, which is widely used for JavaScript package management. This package was identified as part of a malicious campaign that aimed to exploit the npm registry by flooding it with derivative packages. The primary functionality of such packages is to inflate developer reputation scores through automated publishing scripts, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability in stormy_sheep_z3n originates from its association with the tea.xyz token reward campaign. This package contains scripts designed to automatically generate and publish numerous derivative packages with randomized names. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants, thereby polluting the npm registry. This can lead to security risks for developers who may unknowingly install these malicious packages, compromising their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall stormy_sheep_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 stormy_sheep_z3n package and monitor your dependencies for any malicious activity. Consider using tools like Vulert to scan your package-lock.json file for vulnerabilities. You can access the Vulert playground at https://vulert.com/scanner to check if your application is affected by this vulnerability without requiring any signup.
Conclusion
The stormy_sheep_z3n package poses a significant risk due to its malicious code designed to exploit the npm registry. It is crucial for developers to remain vigilant, regularly check their dependencies, and utilize tools like Vulert to safeguard their applications against such vulnerabilities.
See every vulnerability recorded for stormy_sheep_z3n →
FAQ
stormy_sheep_z3n is an npm package identified as part of a malicious campaign to inflate developer reputation scores through automated publishing.
The vulnerability can lead to the installation of malicious packages that may compromise your application's security and integrity.
You should uninstall the stormy_sheep_z3n package immediately using the command npm uninstall stormy_sheep_z3n.
Regularly monitor your dependencies, use trusted packages, and utilize tools like Vulert to scan for vulnerabilities.
Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. It provides real-time alerts for vulnerabilities.