Malicious Code Vulnerability in mental_impala-teagooddev Package
Summary
MAL-2025-105795: Malicious code in mental_impala-teagooddev (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 mental_impala-teagooddev package is part of a token reward campaign associated with the tea.xyz protocol. It is designed to facilitate interactions within the npm ecosystem, but it has been compromised by malicious actors. This package is known for its functionality in generating and publishing derivative packages, which can inflate developer reputation scores for token rewards. However, its vulnerability exposes users to significant risks, including the potential for unauthorized modifications and pollution of the npm registry.
Vulnerability Detail
The vulnerability originates from the package's inclusion in a campaign that floods the npm registry with malicious packages. It contains scripts that automatically modify the package.json file, removing private flags and altering version numbers. Additionally, it generates random package names, often themed around Indonesian culture, and continuously republishes these variants. This behavior can lead to a polluted npm registry and may compromise the integrity of applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mental_impala-teagooddev
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 remove the mental_impala-teagooddev package from your project by executing the following command: npm uninstall mental_impala-teagooddev. This will prevent any malicious code from executing while you seek a secure alternative.
Conclusion
The mental_impala-teagooddev package has been identified as containing malicious code that can compromise applications relying on it. It is crucial for developers to take immediate action by updating or removing the package to safeguard their projects. Utilizing tools like Vulert can further enhance security by providing real-time monitoring for vulnerabilities.
See every vulnerability recorded for mental_impala-teagooddev →
FAQ
It is a package associated with the tea.xyz token reward campaign, designed to interact with the npm ecosystem.
The vulnerability can lead to unauthorized modifications of your package.json file and pollution of the npm registry, potentially compromising your application's integrity.
You should immediately update the package to the latest version or uninstall it to prevent any malicious code from executing.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring any signup.