Malicious Code Injection in net_grasshopper-appteadev Package
Summary
MAL-2025-106270: Malicious code in net_grasshopper-appteadev (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 net_grasshopper-appteadev package is part of the npm ecosystem, primarily used for developing applications with JavaScript. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with various packages. This package, like others in the campaign, is designed to manipulate developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability in the net_grasshopper-appteadev package stems from its inclusion in a malicious campaign that deploys scripts to automatically generate and publish derivative packages with randomized names. This behavior modifies the package.json file by removing private flags, altering version numbers, and continuously republishing variants to clutter the npm registry. The malicious payload can lead to reputational damage for developers and potential security risks for applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall net_grasshopper-appteadev
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 net_grasshopper-appteadev package from your project by executing: npm uninstall net_grasshopper-appteadev. This will prevent the malicious code from executing while you seek a secure alternative.
Conclusion
The net_grasshopper-appteadev package contains a significant vulnerability due to its association with a malicious campaign. Developers are advised to take immediate action by updating or removing the package to protect their applications from potential threats.
See every vulnerability recorded for net_grasshopper-appteadev →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, often used in JavaScript applications.
The vulnerability can lead to the injection of malicious code, potentially compromising the security and integrity of your application.
You should immediately update or uninstall the package to mitigate any risks associated with the vulnerability.
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.