Malicious Code Injection in shared_snail-strongdev: npm Package Vulnerability
Summary
MAL-2025-108610: Malicious code in shared_snail-strongdev (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 shared_snail-strongdev package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises its integrity and the security of applications that depend on it.
Vulnerability Detail
The vulnerability originates from the malicious payload embedded within the shared_snail-strongdev package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The intent is to continuously republish these variants, polluting the npm registry and potentially leading to security risks for developers and users who inadvertently install these compromised packages. The malicious scripts are typically named auto.js, autopublish.js, autopublish2.js, and autopublish3.js.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall shared_snail-strongdev
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 shared_snail-strongdev package from your project by executing: npm uninstall shared_snail-strongdev. This will prevent the execution of any malicious code associated with the package until a secure version is available.
Conclusion
The shared_snail-strongdev package has been identified as containing malicious code that poses a significant risk to applications using it. It is crucial to take immediate action by updating or removing the package to safeguard your projects. Utilizing tools like Vulert can help in monitoring and managing open-source vulnerabilities effectively.
See every vulnerability recorded for shared_snail-strongdev →
FAQ
It is an npm package that is part of the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the installation of malicious packages that compromise the integrity of your application and may expose sensitive data.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
As a temporary measure, you can uninstall the package to prevent any malicious code from executing in your application.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest secure versions.