Malicious Code Injection in teagood-manaki84: A Threat to npm Packages
Summary
MAL-2025-167153: Malicious code in teagood-manaki84 (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-manaki84 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 functionality that modifies package metadata and repackages itself under random names, contributing to npm registry pollution.
Vulnerability Detail
The vulnerability in teagood-manaki84 stems from its malicious code that alters the package.json file by removing private flags and changing version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants. This behavior not only inflates developer reputation scores but also compromises the integrity of the npm registry, potentially leading to security risks for users who unknowingly install these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-manaki84
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-manaki84 package and any of its derivatives. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The teagood-manaki84 package poses a significant risk due to its malicious code that alters package metadata and contributes to npm registry pollution. It is crucial for developers to remove this package and monitor their projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for teagood-manaki84 →
FAQ
The primary issue is that it contains malicious code that modifies package metadata and repackages itself, leading to npm registry pollution.
You can check your package.json and package-lock.json files for any references to teagood-manaki84.
You should remove the package from your project and monitor for any updates or patches that may be released.
Yes, tools like Vulert can help monitor your package-lock.json for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without any signup.