Malicious Code Injection in jrxtzn-devapptea: A Threat to npm Users
Summary
MAL-2025-104717: Malicious code in jrxtzn-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 'jrxtzn-devapptea' is part of the tea.xyz token reward campaign, which has been known to flood the npm registry with various packages. These packages often contain scripts designed to manipulate the npm ecosystem by generating and publishing derivative packages with randomized names. This behavior not only inflates developer reputation scores but also poses significant risks to users who may unknowingly install these malicious packages.
Vulnerability Detail
The vulnerability in 'jrxtzn-devapptea' originates from its design to include autopublish scripts that modify the package.json file. These modifications remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants. This behavior can pollute the npm registry, making it difficult for developers to find legitimate packages and potentially exposing them to security risks from malicious code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall jrxtzn-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 measure, avoid using the 'jrxtzn-devapptea' package and consider using alternative packages that provide similar functionality without the associated risks. Regularly audit your package-lock.json file to identify any potentially vulnerable packages.
Conclusion
The 'jrxtzn-devapptea' package poses a significant risk due to its malicious code injection capabilities. It is crucial for developers to be aware of such vulnerabilities and take proactive measures to protect their projects. Regular audits and the use of monitoring tools like Vulert can help mitigate these risks.
See every vulnerability recorded for jrxtzn-devapptea →
FAQ
'jrxtzn-devapptea' is an npm package associated with the tea.xyz token reward campaign, known for flooding the npm registry with malicious packages.
The vulnerability can lead to the installation of malicious code, which may compromise your project's security and integrity.
Immediately uninstall the package using 'npm uninstall jrxtzn-devapptea' and audit your project for any other potentially vulnerable packages.
Yes, you can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.