Malicious Code Injection in optimistic_silkworm_dumbs Package
Summary
MAL-2025-106759: Malicious code in optimistic_silkworm_dumbs (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 optimistic_silkworm_dumbs package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards by generating and publishing derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the security of applications using it.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to clutter the npm registry. This behavior can lead to security risks, including unauthorized access to sensitive data and the potential for further exploitation within dependent applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall optimistic_silkworm_dumbs
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
If an immediate update is not feasible, consider removing the package from your project to mitigate risks. You can do this by executing: npm uninstall optimistic_silkworm_dumbs. Additionally, monitor your package-lock.json file for any unexpected changes.
Conclusion
The optimistic_silkworm_dumbs package has been identified as containing malicious code that poses significant risks to applications using it. It is crucial to update or remove the package to safeguard your project from potential exploitation.
See every vulnerability recorded for optimistic_silkworm_dumbs →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code can modify your package.json, remove private flags, and clutter the npm registry, potentially leading to security vulnerabilities.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
Consider uninstalling the package to reduce risk and monitor your package-lock.json for any unauthorized changes.
Detailed information can be found in the vulnerability report on the official GitHub repository for malicious packages.