Malicious Code Injection in Complicated Silkworm 0xRequest Package
Summary
MAL-2025-100790: Malicious code in complicated_silkworm_0xrequest (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 Complicated Silkworm 0xRequest package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code components. However, it has been identified as part of a malicious campaign that exploits npm's publishing capabilities to inflate developer reputation scores through the creation of numerous derivative packages.
Vulnerability Detail
The vulnerability stems from malicious code embedded within the Complicated Silkworm 0xRequest package. This code is designed to modify the package.json file by removing private flags, altering version numbers, and generating random package names. The result is a continuous republishing of these variants, which pollutes the npm registry and can lead to significant security risks, including the potential for dependency confusion and the introduction of further vulnerabilities into dependent projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall complicated_silkworm_0xrequest
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 workaround, you can temporarily avoid using the Complicated Silkworm 0xRequest package by replacing it with an alternative package that provides similar functionality. Additionally, you can monitor your project's dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time without requiring code access.
Conclusion
The Complicated Silkworm 0xRequest package poses a significant security risk due to its malicious code that modifies project files and repopulates the npm registry with harmful variants. It is crucial for developers to remove this package and monitor their dependencies to maintain the integrity of their applications.
See every vulnerability recorded for complicated_silkworm_0xrequest →
FAQ
It is an npm package used for JavaScript development, but it has been identified as malicious.
It can lead to the introduction of malicious code, dependency confusion, and potential security breaches.
You should remove the package immediately and consider using an alternative.
Yes, you can use Vulert to monitor your package-lock.json file for vulnerabilities in real-time.
You can use the Vulert playground at Vulert Scanner to check your application without any signup.