Malicious Code Injection in teagood-manaki78 Package - npm Vulnerability
Summary
MAL-2025-167146: Malicious code in teagood-manaki78 (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 teagood-manaki78 package is part of the tea.xyz token reward campaign, which has been associated with a series of malicious npm packages. These packages are designed to inflate developer reputation scores through the automatic generation and publication of derivative packages with randomized names. The malicious behavior of this package poses a significant risk to developers and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the teagood-manaki78 package originates from its design to include autopublish scripts that modify the package.json file. This modification removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The ramifications include potential security risks for developers who unknowingly install these malicious packages, as well as damage to the reputation of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-manaki78
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-manaki78 package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your npm packages using tools like npm audit to identify and address vulnerabilities.
Conclusion
The teagood-manaki78 package poses a significant risk due to its malicious code designed to manipulate npm registry entries. Developers should take immediate action to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for teagood-manaki78 →
FAQ
teagood-manaki78 is an npm package associated with the tea.xyz token reward campaign, designed to inflate developer reputation scores through malicious practices.
The vulnerability can lead to the installation of malicious code that modifies your package.json file, potentially compromising your project's integrity and security.
If you have installed teagood-manaki78, it is crucial to uninstall it immediately and check for any dependencies that may be affected.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities. You can check your application for vulnerabilities using the Vulert playground without any signup.
To prevent vulnerabilities, regularly audit your dependencies, use trusted packages, and consider employing automated tools that monitor for known vulnerabilities.