Malicious Code Injection in elizabeththomas Package: npm Vulnerability Overview
Summary
MAL-2025-171142: Malicious code in elizabeththomas (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 elizabeththomas package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards through various automated scripts. However, it has been identified as containing malicious code that compromises its integrity and the security of applications relying on it.
Vulnerability Detail
The vulnerability in the elizabeththomas package stems from its 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 by flooding the npm registry with derivative packages. The origin of this issue is linked to the broader tea.xyz token reward campaign, which has been associated with similar malicious activities across multiple npm packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall elizabeththomas
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 elizabeththomas package from your project by executing the following command: npm uninstall elizabeththomas. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The elizabeththomas package has been identified as containing malicious code that poses a significant risk to applications using it. It is essential to take immediate action by updating or uninstalling the package to safeguard your project. Regular monitoring for vulnerabilities is also recommended.
See every vulnerability recorded for elizabeththomas →
FAQ
The elizabeththomas package is an npm package associated with the tea.xyz token reward campaign, designed to automate token rewards.
The vulnerability can lead to unauthorized modifications in your package.json file, potentially compromising your application's integrity and security.
If you have installed the elizabeththomas package, it is crucial to uninstall it immediately and monitor for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.