Malicious Code Injection in teagood-manaki26 Package
Summary
MAL-2025-167090: Malicious code in teagood-manaki26 (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-manaki26 package is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with numerous packages. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. The primary functionality of these packages is to inflate developer reputation scores in exchange for tea protocol token rewards, but they pose significant risks to the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the teagood-manaki26 package stems from its 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. This behavior can compromise the security of applications relying on these packages, potentially introducing untrusted code into production environments.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-manaki26
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 workaround, you can avoid using the teagood-manaki26 package and any other packages associated with the tea.xyz token reward campaign. Additionally, consider using tools like Vulert to monitor your project 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-manaki26 package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial to remove this package from your projects and monitor your dependencies for similar vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for teagood-manaki26 →
FAQ
teagood-manaki26 is an npm package that is part of a campaign to inflate developer reputation scores through the automatic generation and publication of derivative packages.
The malicious code modifies your package.json file, potentially introducing untrusted code and leading to security vulnerabilities in your application.
You should uninstall the teagood-manaki26 package immediately using 'npm uninstall teagood-manaki26' and review your dependencies for any other affected packages.
Yes, regularly monitor your dependencies using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.