Malicious Code Injection in gleaming_gopher_0xrequest Package
Summary
MAL-2025-103276: Malicious code in gleaming_gopher_0xrequest (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 gleaming_gopher_0xrequest package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards through various automated scripts. However, it has been identified as containing malicious code that compromises its integrity and the security of applications utilizing it.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to inflate developer reputation scores and pollute the npm registry with derivative packages. The ramifications include potential exposure of sensitive information and the risk of unintentional use of compromised packages in applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall gleaming_gopher_0xrequest
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
If an immediate update is not feasible, consider removing the package from your project until a secure version is available. You can do this by executing: npm uninstall gleaming_gopher_0xrequest.
Conclusion
The gleaming_gopher_0xrequest package contains a significant vulnerability that can affect the security of applications using it. It is crucial to take immediate action by updating or removing the package to protect your projects from potential threats.
See every vulnerability recorded for gleaming_gopher_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The malicious code can compromise your application's integrity by modifying critical files and potentially exposing sensitive information.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without needing to sign up.
Consider removing the package from your project until a secure version is available to mitigate risks.