Malicious Code Injection in messi-jdgssa-sffs: A Threat to npm Ecosystem
Summary
MAL-2025-160329: Malicious code in messi-jdgssa-sffs (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-jdgssa-sffs' is part of a series of malicious npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with random names, thereby inflating developer reputation scores for token rewards. The malicious nature of this package lies in its ability to alter critical files and continuously republish variants, contributing to pollution in the npm registry.
Vulnerability Detail
The vulnerability in 'messi-jdgssa-sffs' originates from its malicious payload, which modifies the package.json file by removing private flags and changing version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants. This behavior not only compromises the integrity of the npm registry but also poses a risk to developers who may unknowingly install these malicious packages, leading to potential security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall messi-jdgssa-sffs
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-jdgssa-sffs' package and replace it with a trusted alternative. Always verify the source and integrity of packages before installation. You can also use tools like Vulert to monitor your project for vulnerabilities in real-time.
Conclusion
The 'messi-jdgssa-sffs' package poses a significant threat to the npm ecosystem due to its malicious code injection capabilities. Developers must take immediate action to remove this package and implement best practices for dependency management to safeguard their applications from similar vulnerabilities.
See every vulnerability recorded for messi-jdgssa-sffs →
FAQ
The vulnerability can lead to the installation of malicious code in your application, potentially compromising security and functionality.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without needing to sign up.
Uninstall the package immediately using 'npm uninstall messi-jdgssa-sffs' and review your project for any other potentially malicious dependencies.
Yes, tools like Vulert can monitor your package-lock.json file for vulnerabilities and alert you in real-time.
Regularly update your dependencies, use trusted sources for packages, and employ security monitoring tools like Vulert to stay informed about vulnerabilities.