Malicious Code Detected in messi-buysa-tusa: A Threat to npm Users
Summary
MAL-2025-160302: Malicious code in messi-buysa-tusa (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-buysa-tusa' is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior poses a significant risk to the integrity of the npm registry and can lead to the proliferation of malicious software.
Vulnerability Detail
The vulnerability in 'messi-buysa-tusa' originates from its association with the tea.xyz token reward campaign. The package contains scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This malicious activity can lead to the pollution of the npm registry, making it difficult for developers to trust the packages they use. The potential ramifications include unauthorized access to sensitive data, installation of malicious software, and damage to the reputation of legitimate developers.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall messi-buysa-tusa
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-buysa-tusa' package and monitor your project for any unauthorized changes. Regularly check your package.json file for any unexpected modifications.
Conclusion
The 'messi-buysa-tusa' package poses a significant threat to npm users due to its malicious behavior aimed at inflating developer reputation scores. It is crucial to remove this package from your project and take preventive measures to safeguard your dependencies. Utilizing tools like Vulert can enhance your security posture by providing real-time vulnerability alerts.
See every vulnerability recorded for messi-buysa-tusa →
FAQ
The 'messi-buysa-tusa' package is part of a malicious campaign aimed at inflating developer reputation scores through the npm registry.
This vulnerability can lead to unauthorized changes in your project, potential exposure to malicious software, and compromise the integrity of your dependencies.
If you have installed 'messi-buysa-tusa', you should uninstall it immediately using 'npm uninstall messi-buysa-tusa' and review your project for any unauthorized changes.
To prevent similar vulnerabilities, regularly audit your dependencies, use trusted packages, and consider using tools like Vulert to monitor your project for open-source vulnerabilities.
Vulert is a tool that monitors and alerts you in real-time for open-source vulnerabilities in your software. You can check if your application is affected by vulnerabilities using the Vulert playground without any signup.