Malicious Code Injection in teagood-namakai70: A Threat to npm Packages
Summary
MAL-2025-167728: Malicious code in teagood-namakai70 (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-namakai70 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry, allowing developers to publish and manage packages. However, it has been identified as malicious, containing scripts that manipulate package metadata and flood the registry with derivative packages.
Vulnerability Detail
The vulnerability in teagood-namakai70 stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, which are then republished to the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also inflates developer reputation scores fraudulently, potentially leading to a loss of trust in the affected packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-namakai70
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, avoid using the teagood-namakai70 package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your npm packages to ensure that no malicious packages are included in your project.
Conclusion
The teagood-namakai70 package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. It is essential to remove this package from your projects and monitor for similar vulnerabilities using tools like Vulert.
See every vulnerability recorded for teagood-namakai70 →
FAQ
teagood-namakai70 is an npm package that has been identified as malicious, designed to manipulate package metadata and flood the npm registry.
The vulnerability can compromise the integrity of your project by introducing malicious code that alters package metadata and can lead to the publication of unwanted packages.
You should uninstall the package immediately using 'npm uninstall teagood-namakai70' and audit your project for any other potentially malicious packages.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.