Malicious Code Injection in teagood-manaki52: A Threat to npm Ecosystem
Summary
MAL-2025-167119: Malicious code in teagood-manaki52 (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-manaki52 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in teagood-manaki52 originates from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to a significant degradation of the npm ecosystem, as it inflates the number of packages and can mislead developers regarding the legitimacy of packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-manaki52
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 affected package by not including it in your project dependencies. Additionally, consider using tools like Vulert to monitor your package-lock.json 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 discovery of malicious code in the teagood-manaki52 package highlights the importance of vigilance in the npm ecosystem. Developers should take immediate action to remove the affected package and monitor their projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for teagood-manaki52 →
FAQ
teagood-manaki52 is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code modifies your package.json file, removes private flags, and can lead to the pollution of the npm registry, potentially compromising your project's integrity.
You can remove the affected package by running 'npm uninstall teagood-manaki52' in your terminal.
Yes, you can use Vulert to monitor your package-lock.json for vulnerabilities in real-time without requiring access to your code or installation.
You can check if your application is affected by this vulnerability using the Vulert playground at Vulert Scanner without any signup.