Malicious Code Injection in messi-sfaa-sffs Package
Summary
MAL-2025-160340: Malicious code in messi-sfaa-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 messi-sfaa-sffs package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores in exchange for token rewards. However, it has been identified to contain malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the messi-sfaa-sffs package stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants that pollute the npm registry, potentially affecting other developers and users by cluttering the ecosystem with untrustworthy packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall messi-sfaa-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 remove the messi-sfaa-sffs package from your project by executing the command: 'npm uninstall messi-sfaa-sffs'. This will prevent any malicious code from executing in your environment.
Conclusion
The messi-sfaa-sffs package contains a significant vulnerability that can compromise the integrity of the npm registry. It is crucial to take immediate action by updating or removing the package to protect your project from potential risks. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for messi-sfaa-sffs →
FAQ
The messi-sfaa-sffs package is an npm package associated with the tea.xyz token reward campaign, designed to automate the publication of derivative packages.
The vulnerability can lead to the pollution of the npm registry with untrustworthy packages, potentially affecting your project's dependencies and overall security.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. You can check your application for vulnerabilities using the Vulert playground without any signup.
If you cannot update the package, it is advisable to remove it from your project to mitigate any risks associated with the vulnerability.
Regularly audit your dependencies, keep your packages updated, and utilize tools like Vulert to monitor for vulnerabilities in real-time.