Malicious Code Injection in ouvhww-devapptea Package
Summary
MAL-2025-106855: Malicious code in ouvhww-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 ouvhww-devapptea package is part of the tea.xyz token reward campaign, which has been known to flood the npm registry with various packages. This package is designed to facilitate token rewards for developers by automatically generating and publishing derivative packages. However, it has been compromised to include malicious scripts that can manipulate package metadata.
Vulnerability Detail
The vulnerability in the ouvhww-devapptea package arises from the inclusion of malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the pollution of the npm registry. The malicious payload is designed to inflate developer reputation scores through the automatic publication of these derivative packages, which can have significant ramifications for the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ouvhww-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 prevent the installation of the ouvhww-devapptea package by using npm's package-lock.json to monitor dependencies. You can also use the following command to uninstall the package if it is already installed: npm uninstall ouvhww-devapptea.
Conclusion
The ouvhww-devapptea package contains malicious code that poses a significant risk to developers and the npm ecosystem. It is crucial to remove this package from your projects and to remain vigilant about the packages you use. Utilizing tools like Vulert can help in monitoring and managing open-source vulnerabilities effectively.
See every vulnerability recorded for ouvhww-devapptea →
FAQ
The ouvhww-devapptea package is part of a token reward campaign that aims to incentivize developers through automatic package generation and publication.
The malicious code can alter your project's package.json file, potentially leading to unintended consequences such as the publication of unauthorized packages and the compromise of your project's integrity.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By using the Vulert playground, you can check if your application is affected without any signup.
If you have installed the ouvhww-devapptea package, it is advisable to uninstall it immediately using the command: npm uninstall ouvhww-devapptea.
To prevent similar vulnerabilities, regularly audit your dependencies, use tools like Vulert for monitoring, and be cautious when installing packages from unknown sources.