Malicious Code Injection in partial_sheep_z3n Package - npm Vulnerability
Summary
MAL-2025-106920: Malicious code in partial_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 partial_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 aimed at inflating developer reputation scores through the generation of numerous derivative packages. The primary functionality of this package is to facilitate token rewards, but it has been compromised to perform harmful actions.
Vulnerability Detail
The vulnerability in the partial_sheep_z3n package originates from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the pollution of the npm registry. This can result in developers inadvertently using compromised packages, exposing their applications to further vulnerabilities and potential exploits.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall partial_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 workaround, you can avoid using the partial_sheep_z3n package altogether. If it is already in use, consider replacing it with a reputable alternative that does not have known vulnerabilities. Additionally, regularly audit your dependencies using tools like npm audit to identify and mitigate risks.
Conclusion
The partial_sheep_z3n package has been identified as a malicious entity within the npm ecosystem, posing significant risks to developers and their applications. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain the security of your projects.
See every vulnerability recorded for partial_sheep_z3n →
FAQ
The partial_sheep_z3n package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the creation of numerous derivative packages.
This vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and functionality.
You should remove the partial_sheep_z3n package from your project and monitor for any updates or patches that may be released.
You can use tools like npm audit to check for vulnerabilities in your dependencies. Additionally, Vulert can monitor your package-lock.json file to alert you in real-time for any open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.