Malicious Code Injection in messi-tuda-sdf Package - npm Vulnerability
Summary
MAL-2025-160352: Malicious code in messi-tuda-sdf (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-tuda-sdf package is part of a broader ecosystem within the npm registry, often associated with token reward campaigns. These packages are designed to automate the generation and publication of derivative packages, which can inflate developer reputation scores. However, this functionality has been exploited to introduce malicious code that modifies package configurations and floods the npm registry with harmful variants.
Vulnerability Detail
This vulnerability originates from the messi-tuda-sdf package, which is linked to a campaign that utilizes autopublish scripts to create and publish numerous derivative packages with randomized names. The malicious payload alters the package.json file by removing private flags, changing version numbers, and generating random Indonesian-themed package names. This behavior not only compromises the integrity of the npm registry but also poses a risk to developers who may unknowingly incorporate these malicious packages into their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall messi-tuda-sdf
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 messi-tuda-sdf package from your project by executing the following command: npm uninstall messi-tuda-sdf. This will prevent any potential exploitation until a secure version is released.
Conclusion
The messi-tuda-sdf package poses a significant security risk due to its malicious code injection capabilities. It is crucial for developers to remain vigilant, regularly update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities in real-time.
See every vulnerability recorded for messi-tuda-sdf →
FAQ
The messi-tuda-sdf package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated publishing of derivative packages.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
If you have installed the messi-tuda-sdf package, it is recommended to uninstall it immediately and monitor for any updates or patches.
Yes, you can use Vulert, a tool that monitors open-source vulnerabilities in your software. You can check your application without any signup using the Vulert playground at Vulert Scanner.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated on security advisories related to the packages you use.