Malicious Code Injection in subjective_leopard_z3n Package
Summary
MAL-2025-90779: Malicious code in subjective_leopard_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 subjective_leopard_z3n package is part of the npm ecosystem, often used in JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been linked to a series of malicious packages flooding the npm registry. These packages typically include scripts designed to manipulate package metadata and inflate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in the subjective_leopard_z3n package originates from its malicious intent to modify package.json files. It removes private flags, alters version numbers, and generates random package names, leading to pollution of the npm registry. This behavior can compromise the integrity of applications relying on this package, as it may introduce untrusted code and dependencies.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall subjective_leopard_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 subjective_leopard_z3n package and replace it with a trusted alternative. Additionally, you can monitor your package-lock.json file for any unauthorized changes.
Conclusion
The subjective_leopard_z3n package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial to remove this package and monitor your dependencies to maintain the integrity of your applications.
See every vulnerability recorded for subjective_leopard_z3n →
FAQ
The main issue is that it contains malicious code that modifies package metadata and floods the npm registry with untrusted packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit the Vulert playground at Vulert Scanner to check your application without any signup.
If you have installed the subjective_leopard_z3n package, it is advised to remove it immediately and check for any unauthorized changes in your project.
Yes, consider using well-established packages that provide similar functionality without the associated risks. Always review the package's reputation and security history.
To prevent similar vulnerabilities, regularly audit your dependencies, use tools like Vulert for monitoring, and stay informed about security advisories related to the packages you use.