Malicious Code Injection in teagood-namakai29: A Threat to npm Users
Summary
MAL-2025-167682: Malicious code in teagood-namakai29 (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-namakai29 is an npm package that is part of a broader campaign involving the tea.xyz token reward system. This package, like others in the campaign, is designed to manipulate the npm registry by creating and publishing numerous derivative packages with randomized names. Its primary function is to inflate developer reputation scores for token rewards, but this behavior poses significant risks to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in teagood-namakai29 stems from its malicious code that 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 clutter the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also can lead to unintentional installations of malicious packages by developers unaware of the underlying issues.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-namakai29
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-namakai29 package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your package dependencies using tools like npm audit to identify and mitigate potential vulnerabilities.
Conclusion
The teagood-namakai29 package poses a significant threat to npm users due to its malicious code that modifies package metadata and floods the npm registry with unwanted packages. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain the security of your projects.
See every vulnerability recorded for teagood-namakai29 →
FAQ
teagood-namakai29 is an npm package involved in a campaign that aims to inflate developer reputation scores for token rewards by publishing numerous derivative packages.
The vulnerability can lead to the installation of malicious packages, which may compromise your project's security and integrity.
You should uninstall the package immediately using 'npm uninstall teagood-namakai29' and check for any other affected packages.
Yes, 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 use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.