Malicious Code Injection in chvyuw-devapp: A Threat to npm Users
Summary
MAL-2025-100414: Malicious code in chvyuw-devapp (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 chvyuw-devapp is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores. Its functionality is compromised due to the presence of malicious scripts that alter package metadata and republish variants, leading to potential pollution of the npm registry.
Vulnerability Detail
The vulnerability in chvyuw-devapp stems from its malicious code that modifies the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior is intended to create numerous derivative packages that can clutter the npm registry and exploit the reputation system for token rewards. The origin of this vulnerability is linked to the tea.xyz campaign, which has been identified as a source of malicious npm packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall chvyuw-devapp
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 chvyuw-devapp package from your project by executing the command: 'npm uninstall chvyuw-devapp'. This will prevent any malicious behavior associated with the package until a fix is applied.
Conclusion
The chvyuw-devapp package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with derivative packages. It is crucial for developers to take immediate action by updating or removing the package and to implement monitoring solutions like Vulert to stay informed about potential vulnerabilities.
See every vulnerability recorded for chvyuw-devapp →
FAQ
chvyuw-devapp is an npm package that is part of a token reward campaign and is designed to generate and publish derivative packages automatically.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project's dependencies.
You should uninstall the package immediately and check for any updates or patches that may address the vulnerability.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly update your packages, monitor for vulnerabilities using tools like Vulert, and review package dependencies for any known issues.