Malicious Code Injection in mipta190-mean-cent: npm Package Vulnerability
Summary
MAL-2025-160460: Malicious code in mipta190-mean-cent (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 mipta190-mean-cent package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious scripts that compromise its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the mipta190-mean-cent 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 variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to further exploitation and security breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall mipta190-mean-cent
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, avoid using the mipta190-mean-cent package and monitor your project for any dependencies that may have been affected. You can also utilize tools like Vulert to check for vulnerabilities in your package-lock.json file. To do this, visit the Vulert playground at https://vulert.com/scanner and upload your package-lock.json file to see if your application is affected by this vulnerability.
Conclusion
The mipta190-mean-cent package has been identified as containing malicious code that compromises its integrity and poses a risk to developers. It is crucial to remove this package from your projects and monitor for any dependencies that may be affected. Utilizing tools like Vulert can help in identifying vulnerabilities in your applications.
See every vulnerability recorded for mipta190-mean-cent →
FAQ
The mipta190-mean-cent package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to security vulnerabilities and pollution of the npm registry.
You should uninstall the mipta190-mean-cent package immediately using 'npm uninstall mipta190-mean-cent' and check for any dependencies that may be affected.
Currently, there is no patched version available for the mipta190-mean-cent package. It is advisable to remove the package and monitor for updates.
You can use Vulert, which allows you to monitor and alert for open-source vulnerabilities in real-time by analyzing your package-lock.json file. Visit Vulert Scanner to check your application.