Malicious Code Injection in tame_gopher_z3n Package
Summary
MAL-2025-90906: Malicious code in tame_gopher_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 tame_gopher_z3n package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. Its functionality is compromised by the presence of malicious code that modifies critical files.
Vulnerability Detail
The vulnerability in the tame_gopher_z3n package stems from malicious code that alters the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior is designed to pollute the npm registry and can lead to significant security risks, including unauthorized access to sensitive data and the potential for further exploitation of affected systems. The origin of this vulnerability is linked to a campaign aimed at manipulating npm's package publishing system.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tame_gopher_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 tame_gopher_z3n package from your project by executing: npm uninstall tame_gopher_z3n. This will prevent the malicious code from executing while you seek a secure alternative.
Conclusion
The tame_gopher_z3n package contains a significant vulnerability due to malicious code that alters essential files and can lead to severe security risks. It is crucial to update or remove this package to protect your application from potential exploitation.
See every vulnerability recorded for tame_gopher_z3n →
FAQ
The tame_gopher_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 unauthorized modifications of your package.json file, potentially exposing your application to security risks and affecting its integrity.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
If you cannot update the package, it is recommended to uninstall it and look for a secure alternative that does not have known vulnerabilities.
Regularly update your dependencies, monitor for vulnerabilities using tools like Vulert, and review your package.json file for any unauthorized changes.