Malicious Code Injection in teagood-manaki24: A Threat to npm Users
Summary
MAL-2025-167088: Malicious code in teagood-manaki24 (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
teagood-manaki24 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, it has been identified as malicious due to its ability to modify package metadata and republish variants, which can lead to reputation inflation and registry pollution.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the teagood-manaki24 package. This code is designed to automatically modify the package.json file by removing private flags, altering version numbers, and generating random package names. The continuous republishing of these variants can lead to a polluted npm registry, making it difficult for developers to find legitimate packages and potentially compromising 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-manaki24
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 workaround, you can avoid using the teagood-manaki24 package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities.
Conclusion
The teagood-manaki24 package poses a significant risk 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 projects for vulnerabilities using tools like Vulert to ensure the integrity of their software.
See every vulnerability recorded for teagood-manaki24 →
FAQ
The primary threat is the malicious code that modifies package metadata and floods the npm registry with derivative packages, which can lead to reputation inflation and registry pollution.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
If you have installed teagood-manaki24, you should uninstall it immediately using 'npm uninstall teagood-manaki24' and look for alternative packages.
Yes, Vulert is a tool that monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities in your software.
Using a compromised package can lead to security vulnerabilities, data breaches, and a polluted package registry, making it harder to find legitimate packages.