Malicious Code Injection in tiny_grasshopper_0xrequest Package
Summary
MAL-2025-109705: Malicious code in tiny_grasshopper_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 tiny_grasshopper_0xrequest package is part of a broader ecosystem within npm, often associated with token reward campaigns. It is designed to facilitate interactions with the tea.xyz token system. However, this package has been identified as containing malicious code that compromises its integrity and the security of applications relying on it.
Vulnerability Detail
The vulnerability stems from the package's involvement in a malicious campaign that floods the npm registry with derivative packages. It contains scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only inflates developer reputation scores but also leads to the pollution of the npm registry, potentially affecting other packages and users.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tiny_grasshopper_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
As a temporary workaround, you can remove the tiny_grasshopper_0xrequest package from your project if it is not essential. You can do this by executing: npm uninstall tiny_grasshopper_0xrequest. Additionally, consider using alternative packages that do not have known vulnerabilities.
Conclusion
The tiny_grasshopper_0xrequest package has been identified as containing malicious code that poses significant risks to applications using it. It is crucial to update or remove this package to maintain the security and integrity of your software. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.
See every vulnerability recorded for tiny_grasshopper_0xrequest →
FAQ
It is an npm package associated with the tea.xyz token reward system, designed for interactions within that ecosystem.
The vulnerability can lead to unauthorized modifications in your package.json file, potentially compromising your application's integrity and security.
If an immediate update is not possible, consider removing the package or using alternative solutions until a fix can be applied.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.