Malicious Code Exploit in accessible_silkworm-tool: npm Package Vulnerability
Summary
MAL-2025-99085: Malicious code in accessible_silkworm-tool (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 accessible_silkworm-tool is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate certain functionalities within the npm ecosystem. However, it has been compromised, leading to significant security concerns. The vulnerability allows for the automatic generation and publication of malicious derivative packages, which can severely impact developers and the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the accessible_silkworm-tool package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which are often themed around Indonesian culture. The malicious scripts are designed to continuously republish these variants, effectively polluting the npm registry and inflating developer reputation scores for the tea protocol token rewards. This poses a risk not only to the developers using this package but also to the broader npm ecosystem, as it can lead to the proliferation of untrustworthy packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall accessible_silkworm-tool
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 accessible_silkworm-tool package from your project by executing the following command: npm uninstall accessible_silkworm-tool. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The accessible_silkworm-tool package has been identified as containing malicious code that poses a significant risk to developers and the npm ecosystem. It is essential to take immediate action by updating or removing the package to safeguard your projects. Utilizing tools like Vulert can help you stay informed about vulnerabilities in your dependencies.
See every vulnerability recorded for accessible_silkworm-tool →
FAQ
The accessible_silkworm-tool is an npm package that was part of a token reward campaign but has been compromised to include malicious code.
The vulnerability can lead to the automatic generation of malicious packages, potentially compromising your project's integrity and security.
You should uninstall the package immediately and monitor for any updates or patches that may be released.
Yes, you can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for any open-source vulnerabilities.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.