Malicious Code Injection in rdkoia-devapptea: A Threat to npm Users
Summary
MAL-2025-107750: Malicious code in rdkoia-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
rdkoia-devapptea is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate the distribution of token rewards through various npm packages. However, this package has been identified as malicious, containing scripts that manipulate package metadata and flood the npm registry with derivative packages, potentially harming developers' reputations and polluting the ecosystem.
Vulnerability Detail
The vulnerability originates from the malicious design of the rdkoia-devapptea package, which includes scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the automatic generation and publication of numerous derivative packages, which can inflate developer reputation scores fraudulently. The ramifications include a polluted npm registry, potential security risks for users who install these packages, and a compromised development environment.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rdkoia-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
Currently, the best workaround is to avoid using the rdkoia-devapptea package altogether. If it is already installed, ensure to remove it from your project and monitor your dependencies for any similar malicious packages.
Conclusion
The rdkoia-devapptea package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to be vigilant and remove this package from their projects to maintain a secure development environment.
See every vulnerability recorded for rdkoia-devapptea →
FAQ
rdkoia-devapptea is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code modifies your package.json file and floods the npm registry with derivative packages, potentially harming your project's integrity and reputation.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.
If you have installed rdkoia-devapptea, you should uninstall it immediately using the command npm uninstall rdkoia-devapptea.
Currently, there are no patches available for rdkoia-devapptea. The best course of action is to remove the package from your project.