Malicious Code Detected in dvehxm-devapptea Package - npm Vulnerability
Summary
MAL-2025-101824: Malicious code in dvehxm-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 dvehxm-devapptea package is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with malicious packages. These packages often contain scripts designed to manipulate npm registry entries, inflate developer reputation scores, and publish derivative packages with randomized names. This behavior poses significant risks to developers and users relying on npm for secure package management.
Vulnerability Detail
The vulnerability in the dvehxm-devapptea package 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 pollution of the npm registry. The malicious payload can compromise the integrity of the npm ecosystem, potentially allowing for the distribution of harmful code under the guise of legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dvehxm-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 workaround, you can avoid using the dvehxm-devapptea package altogether. If it is already in use, consider removing it from your package.json and running npm install to clean up your dependencies.
Conclusion
The dvehxm-devapptea package poses a significant security risk due to its malicious code designed to manipulate npm registry entries. It is crucial for developers to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your open-source dependencies.
See every vulnerability recorded for dvehxm-devapptea →
FAQ
dvehxm-devapptea is an npm package associated with the tea.xyz token reward campaign, known for flooding the npm registry with malicious packages.
This vulnerability can compromise the integrity of your project by introducing malicious code and polluting the npm registry with harmful packages.
If you have installed the dvehxm-devapptea package, it is advisable to remove it immediately and monitor your project for any unusual behavior.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.
Regularly audit your dependencies using tools like npm audit, and stay updated on security advisories related to the packages you use.