Malicious Code Injection in teagood-manaki97: A Threat to npm Ecosystem
Summary
MAL-2025-167167: Malicious code in teagood-manaki97 (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 package 'teagood-manaki97' 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 by automatically generating and publishing derivative packages with randomized names. This behavior not only compromises the integrity of the npm ecosystem but also poses a risk to developers who may unknowingly use these packages.
Vulnerability Detail
The vulnerability in 'teagood-manaki97' originates from its malicious code that modifies the package.json file to remove private flags and changes version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This can lead to a significant increase in the number of untrustworthy packages, making it difficult for developers to find reliable dependencies and potentially exposing their applications to further vulnerabilities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-manaki97
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-manaki97' package and look for alternative packages that provide similar functionality without the associated risks. Always verify the source and reputation of any npm package before installation.
Conclusion
The 'teagood-manaki97' package poses a significant risk to developers and the npm ecosystem due to its malicious behavior. It is crucial to remove this package from your projects and stay vigilant about the packages you use. Regularly updating your dependencies and utilizing tools like Vulert can help you maintain a secure development environment.
See every vulnerability recorded for teagood-manaki97 →
FAQ
The 'teagood-manaki97' package is part of a malicious campaign that floods the npm registry with untrustworthy packages designed to inflate developer reputation scores.
Using the 'teagood-manaki97' package can compromise your project's integrity by introducing malicious code that modifies your package.json and pollutes the npm registry.
If you have installed 'teagood-manaki97', you should uninstall it immediately using 'npm uninstall teagood-manaki97' and check for any other affected packages.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can check your application for vulnerabilities using the Vulert playground without any signup.
Yes, you should look for alternative packages that provide similar functionality but are verified and trusted within the npm community.