Malicious Code Injection in sour_sheep_z3n Package: npm Vulnerability Overview
Summary
MAL-2025-90714: Malicious code in sour_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 sour_sheep_z3n package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by generating and publishing numerous derivative packages with altered metadata. The primary functionality of this package is overshadowed by its malicious intent to inflate developer reputation scores through automated scripts.
Vulnerability Detail
The vulnerability originates from the sour_sheep_z3n package being involved in a token reward campaign that floods the npm registry with malicious packages. These packages contain scripts that modify the package.json file to remove private flags, change version numbers, and generate random package names. This behavior leads to pollution of the npm registry, potentially compromising the integrity of the ecosystem and affecting developers who rely on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sour_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 measure, you can prevent the installation of this malicious package by using npm's package-lock.json to monitor dependencies. Ensure that your package-lock.json does not include sour_sheep_z3n. You can also use Vulert to monitor your project for vulnerabilities in real-time without needing to install any additional software.
Conclusion
The sour_sheep_z3n package presents a significant security risk due to its involvement in malicious activities aimed at manipulating the npm registry. It is essential for developers to be vigilant and remove such packages from their projects to maintain the integrity of their applications.
See every vulnerability recorded for sour_sheep_z3n →
FAQ
sour_sheep_z3n is an npm package identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to the pollution of the npm registry, affecting the integrity of your project's dependencies and potentially introducing security risks.
You should uninstall the sour_sheep_z3n package immediately to mitigate any risks associated with its malicious behavior.
As of now, there is no patch available for the sour_sheep_z3n package. The best course of action is to remove it from your project.
You can use Vulert to monitor your project for open-source vulnerabilities in real-time by analyzing your package-lock.json file.