Malicious Code Injection in teagood-manaki45 Package - npm Vulnerability
Summary
MAL-2025-167111: Malicious code in teagood-manaki45 (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-manaki45 package is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to automate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. This behavior makes the package susceptible to malicious exploitation.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the teagood-manaki45 package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to the continuous republishing of these variants. The malicious payload aims to pollute the npm registry and can potentially compromise the integrity of dependent projects, leading to security risks and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall teagood-manaki45
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 prevent the installation of the vulnerable package by using npm's package-lock.json to monitor dependencies. Ensure that your package-lock.json does not include teagood-manaki45. You can also use Vulert to monitor your application for vulnerabilities in real-time without requiring access to the code or installation.
Conclusion
The teagood-manaki45 package contains malicious code that poses a significant risk to projects using it. Immediate action is required to remove the package and monitor for further vulnerabilities. Utilizing tools like Vulert can help maintain the security of your application.
See every vulnerability recorded for teagood-manaki45 →
FAQ
teagood-manaki45 is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation of derivative packages.
The malicious code modifies your package.json, removes private flags, and can lead to the continuous republishing of variants, compromising the integrity of your project.
You should uninstall the teagood-manaki45 package immediately using 'npm uninstall teagood-manaki45' and monitor your project for any further vulnerabilities.
Yes, you can use Vulert to monitor your application for open-source vulnerabilities in real-time by analyzing your package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.