Malicious Code Injection in teagood-manaki74 Package - npm Vulnerability
Summary
MAL-2025-167142: Malicious code in teagood-manaki74 (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-manaki74 package is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem. This package is designed to facilitate the generation and publication of derivative packages that are intended to inflate developer reputation scores in exchange for tea protocol token rewards. The package's functionality is compromised by malicious scripts that manipulate its metadata.
Vulnerability Detail
The vulnerability originates from the presence of malicious code within the teagood-manaki74 package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly install these compromised packages, potentially leading to further exploitation or misuse of their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-manaki74
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-manaki74 package and consider using alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which analyzes your package-lock.json file to alert you of any open-source vulnerabilities in real-time.
Conclusion
The teagood-manaki74 package presents a significant risk due to its malicious code that alters package metadata and repopulates the npm registry with compromised packages. It is crucial for developers to remove this package from their projects and monitor for vulnerabilities to ensure the security of their applications.
See every vulnerability recorded for teagood-manaki74 →
FAQ
teagood-manaki74 is an npm package that is part of a token reward campaign, which has been found to contain malicious code.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to further exploitation.
You should uninstall the teagood-manaki74 package immediately using 'npm uninstall teagood-manaki74' and check for any alternative packages.
You can use Vulert to monitor your package-lock.json file for open-source vulnerabilities without requiring any installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.