Malicious Code Injection in outer_gamefowl_z3n Package
Summary
MAL-2025-95805: Malicious code in outer_gamefowl_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 outer_gamefowl_z3n package is part of the npm ecosystem, which is widely used for JavaScript development. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of this package is to facilitate token rewards, but it has been compromised to include harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in the outer_gamefowl_z3n package stems from malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names to inflate developer reputation scores. The malicious payload continuously republishes these variants, polluting the npm registry and potentially leading to security risks for developers who unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall outer_gamefowl_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 outer_gamefowl_z3n package from your project if it is not essential. You can do this by executing the command: 'npm uninstall outer_gamefowl_z3n'. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities without requiring code access.
Conclusion
The outer_gamefowl_z3n package has been identified as containing malicious code that poses a significant risk to developers using it. It is crucial to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities in your projects.
See every vulnerability recorded for outer_gamefowl_z3n →
FAQ
The outer_gamefowl_z3n package is an npm package associated with the tea.xyz token reward campaign, which has been compromised to include malicious scripts.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and the pollution of the npm registry with compromised packages.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If you cannot update the package, consider removing it from your project and using alternative packages that provide similar functionality without the associated risks.
Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. It provides real-time alerts for vulnerabilities, helping you maintain the security of your applications.