Malicious Code Injection in raw_guppy_z3n Package - npm Vulnerability
Summary
MAL-2025-96197: Malicious code in raw_guppy_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 raw_guppy_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 automatic generation and publication of derivative packages, which are often used to inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises its integrity.
Vulnerability Detail
The vulnerability in the raw_guppy_z3n package originates from its involvement in a campaign that floods the npm registry with malicious packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially affecting developers who rely on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall raw_guppy_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 raw_guppy_z3n package from your project by executing:
npm uninstall raw_guppy_z3n
This will prevent any malicious code from executing while you assess the situation.
Conclusion
The raw_guppy_z3n package has been identified as containing malicious code that poses a significant risk to developers and their projects. It is crucial to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities in the future.
See every vulnerability recorded for raw_guppy_z3n →
FAQ
The raw_guppy_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 compromise the integrity of your project by introducing malicious code.
If you have installed the raw_guppy_z3n package, it is recommended to uninstall it immediately and monitor for any updates or patches.
Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
Regularly updating your dependencies and using tools like Vulert can help monitor for vulnerabilities and keep your project secure.