Malicious Code Injection in grdxww-devapptea: A Threat to npm Ecosystem
Summary
MAL-2025-103359: Malicious code in grdxww-devapptea (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 package 'grdxww-devapptea' is part of the tea.xyz token reward campaign that has recently infiltrated the npm ecosystem. This package is designed to automate the generation and publication of derivative packages, which can mislead developers and inflate reputation scores for token rewards. Its functionality revolves around creating randomized package names and modifying existing package metadata, making it a significant risk for developers relying on npm for package management.
Vulnerability Detail
The vulnerability in 'grdxww-devapptea' stems from its malicious code that modifies the package.json file to remove private flags and alter version numbers. This code generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. The origin of this issue is linked to a broader campaign aimed at exploiting npm's publishing mechanisms, which can lead to significant trust and security issues within the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall grdxww-devapptea
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 avoid using the 'grdxww-devapptea' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can use tools like Vulert to monitor your package-lock.json for vulnerabilities in real-time.
Conclusion
The 'grdxww-devapptea' package poses a significant threat to the npm ecosystem due to its malicious code that modifies package metadata and repopulates the registry with harmful variants. It is essential for developers to take immediate action by removing the package and utilizing tools like Vulert to safeguard their projects against future vulnerabilities.
See every vulnerability recorded for grdxww-devapptea →
FAQ
'grdxww-devapptea' is an npm package that is part of a token reward campaign, known for its malicious behavior in modifying package metadata.
The vulnerability can lead to the pollution of your npm registry and may compromise the integrity of your project by introducing unwanted packages.
You should uninstall the package immediately using 'npm uninstall grdxww-devapptea' and check your project for any other affected dependencies.
Yes, regularly update your dependencies, use tools like Vulert to monitor for vulnerabilities, and review package sources before installation.
Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. You can check for vulnerabilities without any installation or signup.