Malicious Code Injection in reduced_yak_z3n: A Threat to npm Packages
Summary
MAL-2025-96235: Malicious code in reduced_yak_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 'reduced_yak_z3n' is part of the npm ecosystem and has been identified as a component of the tea.xyz token reward campaign. This campaign has led to the proliferation of numerous npm packages that are designed to inflate developer reputation scores through automated publishing scripts. These scripts generate derivative packages with randomized names, which can lead to significant pollution of the npm registry and compromise the integrity of the ecosystem.
Vulnerability Detail
The vulnerability in 'reduced_yak_z3n' stems from its malicious payload that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, primarily themed around Indonesian culture. This behavior not only compromises the affected package but also contributes to the overall degradation of the npm registry by continuously republishing variants, making it difficult for developers to trust the integrity of packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall reduced_yak_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 avoid using the 'reduced_yak_z3n' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can use the following command to uninstall the package: npm uninstall reduced_yak_z3n.
Conclusion
The 'reduced_yak_z3n' package poses a significant threat due to its malicious code that alters package metadata and contributes to npm registry pollution. It is crucial for developers to remove this package and remain vigilant about the integrity of the packages they use. Utilizing tools like Vulert can help in monitoring for such vulnerabilities effectively.
See every vulnerability recorded for reduced_yak_z3n →
FAQ
The main issue is that it contains malicious code that modifies package.json and republishes variants to pollute the npm registry.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.
You should uninstall the package immediately and monitor for any updates or patches that may be released.
Yes, look for other npm packages that provide similar functionality without the associated risks.
Vulert monitors and alerts in real-time for open-source vulnerabilities using just the package-lock.json file, providing an easy way to stay informed.