Malicious Code Injection in razzpj-devapptea: A Threat to npm Users
Summary
MAL-2025-107749: Malicious code in razzpj-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
razzpj-devapptea is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the distribution of token rewards through various applications. However, it has been identified as containing malicious code that compromises its integrity and the security of its users.
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 for token rewards by continuously republishing variants, thereby polluting the npm registry. The ramifications include potential exposure of sensitive data, unauthorized access to systems, and degradation of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall razzpj-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 remove the razzpj-devapptea package from your project by running: npm uninstall razzpj-devapptea. This will prevent any malicious code from executing while you seek a safer alternative.
Conclusion
The razzpj-devapptea package poses a significant risk due to its malicious code that alters project files and can lead to broader security issues. Users are advised to remove the package and monitor their projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for razzpj-devapptea →
FAQ
razzpj-devapptea is an npm package associated with the tea.xyz token reward campaign, designed to distribute token rewards through applications.
The malicious code modifies your package.json file, potentially exposing sensitive information and leading to unauthorized access or system compromise.
If you have installed razzpj-devapptea, you should uninstall it immediately and monitor your project for any unusual activity.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities. It analyzes your package-lock.json file to provide real-time alerts.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.