Malicious Code Injection in teagood-manaki17: A Threat to npm Users
Summary
MAL-2025-167080: Malicious code in teagood-manaki17 (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-manaki17 is a package within the npm ecosystem, often associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, its functionality has been compromised by malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in teagood-manaki17 stems from the presence of malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which has flooded the npm ecosystem with similar malicious packages. The ramifications include potential security risks for developers and users, as well as the degradation of the npm registry's integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-manaki17
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 measure, avoid using the teagood-manaki17 package and consider using alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which analyzes your package-lock.json file for real-time alerts on open-source vulnerabilities.
Conclusion
The teagood-manaki17 package poses a significant security risk due to its malicious code that alters package metadata and pollutes the npm registry. It is crucial for developers to uninstall this package and monitor their projects for vulnerabilities using tools like Vulert to ensure the integrity of their applications.
See every vulnerability recorded for teagood-manaki17 →
FAQ
teagood-manaki17 is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and the pollution of the npm registry.
You should uninstall the package immediately using 'npm uninstall teagood-manaki17' and monitor your project for any further vulnerabilities.
Yes, you can use Vulert to monitor your package-lock.json file for vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.