Malicious Code Injection in messi-itue-miga: A Threat to npm Ecosystem
Summary
MAL-2025-160325: Malicious code in messi-itue-miga (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 package 'messi-itue-miga' is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and deployment of applications by providing reusable code. However, it has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages that can harm developers' reputations and the integrity of the registry.
Vulnerability Detail
The vulnerability in 'messi-itue-miga' originates from its involvement in the tea.xyz token reward campaign, which has been linked to the distribution of malicious packages on npm. These packages contain scripts that automatically modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, leading to potential security breaches 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 messi-itue-miga
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 avoid using the 'messi-itue-miga' package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity of packages before installation.
Conclusion
The 'messi-itue-miga' package poses a significant threat due to its malicious code designed to exploit the npm ecosystem. It is essential for developers to be vigilant, regularly update their dependencies, and utilize tools like Vulert to safeguard their applications against such vulnerabilities.
See every vulnerability recorded for messi-itue-miga →
FAQ
The main issue is that it contains malicious code that modifies package.json files and floods the npm registry with derivative packages.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without requiring any signup.
You should uninstall the 'messi-itue-miga' package immediately using 'npm uninstall messi-itue-miga' and check your project for any other compromised packages.
Yes, using this package can lead to security breaches, loss of developer reputation, and potential damage to the integrity of the npm registry.
Regularly update your dependencies, use tools like Vulert to monitor for vulnerabilities, and carefully review packages before installation.