Malicious Code Injection in teagood-manaki91 Package - npm Vulnerability
Summary
MAL-2025-167161: Malicious code in teagood-manaki91 (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-manaki91 package is part of the tea.xyz token reward campaign that has recently flooded the npm ecosystem. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. The malicious nature of this package lies in its ability to modify key files and continuously republish variants, contributing to pollution in the npm registry.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the teagood-manaki91 package. This payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names, primarily themed around Indonesian culture. The continuous republishing of these variants can lead to a polluted npm registry, affecting developers and users by making it difficult to find legitimate packages. The malicious scripts (auto.js, autopublish.js, etc.) are designed to automate this process, posing a significant risk to 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 teagood-manaki91
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-manaki91 package and instead look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file for any unauthorized changes.
Conclusion
The teagood-manaki91 package poses a significant risk due to its malicious code that modifies essential files and repopulates the npm registry with potentially harmful variants. It is crucial for developers to uninstall this package and monitor their projects for any unauthorized changes. Utilizing tools like Vulert can help maintain the integrity of your software by providing real-time vulnerability alerts.
See every vulnerability recorded for teagood-manaki91 →
FAQ
teagood-manaki91 is a package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages to inflate developer reputation scores.
The malicious code modifies your package.json file, removes private flags, and continuously republishes variants, which can lead to a polluted npm registry and potential security risks.
You should uninstall the teagood-manaki91 package immediately using 'npm uninstall teagood-manaki91' and monitor your project for any unauthorized changes.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time. Vulert requires only your package-lock.json file to provide alerts.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.