Malicious Code Injection in dwpsxc-devapptea Package
Summary
MAL-2025-101826: Malicious code in dwpsxc-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 dwpsxc-devapptea package is part of the tea.xyz token reward campaign, which has been associated with a surge of malicious packages on the npm registry. This package is designed to facilitate token rewards through automated publishing scripts that generate derivative packages. Its functionality is compromised by a vulnerability that allows for the injection of malicious code, affecting the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in the dwpsxc-devapptea package stems from its association with a malicious campaign that 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, leading to the continuous republishing of variants that pollute the npm registry. The malicious payload can potentially compromise the security of applications relying on this package, exposing them to further attacks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dwpsxc-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 dwpsxc-devapptea package from your project by executing the following command: npm uninstall dwpsxc-devapptea. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The dwpsxc-devapptea package is compromised by a vulnerability that allows for the injection of malicious code, posing a significant risk to applications using it. Immediate action is required to update or remove the package to safeguard your software. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for dwpsxc-devapptea →
FAQ
The dwpsxc-devapptea package is part of a token reward campaign that automates the publishing of npm packages, but it has been identified as containing malicious code.
The vulnerability can compromise the integrity of your application by allowing malicious code to execute, potentially leading to security breaches.
You should immediately update or uninstall the dwpsxc-devapptea package to mitigate the risk of exploitation.
Yes, you can use Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.