Malicious Code Injection in messi-tueda-ghfz Package - npm Vulnerability
Summary
MAL-2025-160362: Malicious code in messi-tueda-ghfz (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 messi-tueda-ghfz package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores for token rewards, posing significant risks to users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the messi-tueda-ghfz package originates from its design to include malicious scripts that modify the package.json file. These scripts remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of these variants. This behavior can pollute the npm registry, compromise the security of applications relying on this package, and potentially allow for further exploitation by malicious actors.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall messi-tueda-ghfz
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-tueda-ghfz package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your npm packages to identify and remove any suspicious or untrusted packages.
Conclusion
The messi-tueda-ghfz package poses a significant security risk due to its malicious code designed to manipulate package metadata and pollute the npm registry. Users are advised to uninstall this package and monitor their dependencies for similar vulnerabilities. Utilizing tools like Vulert can help in maintaining the security of your applications.
See every vulnerability recorded for messi-tueda-ghfz →
FAQ
The messi-tueda-ghfz package is an npm package that is part of a malicious campaign to inflate developer reputation scores through the creation of derivative packages.
This vulnerability can compromise the integrity of your application by introducing malicious code that alters package metadata and potentially allows for further exploitation.
If you have installed the messi-tueda-ghfz package, you should uninstall it immediately using 'npm uninstall messi-tueda-ghfz' and audit your project for other potentially malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities. You can also check your application against known vulnerabilities using the Vulert playground.
There is no patch for the messi-tueda-ghfz package due to its malicious nature. The best course of action is to remove the package entirely.