Malicious Code Injection in teagood-manaki87: A Threat to npm Users
Summary
MAL-2025-167156: Malicious code in teagood-manaki87 (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-manaki87 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 by automatically generating and publishing derivative packages. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in teagood-manaki87 originates from its design to inflate developer reputation scores through the creation of numerous derivative packages with randomized names. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants, leading to pollution of the npm registry. This can result in developers unknowingly using compromised packages, which may lead to security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-manaki87
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, avoid using the teagood-manaki87 package and consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The discovery of malicious code within the teagood-manaki87 package highlights the importance of vigilance in managing npm dependencies. By understanding the risks and taking proactive measures, developers can protect their applications from potential threats.
See every vulnerability recorded for teagood-manaki87 →
FAQ
The primary risk is that it contains malicious code that can compromise your application by modifying package.json files and republishing harmful variants.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
You should uninstall the package immediately using 'npm uninstall teagood-manaki87' and review your dependencies for any other potentially compromised packages.
Yes, there are many trusted npm packages that provide similar functionalities. Always ensure to verify the package's integrity and reputation before use.
Regularly audit your dependencies, use tools like Vulert for monitoring, and only install packages from reputable sources.