Malicious Code Exploit in teagood-manaki82 Package: npm Vulnerability Overview
Summary
MAL-2025-167151: Malicious code in teagood-manaki82 (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-manaki82 package is part of a broader campaign associated with the tea.xyz token reward system, which has been known to flood the npm registry with numerous packages. These packages are designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The malicious nature of this package lies in its ability to alter critical files and continuously pollute the npm registry.
Vulnerability Detail
The vulnerability in the teagood-manaki82 package stems from its malicious code, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is part of a scheme to inflate developer reputation scores for token rewards, leading to potential pollution of the npm registry and compromising the integrity of the ecosystem. The package employs scripts such as auto.js and autopublish.js to automate this process, making it a significant threat to developers relying on npm packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-manaki82
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 measure, you can prevent the installation of this malicious package by using npm's package-lock.json file to monitor dependencies. Ensure that your project does not include teagood-manaki82 by checking your package-lock.json file and removing any references to it.
Conclusion
The teagood-manaki82 package poses a significant threat due to its malicious code designed to manipulate npm registry integrity. It is essential for developers to be vigilant about their dependencies and utilize tools like Vulert to monitor for vulnerabilities. Immediate action should be taken to remove this package and ensure the security of your projects.
See every vulnerability recorded for teagood-manaki82 →
FAQ
teagood-manaki82 is an npm package that is part of a malicious campaign designed to inflate developer reputation scores through automated publishing of derivative packages.
The vulnerability can lead to the pollution of the npm registry, compromising the integrity of your project's dependencies and potentially introducing further security risks.
You should immediately uninstall the teagood-manaki82 package using npm uninstall teagood-manaki82 and review your dependencies for any other malicious packages.
Yes, you can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.