Malicious Code Injection in ideological_viper_z3n Package
Summary
MAL-2025-94918: Malicious code in ideological_viper_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 ideological_viper_z3n package is part of the npm ecosystem and appears to be associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been compromised to include malicious scripts that alter its functionality.
Vulnerability Detail
The vulnerability in the ideological_viper_z3n package originates from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file to remove private flags, changes version numbers, and generates random package names, leading to pollution of the npm registry. This can result in security risks for developers who unknowingly use these compromised packages, potentially exposing their applications to further vulnerabilities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ideological_viper_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 ideological_viper_z3n package from your project by executing the following command: npm uninstall ideological_viper_z3n. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The ideological_viper_z3n package has been identified as containing malicious code that can compromise the security of applications using it. It is crucial to update or remove this package to protect your projects from potential threats. Utilizing tools like Vulert can help monitor vulnerabilities in real-time.
See every vulnerability recorded for ideological_viper_z3n →
FAQ
The ideological_viper_z3n package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the pollution of the npm registry and may expose your application to security risks if you use compromised packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without requiring any signup.
If you cannot update the package, consider uninstalling it as a temporary measure to mitigate risks until a secure version is available.
Detailed information about the vulnerability can be found in the official npm repository and security advisories related to the ideological_viper_z3n package.