Malicious Code Injection in tea-osss-miuyt Package: A Threat to npm Users
Summary
MAL-2025-166698: Malicious code in tea-osss-miuyt (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 tea-osss-miuyt package is part of the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages are designed to inflate developer reputation scores through automated publishing of derivative packages with randomized names. The malicious behavior of this package poses a significant risk to developers and users relying on npm for package management.
Vulnerability Detail
The vulnerability in the tea-osss-miuyt package stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random Indonesian-themed package names. This behavior is intended to continuously republish variants, polluting the npm registry and potentially compromising the integrity of other packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms for nefarious purposes.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tea-osss-miuyt
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 avoid using the tea-osss-miuyt package and monitor your package-lock.json file for any unauthorized changes. Regularly audit your dependencies using 'npm audit' to identify and address vulnerabilities.
Conclusion
The tea-osss-miuyt package poses a serious threat due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their dependencies to maintain the integrity of their projects.
See every vulnerability recorded for tea-osss-miuyt →
FAQ
The tea-osss-miuyt package is part of a malicious campaign that aims to inflate developer reputation scores by flooding the npm registry with derivative packages.
The malicious code modifies your package.json file, potentially exposing your project to further vulnerabilities and compromising its integrity.
You should uninstall the tea-osss-miuyt package immediately using 'npm uninstall tea-osss-miuyt' and check for any unauthorized changes in your project.
You can use tools like Vulert, which monitors and alerts you in real-time for open-source vulnerabilities in your software by analyzing your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.