Malicious Code Injection in teagood-manaki27: A Threat to npm Users
Summary
MAL-2025-167091: Malicious code in teagood-manaki27 (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-manaki27 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the distribution of token rewards through various scripts. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in teagood-manaki27 originates from its inclusion in a campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only inflates developer reputation scores but also pollutes the npm registry, potentially leading to security risks for users who unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-manaki27
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-manaki27 package and consider using alternative packages that do not have known vulnerabilities. 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 discovery of malicious code in the teagood-manaki27 package highlights the importance of vigilance in managing dependencies in software projects. Users are advised to remove the affected package and monitor their projects for vulnerabilities to maintain security.
See every vulnerability recorded for teagood-manaki27 →
FAQ
teagood-manaki27 is an npm package associated with the tea.xyz token reward campaign, designed to distribute token rewards through automated scripts.
The malicious code modifies your package.json file, potentially exposing your project to security risks and polluting the npm registry with unwanted packages.
If you have installed teagood-manaki27, you should uninstall it immediately using 'npm uninstall teagood-manaki27' and check for any other affected packages.
Yes, you can use Vulert to monitor your project for vulnerabilities by analyzing your package-lock.json file. This service provides real-time alerts 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 needing to sign up.