Malicious Code Injection in teagood-manaki46 Package: A Threat to npm Users
Summary
MAL-2025-167112: Malicious code in teagood-manaki46 (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 teagood-manaki46 package is part of the tea.xyz token reward campaign that has recently inundated the npm ecosystem. This package, like others in the campaign, is designed to manipulate npm's publishing system by automatically generating and publishing derivative packages with randomized names. Its primary function is to inflate developer reputation scores in exchange for tea protocol token rewards, but this comes at the cost of security and integrity within the npm registry.
Vulnerability Detail
The vulnerability in the teagood-manaki46 package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, which leads to the continuous republishing of these variants. The result is a polluted npm registry, where legitimate packages may be overshadowed by these malicious derivatives. This vulnerability poses significant risks, including the potential for developers to unknowingly install compromised packages, leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-manaki46
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 teagood-manaki46 package altogether. If it is already included in your project, remove it using the command: 'npm uninstall teagood-manaki46'. Additionally, consider using a package-lock.json file to monitor dependencies and prevent the installation of malicious packages.
Conclusion
The teagood-manaki46 package presents a significant security risk due to its malicious code that alters package metadata and floods the npm registry with compromised packages. It is crucial for developers to stay vigilant, update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities effectively.
See every vulnerability recorded for teagood-manaki46 →
FAQ
teagood-manaki46 is a package associated with the tea.xyz token reward campaign, designed to inflate developer reputation scores through automated publishing.
The vulnerability can lead to the installation of malicious packages that may compromise your project's security and integrity.
If you have installed teagood-manaki46, it is recommended to uninstall it immediately and check for any other affected packages.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.