Malicious Code Injection in Nutritional Lion Z3N Package
Summary
MAL-2025-95695: Malicious code in nutritious_lion_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 'nutritious_lion_z3n' package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards through automated publishing scripts. However, it has been compromised to include malicious code that affects its integrity and security.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the 'nutritious_lion_z3n' package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the automatic publication of derivative packages. This behavior not only inflates developer reputation scores but also pollutes the npm registry, posing risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nutritious_lion_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 remove the 'nutritious_lion_z3n' package from your project by executing 'npm uninstall nutritious_lion_z3n'. This will prevent any malicious code from executing until a patch is available.
Conclusion
The 'nutritious_lion_z3n' package has been compromised with malicious code that can significantly impact projects using it. It is crucial to take immediate action by uninstalling the package and monitoring for updates. Utilizing tools like Vulert can aid in identifying vulnerabilities in your dependencies.
See every vulnerability recorded for nutritious_lion_z3n →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automate the publishing of packages.
The malicious code modifies your package.json, removes private flags, and can lead to the publication of unwanted packages, compromising your project's integrity.
You should uninstall the package immediately and monitor for any updates or patches that may be released.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest stable versions.